aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2016-12-22 17:08:47 -0500
committerStephen Frost <sfrost@snowman.net>2016-12-22 17:08:47 -0500
commitf0f2e56ac28c05f930ca76c432d61909c9a12cdb (patch)
tree4d46344105b7ef37513bfce41e7cb08b6796822f /src/backend/executor
parent68330c8b42ade797995fb84f46af7549c041ad1e (diff)
downloadpostgresql-f0f2e56ac28c05f930ca76c432d61909c9a12cdb.tar.gz
postgresql-f0f2e56ac28c05f930ca76c432d61909c9a12cdb.zip
Use TSConfigRelationId in AlterTSConfiguration()
When we are altering a text search configuration, we are getting the tuple from pg_ts_config and using its OID, so use TSConfigRelationId when invoking any post-alter hooks and setting the object address. Further, in the functions called from AlterTSConfiguration(), we're saving information about the command via EventTriggerCollectAlterTSConfig(), so we should be setting commandCollected to true. Also add a regression test to test_ddl_deparse for ALTER TEXT SEARCH CONFIGURATION. Author: Artur Zakirov, a few additional comments by me Discussion: https://www.postgresql.org/message-id/57a71eba-f2c7-e7fd-6fc0-2126ec0b39bd%40postgrespro.ru Back-patch the fix for the InvokeObjectPostAlterHook() call to 9.3 where it was introduced, and the fix for the ObjectAddressSet() call and setting commandCollected to true to 9.5 where those changes to ProcessUtilitySlow() were introduced.
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions