Re: [HACKERS] Extending COPY TO

2014-09-23 Thread Andrea Riciputi
, at 08:56, Stephen Frost wrote: > Andrea, > > * Andrea Riciputi (andrea.ricip...@gmail.com) wrote: >> My idea was to extend the COPY TO command to accept an EOL option as it >> already does with the DELIMITER option. To keep it simple we can limit the >> EOL choice

[HACKERS] Extending COPY TO

2014-09-22 Thread Andrea Riciputi
Hi all, it’s my first time here, so please let me know if I’m doing something wrong. I’m a developer, heavy PG user, but I’ve never hacked it before. Last week at work we had to produce a quite big CSV data file which should be used as input by another piece of software. Since the file must be