RE: [Bug Fix] ECPG: could not use some CREATE TABLE AS syntax - Mailing list pgsql-hackers

From Higuchi, Daisuke
Subject RE: [Bug Fix] ECPG: could not use some CREATE TABLE AS syntax
Date
Msg-id 1803D792815FC24D871C00D17AE95905DB49C1@g01jpexmbkw24
Whole thread Raw
In response to Re: [Bug Fix] ECPG: could not use some CREATE TABLE AS syntax  (Michael Meskes <meskes@postgresql.org>)
Responses Re: [Bug Fix] ECPG: could not use some CREATE TABLE AS syntax  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Hi, Meskes-san

> Yes, I fully understand that. However, in doing so you accept 
> statements that the backend later on rejects. The sole reason for 
> the big ecpg grammar is to prevent those cases whenever possible.

Ok, I agree with you. 

> > I also want to hear your opinion. I will change my opinion flexibly. 
> I agree that this the way to go.

I updated and attached the patch. As I show in previous post, this version is that "IF NOT EXISTS" keyword and variable
for"WITH NO DATA" are added to ecpg.trailer. 
 

Regards, 
Daisuke, Higuchi


Attachment

pgsql-hackers by date:

Previous
From: "Iwata, Aya"
Date:
Subject: RE: libpq debug log
Next
From: Dmitry Dolgov
Date:
Subject: Re: propagating replica identity to partitions