Em 08-11-2013 16:19, Jeremy Evans escreveu:
On Friday, November 8, 2013 9:50:51 AM UTC-8, Rodrigo Rosenfeld Rosas wrote:It seems the problem is that PG will only drop the temporary table in the end of the session by default rather than by the end of the transaction. Is there anyway I can inform Database.create_table to use ON COMMIT DROP?There's not currently support for that in the DSL. I'll certainly consider patches to the shared postgres adapter that add support for:create_table(..., :on_commit=>(:drop|:preserve_rows|:delete_rows)){...}
I don't quite follow. It's currently defined here: https://github.com/jeremyevans/sequel/blob/master/lib/sequel/database/schema_methods.rb#L163 How am I supposed to change it only for PG-common? Cheers, Rodrigo. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/groups/opt_out.
