Re: 'Create table if not exists as' breaks SPI_execute - Mailing list pgsql-hackers

From Stas Kelvich
Subject Re: 'Create table if not exists as' breaks SPI_execute
Date
Msg-id [email protected]
Whole thread Raw
In response to 'Create table if not exists as' breaks SPI_execute  (Stas Kelvich <[email protected]>)
List pgsql-hackers
> On 11 Apr 2016, at 18:41, Stas Kelvich <[email protected]> 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





pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: 2016-03 Commitfest
Next
From: Robert Haas
Date:
Subject: plan for beta1 & open issues