Re: 'Create table if not exists as' breaks SPI_execute

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stas Kelvich <s(dot)kelvich(at)postgrespro(dot)ru>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 'Create table if not exists as' breaks SPI_execute
Date: 2016-04-12 00:07:49
Message-ID: 18071.1460419669@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Stas Kelvich <s(dot)kelvich(at)postgrespro(dot)ru> writes:
> SPI_execute assumes that CreateTableAsStmt always have completionTag == completionTag.
> But it isnt true in case of IF NOT EXISTS present.

Pushed, thanks.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-04-12 00:08:52 Re: Some other things about contrib/bloom and generic_xlog.c
Previous Message Masahiko Sawada 2016-04-12 00:04:20 Re: Support for N synchronous standby servers - take 2