From: Christoph Haller <ch@rodos.fzk.de>
To: josh@agliodbs.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Request for builtin function: Double_quote
Date: Tue, 18 Jun 2002 9:35:34 METDST
Message-ID: <200206180735.JAA21303@rodos> (raw)
In-Reply-To: <200206171334.01532.josh@agliodbs.com>
Josh,
I'm not sure what you mean by 'builtin C function'.
There is one already
size_t PQescapeString (char *to, const char *from, size_t length);
Or do you mean a String Function like
substring(string [from integer] [for integer])
I would rather call it 'builtin sql function'.
Regards, Christoph
>
> Folks,
>
> 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.
>
> -Josh
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ch@rodos.fzk.de, josh@agliodbs.com
Subject: Re: Request for builtin function: Double_quote
In-Reply-To: <200206180735.JAA21303@rodos>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox