Re: [GENERAL] Alter Table + Default Value + Serializable

2010-11-05 Thread Sébastien Lardière
On 11/05/2010 05:19 PM, Tom Lane wrote: > and even if it does, the > likely behavior would be that the serializable transaction would fail > outright rather than give you a surprising view of the table. thanks for your answer, I have to say that I would prefer an error in the serializable transac

Re: [GENERAL] Alter Table + Default Value + Serializable

2010-11-05 Thread Tom Lane
=?ISO-8859-1?Q?S=E9bastien_Lardi=E8re?= writes: > I've got a problem with a query run on production system. We've got some > data export in a serializable transaction, and, 2 days ago, someone ran > a DDL ( alter table foo add column ba test default 'blabla'), and then, > the data export is empty.

Re: [GENERAL] Alter Table + Default Value + Serializable

2010-11-05 Thread Sébastien Lardière
On 11/05/2010 04:28 PM, Sébastien Lardière wrote: > Hi, > > I've got a problem with a query run on production system. We've got some > data export in a serializable transaction, and, 2 days ago, someone ran > a DDL ( alter table foo add column ba test default 'blabla'), and then, > the data export

[GENERAL] Alter Table + Default Value + Serializable

2010-11-05 Thread Sébastien Lardière
Hi, I've got a problem with a query run on production system. We've got some data export in a serializable transaction, and, 2 days ago, someone ran a DDL ( alter table foo add column ba test default 'blabla'), and then, the data export is empty. I try to reproduce the scenario below : begin ; dr