Re: COPY BINARY to STDOUT - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: COPY BINARY to STDOUT
Date
Msg-id 200006130738.DAA23433@candle.pha.pa.us
Whole thread Raw
In response to COPY BINARY to STDOUT  (SAKAIDA Masaaki <sakaida@psn.co.jp>)
Responses Re: COPY BINARY to STDOUT  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Any comments on this?


> SAKAIDA Masaaki <sakaida@psn.co.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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Now 376175 lines of code
Next
From: Bruce Momjian
Date:
Subject: Re: Proposal for fixing numeric type-resolution issues