aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-06-23 23:47:39 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-06-23 23:56:20 +0300
commit631e7f6b4e0629077408d3f8caf282627765f3f0 (patch)
treedfe52d9d3e00246159d2c0d4dc4e5487e65b6456 /src/backend/utils/adt/jsonfuncs.c
parentf8ad8bd47306d4c34ab8f7cc6f38225b12f18a3c (diff)
downloadpostgresql-631e7f6b4e0629077408d3f8caf282627765f3f0.tar.gz
postgresql-631e7f6b4e0629077408d3f8caf282627765f3f0.zip
Improve tab-completion of DROP and ALTER ENABLE/DISABLE on triggers and rules.
At "DROP RULE/TRIGGER triggername ON ...", tab-complete tables that have a rule/trigger with that name. At "ALTER TABLE tablename ENABLE/DISABLE TRIGGER/RULE ...", tab-complete to rules/triggers on that table. Previously, we would tab-complete to all rules or triggers, not just those that are on that table. Also, filter out internal RI triggers from the list. You can't DROP them, and enabling/disabling them is such a rare (and dangerous) operation that it seems better to hide them. Andreas Karlsson, reviewed by Ian Barwick.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions