pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #15253: DROP/select/update query waiting for pg_dump
3+ messages / 3 participants
[nested] [flat]
* BUG #15253: DROP/select/update query waiting for pg_dump
@ 2018-06-27 14:01 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 2 replies; 3+ messages in thread
From: PG Bug reporting form @ 2018-06-27 14:01 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: sennirban89@gmail.com
The following bug has been logged on the website:
Bug reference: 15253
Logged by: NIRBAN SEN
Email address: sennirban89@gmail.com
PostgreSQL version: Unsupported/Unknown
Operating system: rhel7
Description:
DROP/select/update queries are going into waiting state when pg_dump is
running.
I'm using 9.2.18 version.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #15253: DROP/select/update query waiting for pg_dump
@ 2018-06-27 15:01 Andres Freund <andres@anarazel.de>
parent: PG Bug reporting form <noreply@postgresql.org>
1 sibling, 0 replies; 3+ messages in thread
From: Andres Freund @ 2018-06-27 15:01 UTC (permalink / raw)
To: sennirban89@gmail.com; pgsql-bugs@lists.postgresql.org
Hi,
On 2018-06-27 14:01:09 +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference: 15253
> Logged by: NIRBAN SEN
> Email address: sennirban89@gmail.com
> PostgreSQL version: Unsupported/Unknown
> Operating system: rhel7
> Description:
>
> DROP/select/update queries are going into waiting state when pg_dump is
> running.
DROP TABLE, and many other kinds of DDL, are indeed going to be blocked
by a concurrent pg_dump. That's expected and not a bug. SELECT / UPDATE
on their own won't.
Please note that the form you used is for reporting a bug, but I do not
see one in your report?
Greetings,
Andres Freund
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #15253: DROP/select/update query waiting for pg_dump
@ 2018-06-27 15:02 Jeff Janes <jeff.janes@gmail.com>
parent: PG Bug reporting form <noreply@postgresql.org>
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Janes @ 2018-06-27 15:02 UTC (permalink / raw)
To: sennirban89@gmail.com; pgsql-bugs@lists.postgresql.org
On Wed, Jun 27, 2018 at 10:01 AM, PG Bug reporting form <
noreply@postgresql.org> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 15253
> Logged by: NIRBAN SEN
> Email address: sennirban89@gmail.com
> PostgreSQL version: Unsupported/Unknown
> Operating system: rhel7
> Description:
>
> DROP/select/update queries are going into waiting state when pg_dump is
> running.
>
> I'm using 9.2.18 version.
>
>
That's not a bug. Selects and Updates alone should not block on a pg_dump,
but in conjunction with DROP they certainly can. You can't DROP a table
while it is being dumped, and you can't select from a table while it is
waiting to be dropped.
Cheers,
Jeff
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-06-27 15:02 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-06-27 14:01 BUG #15253: DROP/select/update query waiting for pg_dump PG Bug reporting form <noreply@postgresql.org>
2018-06-27 15:01 ` Andres Freund <andres@anarazel.de>
2018-06-27 15:02 ` Re: BUG #15253: DROP/select/update query waiting for pg_dump Jeff Janes <jeff.janes@gmail.com>
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