postgresql/src/test
Stephen Frost e823692177 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.
2016-12-22 17:08:49 -05:00
..
examples Include <sys/select.h> where needed 2016-09-27 01:05:21 -03:00
isolation Back-patch fcff8a5751 as a bug fix. 2016-12-13 19:14:42 -06:00
locale Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
mb Revert "Fix broken multibyte regression tests." 2016-01-26 09:00:33 +09:00
modules Use TSConfigRelationId in AlterTSConfiguration() 2016-12-22 17:08:49 -05:00
perl Install TAP test infrastructure so it's available for extension testing. 2016-09-23 15:50:00 -04:00
regress Fix handling of expanded objects in CoerceToDomain and CASE execution. 2016-12-22 15:01:39 -05:00
ssl Don't share SSL_CTX between libpq connections. 2016-10-07 12:22:19 +03:00
thread Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
Makefile Install TAP test infrastructure so it's available for extension testing. 2016-09-23 15:50:00 -04:00