bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Tue Dec 13 14:16:55 PST 2011
http://www.slony.info/bugzilla/show_bug.cgi?id=256

           Summary: set_config_option has parm change in HEAD
           Product: Slony-I
           Version: devel
          Platform: PC
        OS/Version: Linux
            Status: ASSIGNED
          Severity: enhancement
          Priority: low
         Component: trigger SPI
        AssignedTo: cbbrowne at ca.afilias.info
        ReportedBy: cbbrowne at ca.afilias.info
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


Definition in 9.1 and earlier:

extern bool set_config_option(const char *name, const char *value,
                                  GucContext context, GucSource source,
                                  GucAction action, bool changeVal);

In HEAD (which becomes 9.2):



extern int      set_config_option(const char *name, const char *value,
                                  GucContext context, GucSource source,
                                  GucAction action, bool changeVal, int
elevel);

This change induces the following build failure:

gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -fpic
-I/var/lib/postgresql/dbs/postgresql-HEAD/include/server/
-I/var/lib/postgresql/dbs/postgresql-HEAD/include/  -c -o slony1_funcs.o
slony1_funcs.c
slony1_funcs.c: In function '_Slony_I_createEvent':
slony1_funcs.c:146:10: warning: variable 'buf_size' set but not used
[-Wunused-but-set-variable]
slony1_funcs.c: In function '_Slony_I_logTrigger':
slony1_funcs.c:461:4: error: too few arguments to function 'set_config_option'
/var/lib/postgresql/dbs/postgresql-HEAD/include/server/utils/guc.h:316:12:
note: declared here
slony1_funcs.c:502:4: error: too few arguments to function 'set_config_option'
/var/lib/postgresql/dbs/postgresql-HEAD/include/server/utils/guc.h:316:12:
note: declared here
slony1_funcs.c:627:6: error: too few arguments to function 'set_config_option'
/var/lib/postgresql/dbs/postgresql-HEAD/include/server/utils/guc.h:316:12:
note: declared here
slony1_funcs.c:630:6: error: too few arguments to function 'set_config_option'
/var/lib/postgresql/dbs/postgresql-HEAD/include/server/utils/guc.h:316:12:
note: declared here
make[1]: *** [slony1_funcs.o] Error 1
make[1]: Leaving directory
`/var/lib/postgresql/slony1-engine.github/src/backend'
make: *** [all] Error 2

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Slony1-bugs mailing list