David Rowley <dgrowleyml@gmail.com> writes:
> I've attached a tiny patch that fixes a new compiler warning on the windows
> build...
Applied, thanks.
> Perhaps the #ifndef could be placed in a nicer spot in the patch, but the
> attached should at least describe where the problem lies...
Yeah, I thought it better to make a separate declaration to wrap in
#ifndef. pgindent is probably going to insist on adding some vertical
whitespace around the #if, and that'll look horrid if it's just in the
middle of a list of variables.
regards, tom lane
On Thu, Apr 17, 2014 at 04:14:55PM -0400, Tom Lane wrote: > > Perhaps the #ifndef could be placed in a nicer spot in the patch, but the > > attached should at least describe where the problem lies... > > Yeah, I thought it better to make a separate declaration to wrap in > #ifndef. pgindent is probably going to insist on adding some vertical > whitespace around the #if, and that'll look horrid if it's just in the > middle of a list of variables. Uh, I don't think that is the case anymore. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. +
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера