pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Yambu <hyambu@gmail.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: pg_dump and locks
Date: Mon, 19 Jul 2021 12:53:13 +0200
Message-ID: <a753f06cc79cef66e4340a15a8b5ee36585d2027.camel@cybertec.at> (raw)
In-Reply-To: <CALhHtcA7EcFjHr8hhG-j6hX5FTqNRUVBQZyh=TOvqXEBh6LHGw@mail.gmail.com>
References: <CALhHtcA7EcFjHr8hhG-j6hX5FTqNRUVBQZyh=TOvqXEBh6LHGw@mail.gmail.com>

On Mon, 2021-07-19 at 12:37 +0200, Yambu wrote:
> May i know if pg_dump locks tables , and prevents updates/deletions or inserts on tables being dumped?

I locks tables, but these locks don't prevent concurrent data modification.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (2+ messages)

Message-ID: <a753f06cc79cef66e4340a15a8b5ee36585d2027.camel@cybertec.at>
Permalink:  ../a753f06cc79cef66e4340a15a8b5ee36585d2027.camel@cybertec.at/
Also on:    postgresql.org/message-id/a753f06cc79cef66e4340a15a8b5ee36585d2027.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, hyambu@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: pg_dump and locks
  In-Reply-To: <a753f06cc79cef66e4340a15a8b5ee36585d2027.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox