diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-08 23:23:00 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-08 23:23:00 +0000 |
commit | 0d05eb671e7110c7241a690f09380e4c80761dd5 (patch) | |
tree | e385649cfc37fea10ce2e25ab7df4311f613d864 /src/backend/commands/variable.c | |
parent | 5b860028f1e684ebbf5363eceeaf618be7cd42e6 (diff) | |
download | postgresql-0d05eb671e7110c7241a690f09380e4c80761dd5.tar.gz postgresql-0d05eb671e7110c7241a690f09380e4c80761dd5.zip |
If an index depends on no columns of its table, give it a dependency on the
whole table instead, to ensure that it goes away when the table is dropped.
Per bug #3723 from Sam Mason.
Backpatch as far as 7.4; AFAICT 7.3 does not have the issue, because it doesn't
have general-purpose expression indexes and so there must be at least one
column referenced by an index.
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions