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: (view raw, whole thread or download thread mbox)
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".


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


In response to


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-2017 The PostgreSQL Global Development Group