Don't read consrc we are not using it and version 12 doesn't have it.

This commit is contained in:
eelke 2019-08-10 18:09:14 +02:00
parent 70b842597c
commit 2ceea4b577
2 changed files with 2 additions and 3 deletions

View file

@ -9,7 +9,7 @@ SELECT oid, conname, connamespace, contype, condeferrable,
condeferred, convalidated, conrelid, contypid, conindid,
confrelid, confupdtype, confdeltype, confmatchtype,
conislocal, coninhcount, connoinherit, conkey, confkey,
conpfeqop, conppeqop, conffeqop, conexclop, conbin, consrc,
conpfeqop, conppeqop, conffeqop, conexclop, conbin,
pg_get_constraintdef(oid)
FROM pg_constraint)__";
@ -35,7 +35,7 @@ PgConstraint PgConstraintContainer::loadElem(const Pgsql::Row &row)
>> v.frelid >> v.fupdtype >> v.fdeltype >> v.fmatchtype
>> v.islocal >> v.inhcount >> v.noinherit
>> v.key >> v.fkey >> v.pfeqop >> v.ppeqop >> v.ffeqop >> v.exclop
>> v.bin >> v.src >> v.definition;
>> v.bin >> v.definition;
return v;
}