Re: Simple Unload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Naomi Walker wrote:
From time to time, I need to unload rows to a delimited file,
specifically with a "where" clause.
I've cobbled a script together to do this, but it seems like a
reasonable utility to support. Sort
of a pg_dump on steroids..

Have I missed the simple way to do this?  Would someone consider adding
such a utility or adding
this to pg_dump?

Naomi

8.2 COPY appears to be able to output in csv format, using a WHERE clause, though I've not tried it.

http://www.postgresql.org/docs/8.2/static/sql-copy.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux