Hi,

Is it OK to use PREPARE TRANSACTION and COMMIT PREPARED in order to have transactions that last longer than just a single web request?

Previously it was usually a bad idea to keep database connections alive just to keep a transaction pending.

Now I'm thinking that we could keep transactions around for as long as the relevant web _session_ is valid. That will be quite nice for many things.

Would it be easier to support X "prepared transactions" than X database connections for increasing values of X?

Thanks,

Link.


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to