Fixed the sequence property is_cycled

Начиная с 10 версии это свойство ошибочно всегда определялось как false.
This commit is contained in:
lsv 2024-02-01 09:00:21 +05:00 committed by lsv
parent 075347b1c3
commit cf7314facb

View file

@ -126,7 +126,7 @@ void pgSequence::UpdateValues()
wxT(" seqmin AS \"min_value\",\n")
wxT(" seqmax AS \"max_value\",\n")
wxT(" seqincrement AS \"increment_by\",\n")
wxT(" CASE WHEN seqcycle THEN 'yes' ELSE 'no' END AS \"is_cycled\",\n")
wxT(" CASE WHEN seqcycle THEN 't' ELSE 'f' END AS \"is_cycled\",\n")
wxT(" seqcache AS \"cache_value\",\n")
wxT(" last_value, is_called")
wxT(" FROM pg_catalog.pg_sequence,")+GetQuotedFullIdentifier()+wxT(" s")