Re: [Patch] ALTER SYSTEM READ ONLY

From: Amul Sul <sulamul(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [Patch] ALTER SYSTEM READ ONLY
Date: 2022-04-08 14:27:03
Message-ID: CAAJ_b97HQSiZMMbVFY1mHjdN1Ywi0XiXssRRXVVLMD-KtLkT7A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached is rebase version for the latest maste head(#891624f0ec).

0001 and 0002 patch is changed a bit due to xlog.c refactoring
commit(#70e81861), needing a bit more thought to copy global variables into
right shared memory structure. Also, I made some changes to the 0003
patch to avoid
XLogAcceptWrites() entrancing suggested in offline discussion.

Regards,
Amul

Attachment Content-Type Size
v45-0005-Documentation.patch application/octet-stream 10.5 KB
v45-0006-Test-Few-tap-tests-for-wal-prohibited-system.patch application/octet-stream 11.4 KB
v45-0002-Remove-dependencies-on-startup-process-specifica.patch application/octet-stream 12.3 KB
v45-0003-Implement-wal-prohibit-state-using-global-barrie.patch application/octet-stream 47.8 KB
v45-0004-Error-or-Assert-before-START_CRIT_SECTION-for-WA.patch application/octet-stream 72.5 KB
v45-0001-Create-XLogAcceptWrites-function-with-code-from-.patch application/octet-stream 4.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2022-04-08 14:38:03 Re: avoid multiple hard links to same WAL file after a crash
Previous Message Frédéric Yhuel 2022-04-08 14:23:48 Re: REINDEX blocks virtually any queries but some prepared queries.