Re: [HACKERS] COPY problems with psql / libpq

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: prlw1(at)cam(dot)ac(dot)uk
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] COPY problems with psql / libpq
Date: 2000-01-20 17:22:16
Message-ID: 20000120092216.J20751@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> [000120 09:10] wrote:
> On Thu, Jan 20, 2000 at 11:02:31AM -0500, Tom Lane wrote:
> >
> > It sure sounds like psql is failing to recognize the trailing \.
> > of the COPY data.
>
> Precisely what I saw yesterday (cf Subject: pg_dump disaster) - but what
> does one do about it?

Is this with a recent snapshot or 6.5.3 using libpq?
Either way, you should check the contents of the send buffer, please let
me know if there is data queued in it. You can include the 'internal'
header for libpq (libpq-int.h?) to get at the send buffer.

-Alfred

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2000-01-20 17:24:40 Re: [HACKERS] timezone problem?
Previous Message Bruce Momjian 2000-01-20 17:21:07 Re: [HACKERS] off topic