pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_dump and locks
2+ messages / 2 participants
[nested] [flat]

* pg_dump and locks
@ 2021-07-19 10:37  Yambu <hyambu@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Yambu @ 2021-07-19 10:37 UTC (permalink / raw)
  To: Pgsql-admin <pgsql-admin@lists.postgresql.org>

Hello

May i know if pg_dump locks tables , and prevents updates/deletions or
inserts on tables being dumped?

regards

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_dump and locks
@ 2021-07-19 10:53  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: Yambu <hyambu@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2021-07-19 10:53 UTC (permalink / raw)
  To: Yambu <hyambu@gmail.com>; Pgsql-admin <pgsql-admin@lists.postgresql.org>

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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-07-19 10:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 10:37 pg_dump and locks Yambu <hyambu@gmail.com>
2021-07-19 10:53 ` Laurenz Albe <laurenz.albe@cybertec.at>

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