Fix the order of the columns

This commit is contained in:
Javier Goizueta 2019-07-02 18:14:18 +02:00
parent d8c840d126
commit f5f18ca57c

View File

@ -21,7 +21,8 @@ AS $$
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
WHERE c.oid = src_table::oid
AND pg_catalog.pg_table_is_visible(c.oid)
);
)
ORDER BY a.attnum;
$$ LANGUAGE sql STABLE PARALLEL UNSAFE;