forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6959cb5
committed
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'towner 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 correcteddefinition.1 parent10a5e33 commit6959cb5
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
964 | 964 |
| |
965 | 965 |
| |
966 | 966 |
| |
967 |
| - | |
968 |
| - | |
969 |
| - | |
970 |
| - | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
971 | 971 |
| |
972 | 972 |
| |
973 | 973 |
| |
|
0 commit comments
Comments
(0)