libpq and escaping array string literals - Mailing list pgsql-general

From Ted Toth
Subject libpq and escaping array string literals
Date
Msg-id CAFPpqQGxuAsmvONV9DWeBdiLwuJ2YiU8bJsnMsqAWMb4cAhmEg@mail.gmail.com
Whole thread Raw
Responses Re: libpq and escaping array string literals
List pgsql-general
I've got so C code that interacting with a table containing a field of type text[]. Strings I've got to put in the array may be unicode and or contain single or double quotes etc ... What's the best way to escape these strings? 

Ted

pgsql-general by date:

Previous
From: Jeremy Schneider
Date:
Subject: Re: Real application clustering in postgres.
Next
From: Dmitry Igrishin
Date:
Subject: Re: libpq and escaping array string literals