Double-nesting quotes? - Mailing list pgsql-sql

From Josh Berkus
Subject Double-nesting quotes?
Date
Msg-id web-34506@davinci.ethosmedia.com
Whole thread Raw
Responses Re: Double-nesting quotes?  (Cedar Cox <cedarc@visionforisrael.com>)
List pgsql-sql
Folks,
I'm writing some functions that make serious use of the EXECUTE
functionality.  However, I need to do some string comparisons inside the
execute statements ... how do I double-nest the single quote marks?

EXAMPLE:
where_string := ''WHERE client_name ~* '''' || s_client || '''';
                -Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


pgsql-sql by date:

Previous
From: Loïc Bourgeois
Date:
Subject: please help
Next
From: Peter Eisentraut
Date:
Subject: Re: please help