Commit 447e0ac8 authored by Benjamin Eberlei's avatar Benjamin Eberlei

[DBAL-412] Fix postgresql query

parent 3a3013c8
...@@ -269,8 +269,8 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -269,8 +269,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