pgsql: Use fake LSNs consistently in hash index AM.

Started by Peter Geoghegan4 months ago1 messagescommitters
Jump to latest

Use fake LSNs consistently in hash index AM.

Defensively make sure that all hash index atomic actions use a fake LSN
with an unlogged relation.

Oversight in commit e5836f7b, which added fake LSN support to the hash
index AM, but missed log_split_page.

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-by: Ewan Young <kdbase.hack@gmail.com>
Discussion: /messages/by-id/CAH2-WzkC-opX8iS6X=a470DDC31er_x5rzPw=HjRxha9N8brZw@mail.gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cea74f48d36bc1073da0adab755946ad94aa6902

Modified Files
--------------
src/backend/access/hash/hashpage.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)