From: Michael Glaesemann <grzm@myrealbox.com>
To: Christian Paul B. Cosinas <cpc@cybees.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Characters that needs escape characters when inserting to database
Date: Tue, 17 Jan 2006 16:20:23 +0900
Message-ID: <963723D6-0891-4EF0-8324-0D4E5FCF69AA@myrealbox.com> (raw)
In-Reply-To: <00fc01c61bb4$5ae92590$1e21100a@ghwk02002147>
References: <00fc01c61bb4$5ae92590$1e21100a@ghwk02002147>
On Jan 18, 2006, at 7:21 , Christian Paul B. Cosinas wrote:
> Can anyone give me a list of characters that needs to be preceded
> by an
> escape character before inserting to database.
Take a look at this documentation on string constants. It should
answer the questions you have.
http://www.postgresql.org/docs/current/interactive/sql-
syntax.html#SQL-SYNTAX-STRINGS
Michael Glaesemann
grzm myrealbox com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: grzm@myrealbox.com, cpc@cybees.com
Subject: Re: Characters that needs escape characters when inserting to database
In-Reply-To: <963723D6-0891-4EF0-8324-0D4E5FCF69AA@myrealbox.com>
References: <00fc01c61bb4$5ae92590$1e21100a@ghwk02002147> <963723D6-0891-4EF0-8324-0D4E5FCF69AA@myrealbox.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox