Fix the order of the columns
This commit is contained in:
@@ -21,7 +21,8 @@ AS $$
|
|||||||
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
|
||||||
WHERE c.oid = src_table::oid
|
WHERE c.oid = src_table::oid
|
||||||
AND pg_catalog.pg_table_is_visible(c.oid)
|
AND pg_catalog.pg_table_is_visible(c.oid)
|
||||||
);
|
)
|
||||||
|
ORDER BY a.attnum;
|
||||||
$$ LANGUAGE sql STABLE PARALLEL UNSAFE;
|
$$ LANGUAGE sql STABLE PARALLEL UNSAFE;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user