Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group