Wed May 25 17:17:22 PDT 2005
- Previous message: [Slony1-commit] By cbbrowne: Changes from Neil Conway: This patch fixes various issues
- Next message: [Slony1-commit] By cbbrowne: Followup to Neil's patch; it didn't have an 'elevel'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Changes from Neil Conway:
This patch fixes various issues that crop up compiling with -Wall:
- include parser/keywords.h in backend/slony1_funcs.c, to make the declaration of ScanKeywordLookup visible
- make write_void_log() return void -- it's return value has never used, and in any case write_void_log() didn't actually return a value
- include <sys/wait.h> in slon/slon.c, which is needed to make the declaration of wait(2) visible
- add a missing return statement to slonik_repair_config() in slonik/slonik.c
- initialize the return value of close_log_archive() properly in slon/remote_worker.c
- remove some unused variable declarations
- fix `elevel' in slon/configoptions.c:set_config_option() and get_config_option(). get_config_option() did not initialize `elevel', and set_config_option() initialized it incorrectly: find_option() takes a Postgres error level (e.g. WARNING), not a Slony error level (e.g. SLON_WARN).
Modified Files:
--------------
slony1-engine/src/backend:
slony1_funcs.c (r1.31 -> r1.32)
-------------- next part --------------
Index: slony1_funcs.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_funcs.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -Lsrc/backend/slony1_funcs.c -Lsrc/backend/slony1_funcs.c -u -w -r1.31 -r1.32
--- src/backend/slony1_funcs.c
+++ src/backend/slony1_funcs.c
@@ -15,6 +15,7 @@
#include "miscadmin.h"
#include "nodes/makefuncs.h"
+#include "parser/keywords.h"
#include "parser/parse_type.h"
#include "executor/spi.h"
#include "commands/trigger.h"
- Previous message: [Slony1-commit] By cbbrowne: Changes from Neil Conway: This patch fixes various issues
- Next message: [Slony1-commit] By cbbrowne: Followup to Neil's patch; it didn't have an 'elevel'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list