Commit 5fc5d296 authored by Benjamin Eberlei's avatar Benjamin Eberlei

[DBAL-412] Fix postgresql query

parent 0f05b757
...@@ -295,8 +295,8 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -295,8 +295,8 @@ class PostgreSqlPlatform extends AbstractPlatform
t.typname AS type, t.typname AS type,
format_type(a.atttypid, a.atttypmod) AS complete_type, format_type(a.atttypid, a.atttypmod) AS complete_type,
(SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type, (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
(SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2 (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM
WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type, pg_catalog.pg_type t2 WHERE t2.typtype = 'd' AND t2.oid = a.atttypid) AS domain_complete_type,
a.attnotnull AS isnotnull, a.attnotnull AS isnotnull,
(SELECT 't' (SELECT 't'
FROM pg_index FROM pg_index
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment