pg_compresslog для 9.2 не собирается

pg_lesslog 4.1.2 beta:

postgres@devpg:/usr/src/postgresql-9.2.0/contrib/lesslog$ make
make -f Makefile.pg_compresslog ALL
make[1]: Entering directory `/usr/src/postgresql-9.2.0/contrib/lesslog'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I. -I../../src/include -D_GNU_SOURCE   -c -o pg_compresslog.o pg_compresslog.c
pg_compresslog.c:56: warning: 'recopy_file' declared 'static' but never defined
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I. -I../../src/include -D_GNU_SOURCE   -c -o file.o file.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I. -I../../src/include -D_GNU_SOURCE   -c -o debug.o debug.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I. -I. -I../../src/include -D_GNU_SOURCE   -c -o remove.o remove.c
remove.c: In function 'remove_bkp_block':
remove.c:75: error: 'XLR_BKP_REMOVABLE' undeclared (first use in this function)
remove.c:75: error: (Each undeclared identifier is reported only once
remove.c:75: error: for each function it appears in.)
remove.c:182: error: 'XLOG_GIN_INSERT' undeclared (first use in this function)
remove.c:184: error: 'XLOG_GIN_VACUUM_PAGE' undeclared (first use in this function)
remove.c:186: error: 'XLOG_GIN_DELETE_PAGE' undeclared (first use in this function)
make[1]: *** [remove.o] Error 1
make[1]: Leaving directory `/usr/src/postgresql-9.2.0/contrib/lesslog'
make: *** [all] Error 2

Возможно, оно и не должно работать, поскольку уж 2013-й на дворе, а крайняя версия pg_lesslog'а датируется 2010-ым/
А есть ли альтернативы?

Опции просмотра комментариев

Выберите предпочитаемый вами способ показа комментариев и нажмите "Сохранить настройки" для активации изменений.

Либы все поставили? README

Либы все поставили? README прочитали на предмет того, что нужно поставить для компиляции?

Опции просмотра комментариев

Выберите предпочитаемый вами способ показа комментариев и нажмите "Сохранить настройки" для активации изменений.

Back to top

(С) Виктор Вислобоков, 2008-2023