pgsql: Fix _SPI_execute_plan() for CREATE TABLE IF NOT EXISTS foo AS ..

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix _SPI_execute_plan() for CREATE TABLE IF NOT EXISTS foo AS ..
Дата
Msg-id E1aplra-0002l2-UD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix _SPI_execute_plan() for CREATE TABLE IF NOT EXISTS foo AS ...

When IF NOT EXISTS was added to CREATE TABLE AS, this logic didn't get
the memo, possibly resulting in an Assert failure.  It looks like there
would have been no ill effects in a non-Assert build, though.  Back-patch
to 9.5 where the IF NOT EXISTS option was added.

Stas Kelvich

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/079013f0b7e35f2fb14cdbe2667a1d9aac4f770e

Modified Files
--------------
src/backend/executor/spi.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix _SPI_execute_plan() for CREATE TABLE IF NOT EXISTS foo AS ..
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix whitespace