Re: [GENERAL] illegal characters

2001-02-09 Thread Gilles DAROLD
Hi, I don't know what programming language you are using but there's surely a function named quote which will do that for you. With perl DBI you can use it like this : quote : Quote a string literal for use as a literal value in an SQL statement by escaping any special characters (such

Re: [GENERAL] illegal characters

2001-02-09 Thread Brett W. McCoy
On Fri, 9 Feb 2001, Oleg Lebedev wrote: > 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

[GENERAL] illegal characters

2001-02-09 Thread Oleg Lebedev
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 ille