pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpreprepare - preprepare: Support at_init preparing
2+ messages / 2 participants
[nested] [flat]
* preprepare - preprepare: Support at_init preparing
@ 2009-07-07 08:11 User Dim <dim@pgfoundry.org>
0 siblings, 0 replies; 2+ messages in thread
From: dim@pgfoundry.org @ 2009-07-07 08:11 UTC (permalink / raw)
To: pgsql-committers
Log Message:
-----------
Support at_init preparing (local_preload_librairies) from 8.4
Modified Files:
--------------
preprepare:
README (r1.1 -> r1.2)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/preprepare/preprepare/README?r1=1.1&r2=1.2)
pre_prepare.c (r1.2 -> r1.3)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/preprepare/preprepare/pre_prepare.c?r1=1.2&r2=1.3)
preprepare/debian:
changelog (r1.1 -> r1.2)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/preprepare/preprepare/debian/changelog?r1=1.1&r2=1.2)
^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Add some asserts based on LWLockHeldByMe() for replication slot
@ 2024-03-12 22:49 Michael Paquier <michael@paquier.xyz>
0 siblings, 0 replies; 2+ messages in thread
From: Michael Paquier @ 2024-03-12 22:49 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Add some asserts based on LWLockHeldByMe() for replication slot statistics
Two assertions checking that ReplicationSlotAllocationLock is acquired
are added to pgstat_create_replslot() and pgstat_drop_replslot(),
corresponding to the routines in charge of the creation and the drop of
replication slot statistics. The code previously relied on this
assumption and documented it in comments, but did not enforce this
policy at runtime.
Reviewed-by: Bertrand Drouvot
Discussion: https://postgr.es/m/Ze_p-hmD_yFeVYXg@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/77cf6a78de9fa48976d8c9152a48290beb06dc8b
Modified Files
--------------
src/backend/utils/activity/pgstat_replslot.c | 4 ++++
1 file changed, 4 insertions(+)
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-03-12 22:49 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-07-07 08:11 preprepare - preprepare: Support at_init preparing User Dim <dim@pgfoundry.org>
2024-03-12 22:49 pgsql: Add some asserts based on LWLockHeldByMe() for replication slot Michael Paquier <michael@paquier.xyz>
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