From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Jean-Yves F(dot) Barbier" <12ukwn(at)gmail(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: escape |
Date: | 2010-06-27 14:38:03 |
Message-ID: | 10273.1277649483@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
"Jean-Yves F. Barbier" <12ukwn(at)gmail(dot)com> writes:
> But I also would like to know if there is another way to escape my string
No --- PG has too many string quoting conventions already; we aren't
likely to add more.
What you should be looking for is a way for your code to avoid dealing
directly with the quoting rules. You might be able to use out-of-line
parameter values, or use a subroutine provided by your PG client library
to convert the string into properly quoted form. You haven't said what
client-side programming environment you're using so it's hard to be more
specific than that.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-06-27 14:51:07 | Re: view and column rights |
Previous Message | Jean-Yves F. Barbier | 2010-06-27 14:36:15 | view and column rights |