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