From: Alfred Perlstein <bright@wintelcom.net>
To: Bogdan Paduraru <bpaduraru@petar.ro>
Cc: pgsql-admin@postgresql.org
Subject: Re: Symbol problem
Date: Sat, 27 Jan 2001 01:44:25 -0800
Message-ID: <20010127014425.L26076@fw.wintelcom.net> (raw)
In-Reply-To: <3A71E997.1030201@petar.ro>
References: <20010127083349.2592.qmail@web10011.mail.yahoo.com>
<3A71E997.1030201@petar.ro>
* Bogdan Paduraru <bpaduraru@petar.ro> [010127 01:27] wrote:
> Hello ,
> I made a tool with Java servlets and Postgresql. This tool inputs html text
> into a db. My problem is that everytime I input text that contains '
> (apostrophe)
> I get an SQL exception.
> This Postgresql can't see by itself what is the difference ?
> I don't want to check every character, this is stupid. I'd rather change
> the RDBMS.
Most every interface into postgresql has a 'quoting' mechanism that
will escape these characters for you. Check the docs.
--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: bright@wintelcom.net, bpaduraru@petar.ro, pgsql-admin@postgresql.org
Subject: Re: Symbol problem
In-Reply-To: <20010127014425.L26076@fw.wintelcom.net>
* 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