Re: quote_boolean() and friends missing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Bertheau ☭ <twanger(at)bluetwanger(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: quote_boolean() and friends missing
Date: 2005-06-20 14:10:32
Message-ID: 6561.1119276632@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Markus Bertheau =?UTF-8?Q?=E2=98=AD?= <twanger(at)bluetwanger(dot)de> writes:
> Maybe quote_* is not the right name, but the functionality is needed.

I don't think so --- at least not in plpgsql, which can do this already.
Just assign the value to a text variable and then use quote_literal.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rohit Gaddi 2005-06-20 14:15:08 query plan ignoring check constraints
Previous Message Markus Bertheau ☭ 2005-06-20 14:05:28 Re: quote_boolean() and friends missing