Re: Request for builtin function: Double_quote

From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
To: josh(at)agliodbs(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Request for builtin function: Double_quote
Date: 2002-06-18 09:35:34
Message-ID: 200206180735.JAA21303@rodos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

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
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2002-06-18 13:14:01 ECPG won't compile anymore
Previous Message Michael Meskes 2002-06-18 06:16:14 Re: PostGres Doubt

Browse pgsql-sql by date

  From Date Subject
Next Message juerg.rietmann 2002-06-18 12:08:13 function text_ge(text, text), how to use on version 7.2
Previous Message Ulrich Sprick 2002-06-18 08:11:38 Re: Limiting database size