Re: [PATCHES] Double Backslash example patch - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [PATCHES] Double Backslash example patch
Date
Msg-id 3FE08E6B.2020200@dunslane.net
Whole thread Raw
In response to Re: [PATCHES] Double Backslash example patch  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: [PATCHES] Double Backslash example patch
List pgsql-hackers
Andreas Pflug wrote:

> Tom Lane wrote:
>
>>
>> I think the minimum amount of additional work that has to be done before
>> we can apply it is to teach psql's input parser about $QUOTE$ ---
>> without that, the feature is not only useless but counterproductive.
>>  
>>
> IMHO it's not useless. pgAdmin already knows that quoting scheme... 
> not yet tested, I'll have to check that patch.
>

OTOH we sure want it for psql - being able to use this in scripts fed to 
psql is very important IMNSHO.

I see that psql/mainloop.c contains this comment:
* FIXME: rewrite this whole thing with flex

Is now the time to do that? It would be a pity if substantial changes 
were made here only to be thrown away ...

cheers

andrew



pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: fsync method checking
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] pg_service.conf ignores dbname parameter