Re: command length?

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: stev knowles <stev(at)Precision(dot)Guesswork(dot)COM>
Cc: josh(at)agliodbs(dot)com, Postgresql Novice List <pgsql-novice(at)postgresql(dot)org>
Subject: Re: command length?
Date: 2002-06-28 22:00:44
Message-ID: cqmphu04vara413c8p6349btk65knj1dhd@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, 28 Jun 2002 15:33:29 -0400, stev knowles
<stev(at)Precision(dot)Guesswork(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andrew McMillan 2002-06-28 23:06:06 Re: PostgreSQL setup on dual boot laptop
Previous Message Tom Lane 2002-06-28 20:41:18 Re: command length?