Re: COPY TO STDOUT BINARY
От | Bruce Momjian |
---|---|
Тема | Re: COPY TO STDOUT BINARY |
Дата | |
Msg-id | 200512302315.jBUNFR911545@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: COPY TO STDOUT BINARY (Andreas Pflug <pgadmin@pse-consulting.de>) |
Список | pgsql-bugs |
Andreas Pflug wrote: > Tom Lane wrote: > > Andreas Pflug <pgadmin@pse-consulting.de> writes: > > > >>Is COPY foo TO STDOUT BINARY supposed to work? > > > > > > I don't think psql will do anything particularly sane with binary copy > > data, if that's what you meant. > > echo "COPY foo TO STDOUT BINARY;" | psql >bar > > writes a 0 bytes file; not surprised if psql doesn't act sanely in > interactive mode. > > For testing, I changed slony to use COPY .. BINARY, same result. I tested this in a stand-alone backend and saw binary output that looked right, so I think it is only psql that is failing. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-bugs по дате отправления: