Re: [SQL] Request for builtin function: Double_quote - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [SQL] Request for builtin function: Double_quote
Date
Msg-id 26287.1024411733@sss.pgh.pa.us
Whole thread Raw
In response to Request for builtin function: Double_quote  (Josh Berkus <josh@agliodbs.com>)
Responses Re: [SQL] Request for builtin function: Double_quote  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> Given the amount of qoute nesting we do in Postgres, I thought that we need a 
> function that handles automatic doubling of quotes within strings.   I've 
> written one in PL/pgSQL (below).  I'd really love to see this turned into a 
> builtin C function.

What does this do that isn't already done by quote_literal?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PERFORM effects FOUND patch (Was: [GENERAL] I must be
Next
From: Tom Lane
Date:
Subject: Re: SetQuerySnapshot, once again