diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-01-16 18:32:26 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-01-16 18:32:26 +0000 |
commit | 6959cb59573975cc5b2913c0c3b97b5de5e3b56c (patch) | |
tree | 7557c0b54c5edf73dce53915666c1dbee371e8b7 /src/backend/utils/adt/numeric.c | |
parent | 10a5e3348eabc651fe89e93ec37bdbaefeba7a12 (diff) | |
download | postgresql-6959cb59573975cc5b2913c0c3b97b5de5e3b56c.tar.gz postgresql-6959cb59573975cc5b2913c0c3b97b5de5e3b56c.zip |
Fix incorrect permissions check in information_schema.key_column_usage view:
it was checking a pg_constraint OID instead of pg_class OID, resulting in
"relation with OID nnnnn does not exist" failures for anyone who wasn't
owner of the table being examined. Per bug #2848 from Laurence Rowe.
Note: for existing 8.2 installations a simple version update won't fix this;
the easiest fix is to CREATE OR REPLACE this view with the corrected
definition.
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions