From: Markus Wagner <wagner@imsd.uni-mainz.de>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: handling special characters in sql strings
Date: Mon, 19 Mar 2001 13:14:14 +0100
Message-ID: <3AB5F816.B42DA79E@imsd.uni-mainz.de> (raw)
Hi,
I need to insert and retrieve strings containing special characters (e.
g. "'") and I want a C function to prepare my strings automatically. Is
it ok to just insert a "\" before each special character? And what range
of characters will need this handling?
Thanks,
Markus
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: wagner@imsd.uni-mainz.de
Subject: Re: handling special characters in sql strings
In-Reply-To: <3AB5F816.B42DA79E@imsd.uni-mainz.de>
References: <3AB5F816.B42DA79E@imsd.uni-mainz.de>
* 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