pgsql: localbuf: Introduce InvalidateLocalBuffer()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: localbuf: Introduce InvalidateLocalBuffer()
Дата
Msg-id E1ttda0-002gW1-0v@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
localbuf: Introduce InvalidateLocalBuffer()

Previously, there were three copies of this code, two of them
identical. There's no good reason for that.

This change is nice on its own, but the main motivation is the AIO patchset,
which needs to add extra checks the deduplicated code, which of course is
easier if there is only one version.

Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/CAAKRu_b9anbWzEs5AAF9WCvcEVmgz-1AkHSQ-CLLy-p7WHzvFw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0762a151b0e018944694ccac07e521adcdf7a06f

Modified Files
--------------
src/backend/storage/buffer/localbuf.c | 92 +++++++++++++++++------------------
1 file changed, 44 insertions(+), 48 deletions(-)


В списке pgsql-committers по дате отправления: