Re: COPY BINARY to STDOUT

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: SAKAIDA Masaaki <sakaida(at)psn(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: COPY BINARY to STDOUT
Date: 2000-06-13 07:38:54
Message-ID: 200006130738.DAA23433@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Any comments on this?

> SAKAIDA Masaaki <sakaida(at)psn(dot)co(dot)jp> writes:
> > postgres=# copy binary test to stdout; <====== error???
> > [ psql gets confused ]
>
> Yes, I see it too. The COPY data protocol is fundamentally textual,
> so there's no way of making this work without rewriting all our frontend
> interface libraries. Not worth it. I suggest that the backend should
> reject COPY BINARY commands that are either FROM STDIN or TO STDOUT.
> Anybody see a better way?
>
> regards, tom lane
>

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-06-13 07:41:56 Re: Proposal for fixing numeric type-resolution issues
Previous Message Bruce Momjian 2000-06-13 07:38:10 Re: Now 376175 lines of code