RecoveryTargetAction is left out in xlog_interna.h

Started by Kyotaro Horiguchiabout 2 years ago2 messageshackers
Jump to latest
#1Kyotaro Horiguchi
horikyota.ntt@gmail.com

Hello,

While reviewing a patch, I noticed that enum RecoveryTargetAction is
still in xlog_internal.h, even though it seems like it should be in
xlogrecovery.h. Commit 70e81861fa separated out xlogrecovery.c/h and
moved several enums related to recovery targets to
xlogrecovery.h. However, it appears that enum RecoveryTargetAction was
inadvertently left behind in that commit.

Please find the attached patch, which addresses this oversight.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachments:

0001-Move-enum-RecoveryTargetAction-to-xlogrecovery.h.patchtext/x-patch; charset=us-asciiDownload+10-11
#2Alvaro Herrera
alvherre@kurilemu.de
In reply to: Kyotaro Horiguchi (#1)
Re: RecoveryTargetAction is left out in xlog_interna.h

On 2024-Sep-04, Kyotaro Horiguchi wrote:

Hello,

While reviewing a patch, I noticed that enum RecoveryTargetAction is
still in xlog_internal.h, even though it seems like it should be in
xlogrecovery.h. Commit 70e81861fa separated out xlogrecovery.c/h and
moved several enums related to recovery targets to
xlogrecovery.h. However, it appears that enum RecoveryTargetAction was
inadvertently left behind in that commit.

True. Pushed. I felt backpatching was unnecessary, even though the
mistake is old.

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/