GetOldestWALSendPointer() in header

Поиск
Список
Период
Сортировка
Искать

GetOldestWALSendPointer() in header

От:
Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Дата:
Hi,

GetOldestWALSendPointer() is commented out in the source code
with NOT_USED block, but is still declared in the header file.
Should we remove the function prototype from walsender.h ?

[walsender.h]   extern XLogRecPtr GetOldestWALSendPointer(void);

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center


Re: GetOldestWALSendPointer() in header

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Takahiro Itagaki  writes:
> GetOldestWALSendPointer() is commented out in the source code
> with NOT_USED block, but is still declared in the header file.
> Should we remove the function prototype from walsender.h ?

Yes, that's our usual convention.
		regards, tom lane

FAQ