Make relhasrules and relhastriggers work like relhasindex, namely we let
Tom Lane <tgl@sss.pgh.pa.us>
Make relhasrules and relhastriggers work like relhasindex, namely we let VACUUM reset them to false rather than trying to clean 'em up during DROP.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +8 −1 |
| src/backend/commands/analyze.c | modified | +5 −7 |
| src/backend/commands/vacuum.c | modified | +26 −7 |
| src/backend/commands/vacuumlazy.c | modified | +6 −9 |
| src/backend/rewrite/rewriteRemove.c | modified | +8 −16 |
| src/backend/utils/cache/relcache.c | modified | +12 −1 |
| src/include/commands/vacuum.h | modified | +2 −2 |