Re: [ADMIN] alter table without an ACCESS EXCLUSIVE lock

2011-06-17 Thread Andreas Berger
an index). When using skytools I can keep the downtime minimal by doing a master slave change after modifying the slave db. But the question now is, is it possible to use wal shipping without having downtimes when modifying tables? regards, Andi On 2011-06-16 20:21, Tom Lane wrote: > Andr

[ADMIN] alter table without ACCESS EXCLUSIVE lock

2011-06-16 Thread Andreas Berger
Hi, i'm searching for a solution for changing the type of a column, e.g. from varchar(128) to varchar(512), without an ACCESS EXCLUSIVE lock. The issue is that the relation is nearly 100 million rows big and in our environment every second of downtime is very bad. In my current setup a slave datab

[ADMIN] alter table without an ACCESS EXCLUSIVE lock

2011-06-16 Thread Andreas Berger
Hi, i'm searching for a solution for changing the type of a column, e.g. from varchar(128) to varchar(512), without an ACCESS EXCLUSIVE lock. The issue is that the relation is nearly 100 million rows big and in our environment every second of downtime is very bad. In my current setup a slave datab