Jeremy Evans wrote:
However, I'm not sure what happens to the connection if you don't get all of the data. If it could be made safe using an ensure block to ensure the connection is left in a good state, I don't have any problem adding this to Sequel.
According to my experiments, abandoning the COPY in the middle doesn't have any adverse effects. Example script and the output from running it (with trace output): http://pastie.org/2545817
-- Michael Granger <[email protected]> http://deveiate.org/ -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. 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.
