mirror of https://github.com/citusdata/citus.git
9 lines
305 B
SQL
9 lines
305 B
SQL
|
|
-- if the output of following query changes, we might need to change
|
|
-- some heap_getattr() calls to heap_deform_tuple(). This errors out in
|
|
-- postgres versions before 11.
|
|
SELECT attrelid::regclass, attname, atthasmissing, attmissingval
|
|
FROM pg_attribute
|
|
WHERE atthasmissing
|
|
ORDER BY attrelid, attname;
|