[pgpool-committers: 1988] pgpool: Fix possible pgpool-recovery crash when used with pre-3.4 envir
Tatsuo Ishii
ishii at postgresql.org
Sun May 18 09:49:06 JST 2014
Fix possible pgpool-recovery crash when used with pre-3.4 environment.
Between 3.3 and 3.4 the number of parameters are changed from 3 to
4. Before pgpool-recovery checks the number of arguments by using
PointerGetDatum(PG_GETARG_TEXT_P(3)) returns null or not. This is
wrong and now we use PG_NARGS() macro.
Also pgpool-recovery's Makefile now installs pgpool_recovery--1.1.sql,
rather than pgpool_recovery--1.0.sql to deal with the changes of
number of arguments.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=63f3db31e8b8cf2cdd0c3f4e898cdc3a5623e146
Modified Files
--------------
src/sql/pgpool-recovery/Makefile | 2 +-
src/sql/pgpool-recovery/pgpool-recovery.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list