raw output from copy

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: raw output from copy
Date: 2015-04-09 18:48:35
Message-ID: CAFj8pRAfer+ip3JCMTnvzra2QK7W9hk0hw1YqE8++PZA1OqSJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

This thread was finished without real work. I have a real use case - export
XML doc in non utf8 encoding.

http://www.postgresql.org/message-id/16174.1319228878@sss.pgh.pa.us

I propose to implement new format option "RAW" like Tom proposed.

It requires only one row, one column result - and result is just raw binary
data without size.

Objections? Ideas?

Regards

Pavel

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-04-09 19:08:15 Re: Making src/test/ssl more robust
Previous Message Peter Eisentraut 2015-04-09 18:01:23 Re: libpq's multi-threaded SSL callback handling is busted