Re: [HACKERS] [SQL] Request for builtin function: Double_quote

2002-06-24 Thread Josh Berkus
Tom, > Done; I also added its sister function quote_ident. See the devel > docs at > http://candle.pha.pa.us/main/writings/pgsql/sgml/functions-string.html Tante Grazie. -- -Josh Berkus ---(end of broadcast)--- TIP 1: subscribe and unsubscr

Re: [HACKERS] [SQL] Request for builtin function: Double_quote

2002-06-24 Thread Tom Lane
"Josh Berkus" <[EMAIL PROTECTED]> writes: > Well, first off, quote_literal isn't in the documentation under > "Functions and Operators".So this is the first I've heard about it > -- or probably anyone else outside the core team. How long has it > been around? Awhile; however, the only docum

Re: [HACKERS] [SQL] Request for builtin function: Double_quote

2002-06-18 Thread Josh Berkus
Chris, Tom: Yes, thank you Chris, I meant a builtin SQL function. > > 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 thi

Re: [HACKERS] [SQL] Request for builtin function: Double_quote

2002-06-18 Thread Tom Lane
Josh Berkus <[EMAIL PROTECTED]> 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.