On Sep 16, 6:03 pm, Michael Granger <[email protected]> wrote: > 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
That's definitely a positive sign. What happens if another copy command is used before all previous copy results have been retrieved? If it ignores the previous results, then it should be safe, and I just need to write the specs before committing it. Jeremy -- 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.
