Change CDB_ColumnNames to order columns names as in table
This commit is contained in:
parent
fd7a8cff71
commit
ef7e613d41
@ -8,7 +8,8 @@ AS $$
|
||||
WHERE table_name = _tn.relname
|
||||
AND table_schema = _sn.nspname
|
||||
AND _tn.oid = $1::oid
|
||||
AND _sn.oid = _tn.relnamespace;
|
||||
AND _sn.oid = _tn.relnamespace
|
||||
ORDER BY ordinal_position;
|
||||
|
||||
$$ LANGUAGE SQL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user