Re: synchronized snapshots
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Jim Nasby <jim@nasby.net>, Jeff Davis <pgsql@j-davis.com>, Joachim Wieland <joe@mcknight.de>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-08-20T13:56:58Z
Lists: pgsql-hackers
Peter Eisentraut wrote: > On tis, 2011-08-16 at 20:35 -0400, Tom Lane wrote: > > In fact, now that I think about it, setting the transaction snapshot > > from a utility statement would be functionally useful because then you > > could take locks beforehand. > > Another issue is that in some client interfaces, BEGIN and COMMIT are > hidden behind API calls, which cannot easily be changed or equipped with > new parameters. So in order to have this functionality available > through those interfaces, we'd need a separately callable command. How do they set a transaction to SERIALIZABLE? Seem the same syntax should be used here. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +