Hi.
SPI_execute assumes that CreateTableAsStmt always have completionTag == “completionTag”.
But it isn’t true in case of ‘IF NOT EXISTS’ present.
--
Stas Kelvich
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company
> On 11 Apr 2016, at 18:41, Stas Kelvich <s.kelvich@postgrespro.ru> wrote:
>
> Hi.
>
> SPI_execute assumes that CreateTableAsStmt always have completionTag == “completionTag”.
> But it isn’t true in case of ‘IF NOT EXISTS’ present.
>
>
> <spi-cta.patch>
Sorry, I meant completionTag == “SELECT”.
--
Stas Kelvich
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company
Stas Kelvich <s.kelvich@postgrespro.ru> writes:
> SPI_execute assumes that CreateTableAsStmt always have completionTag == “completionTag”.
> But it isn’t true in case of ‘IF NOT EXISTS’ present.
Pushed, thanks.
regards, tom lane
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.