pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Check interrupts during hot standby waits
8+ messages / 3 participants
[nested] [flat]
* pgsql: Check interrupts during hot standby waits
@ 2017-01-26 19:00 Simon Riggs <simon@2ndQuadrant.com>
2017-01-26 19:06 ` Re: [COMMITTERS] pgsql: Check interrupts during hot standby waits Andres Freund <andres@anarazel.de>
0 siblings, 1 reply; 8+ messages in thread
From: Simon Riggs @ 2017-01-26 19:00 UTC (permalink / raw)
To: pgsql-committers
Check interrupts during hot standby waits
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/e8ee3d6b859a18d7f7375ceb9e04d256eb18aaec
Modified Files
--------------
src/backend/storage/ipc/standby.c | 2 ++
1 file changed, 2 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: [COMMITTERS] pgsql: Check interrupts during hot standby waits
2017-01-26 19:00 pgsql: Check interrupts during hot standby waits Simon Riggs <simon@2ndQuadrant.com>
@ 2017-01-26 19:06 ` Andres Freund <andres@anarazel.de>
2017-01-27 02:24 ` Re: [COMMITTERS] pgsql: Check interrupts during hot standby waits Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 8+ messages in thread
From: Andres Freund @ 2017-01-26 19:06 UTC (permalink / raw)
To: Simon Riggs <simon@2ndQuadrant.com>; +Cc: pgsql-hackers@postgresql.org
Hi,
On 2017-01-26 19:00:34 +0000, Simon Riggs wrote:
> Check interrupts during hot standby waits
>
> Branch
> ------
> master
>
> Details
> -------
> http://git.postgresql.org/pg/commitdiff/e8ee3d6b859a18d7f7375ceb9e04d256eb18aaec
>
> Modified Files
> --------------
> src/backend/storage/ipc/standby.c | 2 ++
> 1 file changed, 2 insertions(+)
It seems that the actual fix here would be to replace the pg_usleep loop
with a latch wait.... Then we also don't need to needlessly loop, and
actually react promptly to signals.
Andres
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: [COMMITTERS] pgsql: Check interrupts during hot standby waits
2017-01-26 19:00 pgsql: Check interrupts during hot standby waits Simon Riggs <simon@2ndQuadrant.com>
2017-01-26 19:06 ` Re: [COMMITTERS] pgsql: Check interrupts during hot standby waits Andres Freund <andres@anarazel.de>
@ 2017-01-27 02:24 ` Michael Paquier <michael.paquier@gmail.com>
0 siblings, 0 replies; 8+ messages in thread
From: Michael Paquier @ 2017-01-27 02:24 UTC (permalink / raw)
To: Andres Freund <andres@anarazel.de>; +Cc: Simon Riggs <simon@2ndquadrant.com>; PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
On Fri, Jan 27, 2017 at 4:06 AM, Andres Freund <andres@anarazel.de> wrote:
> Hi,
>
> On 2017-01-26 19:00:34 +0000, Simon Riggs wrote:
>> Check interrupts during hot standby waits
>>
>> Branch
>> ------
>> master
>>
>> Details
>> -------
>> http://git.postgresql.org/pg/commitdiff/e8ee3d6b859a18d7f7375ceb9e04d256eb18aaec
>>
>> Modified Files
>> --------------
>> src/backend/storage/ipc/standby.c | 2 ++
>> 1 file changed, 2 insertions(+)
>
> It seems that the actual fix here would be to replace the pg_usleep loop
> with a latch wait.... Then we also don't need to needlessly loop, and
> actually react promptly to signals.
For the record, a patch has been posted on the original thread:
https://www.postgresql.org/message-id/CAB7nPqRNcd+FR=8_Lyb65jBcRPX+59hXobi5G-wf4fxRak_6gw@mail.gmail...
--
Michael
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 8+ messages in thread
* pgsql: Check interrupts during hot standby waits
@ 2017-01-27 12:13 Simon Riggs <simon@2ndQuadrant.com>
0 siblings, 0 replies; 8+ messages in thread
From: Simon Riggs @ 2017-01-27 12:13 UTC (permalink / raw)
To: pgsql-committers
Check interrupts during hot standby waits
Branch
------
REL9_6_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/40b7800da24de920cb9478a22605fa4715dbc30d
Modified Files
--------------
src/backend/storage/ipc/standby.c | 2 ++
1 file changed, 2 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 8+ messages in thread
* pgsql: Check interrupts during hot standby waits
@ 2017-01-27 12:15 Simon Riggs <simon@2ndQuadrant.com>
0 siblings, 0 replies; 8+ messages in thread
From: Simon Riggs @ 2017-01-27 12:15 UTC (permalink / raw)
To: pgsql-committers
Check interrupts during hot standby waits
Branch
------
REL9_5_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/ace2cd80a028fc8775146c946d3aff87810e4392
Modified Files
--------------
src/backend/storage/ipc/standby.c | 2 ++
1 file changed, 2 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 8+ messages in thread
* pgsql: Check interrupts during hot standby waits
@ 2017-01-27 12:16 Simon Riggs <simon@2ndQuadrant.com>
0 siblings, 0 replies; 8+ messages in thread
From: Simon Riggs @ 2017-01-27 12:16 UTC (permalink / raw)
To: pgsql-committers
Check interrupts during hot standby waits
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/357e061286d2653737eee509f69d70ea85475e3a
Modified Files
--------------
src/backend/storage/ipc/standby.c | 2 ++
1 file changed, 2 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 8+ messages in thread
* pgsql: Check interrupts during hot standby waits
@ 2017-01-27 12:18 Simon Riggs <simon@2ndQuadrant.com>
0 siblings, 0 replies; 8+ messages in thread
From: Simon Riggs @ 2017-01-27 12:18 UTC (permalink / raw)
To: pgsql-committers
Check interrupts during hot standby waits
Branch
------
REL9_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/332068a212c0357aa7bbbb0c187134ba3af32fbd
Modified Files
--------------
src/backend/storage/ipc/standby.c | 2 ++
1 file changed, 2 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 8+ messages in thread
* pgsql: Check interrupts during hot standby waits
@ 2017-01-27 12:20 Simon Riggs <simon@2ndQuadrant.com>
0 siblings, 0 replies; 8+ messages in thread
From: Simon Riggs @ 2017-01-27 12:20 UTC (permalink / raw)
To: pgsql-committers
Check interrupts during hot standby waits
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/15c54e8363a28ab89e31bafebe6b093a77540b1d
Modified Files
--------------
src/backend/storage/ipc/standby.c | 2 ++
1 file changed, 2 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2017-01-27 12:20 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-01-26 19:00 pgsql: Check interrupts during hot standby waits Simon Riggs <simon@2ndQuadrant.com>
2017-01-26 19:06 ` Andres Freund <andres@anarazel.de>
2017-01-27 02:24 ` Michael Paquier <michael.paquier@gmail.com>
2017-01-27 12:13 pgsql: Check interrupts during hot standby waits Simon Riggs <simon@2ndQuadrant.com>
2017-01-27 12:15 pgsql: Check interrupts during hot standby waits Simon Riggs <simon@2ndQuadrant.com>
2017-01-27 12:16 pgsql: Check interrupts during hot standby waits Simon Riggs <simon@2ndQuadrant.com>
2017-01-27 12:18 pgsql: Check interrupts during hot standby waits Simon Riggs <simon@2ndQuadrant.com>
2017-01-27 12:20 pgsql: Check interrupts during hot standby waits Simon Riggs <simon@2ndQuadrant.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