static global variable openLogOff in xlog.c seems no longer used - Mailing list pgsql-hackers

From Takashi Menjo
Subject static global variable openLogOff in xlog.c seems no longer used
Date
Msg-id 000101d4b77d$45fc88c0$d1f59a40$@lab.ntt.co.jp
Whole thread Raw
Responses Re: static global variable openLogOff in xlog.c seems no longer used  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi,

Because of pg_pwrite()[1], openLogOff, a static global variable in xlog.c,
seems taken over by a local variable startoffset and no longer used now.

I write the attached patch that removes openLogOff. Both "make check" and
"make installcheck" passed, and just after that, "pg_ctl -m immediate stop"
then "pg_ctl start" looked OK.

Regards,
Takashi

[1] See commit c24dcd0cfd949bdf245814c4c2b3df828ee7db36.

-- 
Takashi Menjo - NTT Software Innovation Center
<menjo.takashi@lab.ntt.co.jp>


Attachment

pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: Early WIP/PoC for inlining CTEs
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: pg_stat_ssl additions