Re: [INTERFACES] escaping characters ... - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: [INTERFACES] escaping characters ...
Date
Msg-id 20000104205359.C814@fam-meskes.de
Whole thread Raw
Responses Re: [INTERFACES] escaping characters ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
On Tue, Jan 04, 2000 at 01:12:58PM -0500, Tom Lane wrote:
> When generating quoted strings for use in SQL commands, you should
> prefix single-quote (') and backslash (\) characters with a backslash.
> I think that's all.

Isn't the correct way to quote a single-quote with yet another single-quote?

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] escaping characters ...
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] escaping characters ...