Re: [HACKERS] \copy (query) delimiter syntax error

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-hackers(at)postgresql(dot)org, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] \copy (query) delimiter syntax error
Date: 2007-02-04 22:37:49
Message-ID: 45C6603D.8090409@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Warren Turkal 2007-02-05 03:36:05 period data type
Previous Message Andrew Dunstan 2007-02-04 21:20:25 Re: [HACKERS] \copy (query) delimiter syntax error

Browse pgsql-patches by date

  From Date Subject
Next Message Markus Schiltknecht 2007-02-05 06:44:21 Re: [PATCHES] Fix "database is ready" race condition
Previous Message Andrew Dunstan 2007-02-04 21:20:25 Re: [HACKERS] \copy (query) delimiter syntax error