Re: [HACKERS] \copy (query) delimiter syntax error - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: [HACKERS] \copy (query) delimiter syntax error
Date
Msg-id 45C6603D.8090409@dunslane.net
Whole thread Raw
In response to Re: [HACKERS] \copy (query) delimiter syntax error  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] \copy (query) delimiter syntax error
List pgsql-patches

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>
>> The consequence will be, though, that psql will accept a syntax for
>> "\copy (query) ..." that the corresponding backend command would reject
>> were we not transforming it. That strikes me as potentially confusing.
>>
>
> Perhaps.  What about plan B: remove the legacy syntax support in \copy?
> IIRC it has not been documented since 7.2, so maybe we can finally throw
> it overboard.  Thoughts?
>
>
>

I like it for 8.3 - but  maybe my present patch would be better for 8.2,
as it involves less behaviour change.

cheers

andrew

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] \copy (query) delimiter syntax error
Next
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] \copy (query) delimiter syntax error