[COMMITTERS] pgsql: Fix pg_dump's handling of event triggers.

2017-07-22 Thread Tom Lane
Fix pg_dump's handling of event triggers. pg_dump with the --clean option failed to emit DROP EVENT TRIGGER commands for event triggers. In a closely related oversight, it also did not emit ALTER OWNER commands for event triggers. Since only superusers can create event triggers, the latter oversi

[COMMITTERS] pgsql: Fix pg_dump's handling of event triggers.

2017-07-22 Thread Tom Lane
Fix pg_dump's handling of event triggers. pg_dump with the --clean option failed to emit DROP EVENT TRIGGER commands for event triggers. In a closely related oversight, it also did not emit ALTER OWNER commands for event triggers. Since only superusers can create event triggers, the latter oversi

[COMMITTERS] pgsql: Fix pg_dump's handling of event triggers.

2017-07-22 Thread Tom Lane
Fix pg_dump's handling of event triggers. pg_dump with the --clean option failed to emit DROP EVENT TRIGGER commands for event triggers. In a closely related oversight, it also did not emit ALTER OWNER commands for event triggers. Since only superusers can create event triggers, the latter oversi

[COMMITTERS] pgsql: Fix pg_dump's handling of event triggers.

2017-07-22 Thread Tom Lane
Fix pg_dump's handling of event triggers. pg_dump with the --clean option failed to emit DROP EVENT TRIGGER commands for event triggers. In a closely related oversight, it also did not emit ALTER OWNER commands for event triggers. Since only superusers can create event triggers, the latter oversi

[COMMITTERS] pgsql: Fix pg_dump's handling of event triggers.

2017-07-22 Thread Tom Lane
Fix pg_dump's handling of event triggers. pg_dump with the --clean option failed to emit DROP EVENT TRIGGER commands for event triggers. In a closely related oversight, it also did not emit ALTER OWNER commands for event triggers. Since only superusers can create event triggers, the latter oversi

[COMMITTERS] pgsql: Improve comments about partitioned hash table freelists.

2017-07-22 Thread Tom Lane
Improve comments about partitioned hash table freelists. While I couldn't find any live bugs in commit 44ca4022f, the comments seemed pretty far from adequate; in particular it was not made plain that "borrowing" entries from other freelists is critical for correctness. Try to improve the commenta

[COMMITTERS] pgsql: Update expected results for collate.linux.utf8 regression test.

2017-07-22 Thread Tom Lane
Update expected results for collate.linux.utf8 regression test. I believe this changed as a consequence of commit 54baa4813: trying to clone the "C" collation now produces a true clone with collencoding -1, hence the error message if it's duplicate no longer specifies an encoding. Per buildfarm m