Handling GIN incomplete splits - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Handling GIN incomplete splits
Date
Msg-id 5283ADB3.9070306@vmware.com
Whole thread Raw
Responses Re: Handling GIN incomplete splits  (Michael Paquier <michael.paquier@gmail.com>)
Re: Handling GIN incomplete splits  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Here's another part of my crusade against xlog cleanup routines. This
series of patches gets rid of the gin_cleanup() function, which is
currently used to finish splits of GIN b-tree pages, if the system
crashes (or an error occurs) between splitting a page and inserting its
downlink to the parent.

The first three patches just move code around. IMHO they make the code
more readable, so they should be committed in any case. The meat is in
the fourth patch.

Thoughts, objections?

Alexander, I'm sorry if this conflicts with your GIN patches. Feel free
to post the latest versions of your patches against the current master,
ignoring patches. I can fix the bitrot. That said, I think these
refactorings will make your code look a little bit nicer too, so you
might want to rebase because of that anyway.

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: additional json functionality
Next
From: J Smith
Date:
Subject: Re: Errors on missing pg_subtrans/ files with 9.3