illegal characters

From: Oleg Lebedev <olebedev(at)waterford(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: illegal characters
Date: 2001-02-09 19:43:34
Message-ID: 3A844866.C0B0AF37@waterford.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
I am using postgresql to store data passed from a web page. A user may
enter whatever text she wants on that web page. Do I have to prepend all
the illegal characters in the text with backslashes before storing the
text in the database? Is there any way to make postgresql prepend these
illegal characters for me?
Example:
I have an entry 'foo/bar' in a database table (it was stored as
'foo/bar' NOT as 'foo\/bar', when I try to search for all rows that
contain entry 'foo/bar', I get no results.
Any help will be greatly appreciated.
Thanks

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gilles DAROLD 2001-02-09 19:48:07 Re: illegal characters
Previous Message Gilles DAROLD 2001-02-09 19:41:47 Re: ODBC with Visio