diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-01-16 18:32:32 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-01-16 18:32:32 +0000 |
commit | 09f4894154918122d1f6337eadaa0cd1a48c609e (patch) | |
tree | 14fec72cc687ebc5be2795fe20fecf8f8317652a /src/backend/executor/nodeSort.c | |
parent | 20fe8b033a5e33616a65849addc95389ca605aec (diff) | |
download | postgresql-09f4894154918122d1f6337eadaa0cd1a48c609e.tar.gz postgresql-09f4894154918122d1f6337eadaa0cd1a48c609e.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/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions