=?utf-8?Q?Artur_Zaj=C4=85c?= writes:
> First session:
> BEGIN;
> set transaction isolation level repeatable read, read only;
> lock TABLE gm.tableabc IN access share mode;
> Second session:
> BEGIN;
> CREATE TEMP TABLE IF NOT EXISTS tableabc (Id BIGINT DEFAULT random())
> INHERITS (gm.tableabc)
> Not sure why would it matter that the pg_dump connection is read-only, this
> is about locking because
> pg_dump needs to ensure the schema does not change while it's running.
> pg_dump does not do
>
> LOCK TABLE gm.tableabc;
>
> but
>
> LOCK TABLE gm.tableabc IN ACCESS SHARE MODE;
>
> Wh
On Mon, Oct 07, 2019 at 11:00:08PM +0200, Artur Zając wrote:
Hi,
I cannot reproduce some scenario I found in my PostgreSQL logs.
I have two connections/processes:
Process 24755 is standard pg_backup connection with:
.
BEGIN;
SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY