mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-27 03:00:22 -06:00
Fix sequence reverse engineered SQL generation with quoted names on PG/EPAS 10+. Fixes #4470
This commit is contained in:
parent
f4453e33cc
commit
0b82a4ad92
@ -44,3 +44,4 @@ Bug fixes
|
||||
| `Issue #4446 <https://redmine.postgresql.org/issues/4446>`_ - Use ROLE consistently when generating RE-SQL for roles, not USER.
|
||||
| `Issue #4450 <https://redmine.postgresql.org/issues/4450>`_ - Fix reverse engineered sql for Foreign Data Wrapper created on EPAS server in redwood mode.
|
||||
| `Issue #4462 <https://redmine.postgresql.org/issues/4462>`_ - Fix some minor UI issues on IE11.
|
||||
| `Issue #4469 <https://redmine.postgresql.org/issues/4469>`_ - Fix sequence reverse engineered SQL generation with quoted names on PG/EPAS 10+.
|
@ -8,4 +8,4 @@ SELECT
|
||||
seqincrement AS increment_by,
|
||||
is_called
|
||||
FROM pg_sequence, {{ conn|qtIdent(data.schema) }}.{{ conn|qtIdent(data.name) }}
|
||||
WHERE seqrelid = '{{ conn|qtIdent(data.schema) }}.{{ conn|qtIdent(data.name) }}'::regclass
|
||||
WHERE seqrelid = {{data.oid}}
|
||||
|
Loading…
Reference in New Issue
Block a user