1 -- This makes sure the pg_attribute columns match the type's columns
5 SELECT pg_attribute.oid, relname, attname
6 FROM pg_class, pg_attribute, pg_type
7 WHERE pg_class.oid = attrelid AND
8 atttypid = pg_type.oid AND
12 SELECT pg_attribute.oid, relname, attname
13 FROM pg_class, pg_attribute, pg_type
14 WHERE pg_class.oid = attrelid AND
15 atttypid = pg_type.oid AND