Stas Kelvich 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
--
Sent via pgsql-hackers
> On 11 Apr 2016, at 18:41, Stas Kelvich wrote:
>
> Hi.
>
> SPI_execute assumes that CreateTableAsStmt always have completionTag ==
> “completionTag”.
> But it isn’t true in case of ‘IF NOT EXISTS’ present.
>
>
>
Sorry, I meant completionTag == “SELECT”.
--
Stas