From: Vernon Wu <vernonw@gatewaytech.com>
To: pgsql-sql@postgresql.org
Subject: Special characters in SQL queries
Date: Sun, 09 Mar 2003 11:53:44 -0800
Message-ID: <TN5Y5ZRN04U06TR63FAUPTNZYX8471.3e6b9bc8@kimiko> (raw)
First a single quote in text, when a backforward slash in a file path, what other special characters need padded in two
backslashes before using the data in a SQL statement?
After hours' search in the PostgreSQL archive, I find a releted information on the http://www.ca.postgresql.org/users-
lounge/docs/7.2/postgres/arrays.html. It's about array data though.
How can I find out those characters so that I can pre-process them before a SQL query?
Thanks for your information.
Vernon
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: vernonw@gatewaytech.com
Subject: Re: Special characters in SQL queries
In-Reply-To: <TN5Y5ZRN04U06TR63FAUPTNZYX8471.3e6b9bc8@kimiko>
References: <TN5Y5ZRN04U06TR63FAUPTNZYX8471.3e6b9bc8@kimiko>
* 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