aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-03-11 04:36:43 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-03-11 04:36:43 +0000
commite6555b436e44fc43f14b3d8c1f782fbd3924485d (patch)
treed25247408f1af6952d2ee97ba38cbe1ad710839a /src/backend/tcop/postgres.c
parent4df5c6c7195cf9382d249d6371d2c8e02d46a7ae (diff)
downloadpostgresql-e6555b436e44fc43f14b3d8c1f782fbd3924485d.tar.gz
postgresql-e6555b436e44fc43f14b3d8c1f782fbd3924485d.zip
Simplify a couple of pg_dump and psql \d queries about index constraints
by joining to pg_constraint.conindid, instead of the former technique of joining indirectly through pg_depend. This is much more straightforward and probably faster as well. I had originally desisted from changing these queries when conindid was added because I was worried about losing performance, but if we join on conrelid as well as conindid then the index on conrelid can be used when pg_constraint is large.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions