Index: admin.sql.in =================================================================== RCS file: /projects/pgadmin-tools/support/admin.sql.in,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -Lsupport/admin.sql.in -Lsupport/admin.sql.in -u -w -r1.1.1.1 -r1.2 --- support/admin.sql.in +++ support/admin.sql.in @@ -62,9 +62,11 @@ AS 'MODULE_PATHNAME', 'pg_reload_conf' LANGUAGE C STABLE STRICT; +/* CREATE FUNCTION pg_logfile_rotate() RETURNS bool AS 'MODULE_PATHNAME', 'pg_logfile_rotate' LANGUAGE C STABLE STRICT; +*/ CREATE FUNCTION pg_logdir_ls() RETURNS setof record AS 'MODULE_PATHNAME', 'pg_logdir_ls' Index: misc.c =================================================================== RCS file: /projects/pgadmin-tools/support/misc.c,v retrieving revision 1.3 retrieving revision 1.4 diff -Lsupport/misc.c -Lsupport/misc.c -u -w -r1.3 -r1.4 --- support/misc.c +++ support/misc.c @@ -70,7 +70,8 @@ * logfile handling functions */ - +#if ROTATE_SUPPORTED +/* not yet in backend */ Datum pg_logfile_rotate(PG_FUNCTION_ARGS) { if (!superuser()) @@ -81,6 +82,7 @@ PG_RETURN_BOOL(LogFileRotate()); } +#endif Datum pg_logdir_ls(PG_FUNCTION_ARGS) {