Wed Aug 4 19:59:49 PDT 2004
- Previous message: [Slony1-commit] By darcyb: PostgreSQL 7.5 has been renamed to 8.0, make it so that we
- Next message: [Slony1-commit] By cbbrowne: Finished up having a comprehensive set of comments on all
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Agrument list mismatch in first appearence of setSessionRole() Jan Modified Files: -------------- slony1-engine/src/backend: slony1_funcs.sql (r1.18 -> r1.19) -------------- next part -------------- Index: dbutils.c =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/dbutils.c,v retrieving revision 1.10 retrieving revision 1.11 diff -Lsrc/slon/dbutils.c -Lsrc/slon/dbutils.c -u -w -r1.10 -r1.11 --- src/slon/dbutils.c +++ src/slon/dbutils.c @@ -37,7 +37,7 @@ * which is not threadsafe. It is especially odd because I'm not using * kerberos. * - * This is fixed in libpq in 7.5, but for now (and for older versions + * This is fixed in libpq in 8.0, but for now (and for older versions * we'll just use this mutex. * */ Index: slonik.c =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slonik/slonik.c,v retrieving revision 1.28 retrieving revision 1.29 diff -Lsrc/slonik/slonik.c -Lsrc/slonik/slonik.c -u -w -r1.28 -r1.29 --- src/slonik/slonik.c +++ src/slonik/slonik.c @@ -1553,6 +1553,8 @@ break; case 4: + use_minor = 4; + break; case 5: use_minor = 4; break; @@ -1564,6 +1566,24 @@ adminfo->version_major, adminfo->version_minor); } break; + case 8: + use_major = 7; + + switch (adminfo->version_minor) + { + case 0: + use_minor = 4; + break; + + default: + use_minor = 4; + printf("%s:%d: Possible unsupported PostgreSQL " + "version %d.%d\n", + stmt->stmt_filename, stmt->stmt_lno, + adminfo->version_major, adminfo->version_minor); + break; + } + break; default: printf("%s:%d: unsupported PostgreSQL " Index: slony1_funcs.sql =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_funcs.sql,v retrieving revision 1.18 retrieving revision 1.19 diff -Lsrc/backend/slony1_funcs.sql -Lsrc/backend/slony1_funcs.sql -u -w -r1.18 -r1.19 --- src/backend/slony1_funcs.sql +++ src/backend/slony1_funcs.sql @@ -175,7 +175,7 @@ as '$libdir/slony1_funcs', '_Slony_I_setSessionRole' language C security definer; -comment on function @NAMESPACE at .setSessionRole (name) is +comment on function @NAMESPACE at .setSessionRole (name, text) is 'not yet documented'; grant execute on function @NAMESPACE at .setSessionRole (name, text) to public;
- Previous message: [Slony1-commit] By darcyb: PostgreSQL 7.5 has been renamed to 8.0, make it so that we
- Next message: [Slony1-commit] By cbbrowne: Finished up having a comprehensive set of comments on all
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list