handling special characters in sql strings - Mailing list pgsql-sql

From Markus Wagner
Subject handling special characters in sql strings
Date
Msg-id 3AB5F816.B42DA79E@imsd.uni-mainz.de
Whole thread Raw
Responses Re: handling special characters in sql strings  ("tjk@tksoft.com" <tjk@tksoft.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Richard H
Date:
Subject: Re: MultiByte strings
Next
From: "tjk@tksoft.com"
Date:
Subject: Re: handling special characters in sql strings