Skip to content

Commit

Permalink
Fixed an issue where the query tool is unable to execute a query on P…
Browse files Browse the repository at this point in the history
…ostgres 10 and below versions. #6515
  • Loading branch information
nikhil-mohite committed Jun 30, 2023
1 parent 8600a41 commit 732bcc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WHERE
cl.relname = {{table_name|qtLiteral(conn)}} AND nsp.nspname={{table_nspname|qtLiteral(conn)}} AND
{% endif %}
attnum = ANY (
(SELECT con.conkey FROM pg_catalog.pg_class LEFT OUTER JOIN pg_catalog.pg_constraint con ON con.conrelid=rel.oid
(SELECT con.conkey FROM pg_catalog.pg_class rel LEFT OUTER JOIN pg_catalog.pg_constraint con ON con.conrelid=rel.oid
JOIN pg_catalog.pg_namespace as nsp ON nsp.oid=REL.relnamespace
AND con.contype='p' WHERE rel.relkind IN ('r','s','t') AND
{% if obj_id %}
Expand Down

0 comments on commit 732bcc2

Please sign in to comment.