On Thu, May 29, 2008 at 7:42 PM, Tom Lane <[EMAIL PROTECTED]> wrote:

> The big problem
> is that long-running slave-side queries might still need tuples that are
> vacuumable on the master, and so replication of vacuuming actions would
> cause the slave's queries to deliver wrong answers.


Another issue with read-only slaves just popped up in my head.

How do we block the readers on the slave while it is replaying an ALTER
TABLE or similar command that requires Exclusive lock and potentially alters
the table's structure. Or does the WAL replay already takes an x-lock on
such a table?

Best regards,
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED] gmail | hotmail | indiatimes | yahoo }.com

EnterpriseDB http://www.enterprisedb.com

Mail sent from my BlackLaptop device

Reply via email to