Re: command length? - Mailing list pgsql-novice

From Manfred Koizar
Subject Re: command length?
Date
Msg-id cqmphu04vara413c8p6349btk65knj1dhd@4ax.com
Whole thread Raw
In response to Re: command length?  (stev knowles <stev@Precision.Guesswork.COM>)
Responses Re: command length?
List pgsql-novice
On Fri, 28 Jun 2002 15:33:29 -0400, stev knowles
<stev@Precision.Guesswork.COM> wrote:
>the problem records have words like "don't" in them,
>which is screwing with the delimiters on the command line i am passing in,
>so i need to change them to be "don\'t".

Stev,

in case you have not found it yet,
 PQescapeString(char *to, const char *from, size_t length)
does that for you.

Servus
 Manfred



pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: command length?
Next
From: AarniRuuhimäki / Megative Tmi / KYMI.com
Date:
Subject: Parser function / command again ...