postgresql/src/test/modules/test_extensions
Tom Lane 9209e07605 Ensure commands in extension scripts see the results of preceding DDL.
Due to a missing CommandCounterIncrement() call, parsing of a non-utility
command in an extension script would not see the effects of the immediately
preceding DDL command, unless that command's execution ends with
CommandCounterIncrement() internally ... which some do but many don't.
Report by Philippe Beaudoin, diagnosis by Julien Rouhaud.

Rather remarkably, this bug has evaded detection since extensions were
invented, so back-patch to all supported branches.

Discussion: https://postgr.es/m/2cf7941e-4e41-7714-3de8-37b1a8f74dff@free.fr
2017-05-02 18:06:09 -04:00
..
expected Fix broken wait-for-previous-process-to-exit loop in regression test. 2016-12-02 17:23:54 -05:00
sql Fix broken wait-for-previous-process-to-exit loop in regression test. 2016-12-02 17:23:54 -05:00
.gitignore Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
Makefile Delete deleteWhatDependsOn() in favor of more performDeletion() flag bits. 2016-12-02 14:57:55 -05:00
test_ext1--1.0.sql Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext1.control Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext2--1.0.sql Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext2.control Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext3--1.0.sql Ensure commands in extension scripts see the results of preceding DDL. 2017-05-02 18:06:09 -04:00
test_ext3.control Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext4--1.0.sql Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext4.control Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext5--1.0.sql Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext5.control Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext6--1.0.sql In recordExtensionInitPriv(), keep the scan til we're done with it 2016-04-15 21:57:15 -04:00
test_ext6.control In recordExtensionInitPriv(), keep the scan til we're done with it 2016-04-15 21:57:15 -04:00
test_ext7--1.0--2.0.sql Fix test about ignoring extension dependencies during extension scripts. 2016-11-26 13:31:35 -05:00
test_ext7--1.0.sql Fix test about ignoring extension dependencies during extension scripts. 2016-11-26 13:31:35 -05:00
test_ext7.control Fix test about ignoring extension dependencies during extension scripts. 2016-11-26 13:31:35 -05:00
test_ext8--1.0.sql Delete deleteWhatDependsOn() in favor of more performDeletion() flag bits. 2016-12-02 14:57:55 -05:00
test_ext8.control Delete deleteWhatDependsOn() in favor of more performDeletion() flag bits. 2016-12-02 14:57:55 -05:00
test_ext_cyclic1--1.0.sql Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext_cyclic1.control Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext_cyclic2--1.0.sql Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00
test_ext_cyclic2.control Add CASCADE support for CREATE EXTENSION. 2015-10-03 18:23:40 +02:00