Re: Request for builtin function: Double_quote

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: pgsql-sql(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Request for builtin function: Double_quote
Date: 2002-06-18 14:48:53
Message-ID: 26287.1024411733@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Josh Berkus <josh(at)agliodbs(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-06-18 14:52:53 Re: Roadmap for a Win32 port
Previous Message Tom Lane 2002-06-18 14:45:12 Re: FATAL 2: InitRelink(logfile 0 seg 173) failed: No such file or directory

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2002-06-18 15:49:33 Re: Request for builtin function: Double_quote
Previous Message Achilleus Mantzios 2002-06-18 13:24:56 Re: function text_ge(text, text), how to use on version 7.2