On Monday, October 22, 2012 8:06:04 PM UTC-7, François Beausoleil wrote:
> Hmm, this is Database#copy_table, not Dataset#copy_table. I specifically
> need a Dataset. I've gone down the system("psql -c 'COPY ( SELECT * FROM
> ... ) TO stdout' > /path/to/outfile ...") route, so I'm good for now.
>
Sorry about that, you are right that it is Database#copy_table, but you can
pass a dataset to it, so you don't need to shell out to psql if you don't
want to.
Jeremy
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sequel-talk/-/CbSmcvVUvg0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.