[pgpool-committers: 2040] pgpool: Fix pool_table_name_to_oid in case new to_regclass used which i

Tatsuo Ishii ishii at postgresql.org
Sun Jul 6 19:21:48 JST 2014


Fix pool_table_name_to_oid in case new to_regclass used which is introduced in PostgreSQL 9.4.

The relcache func used here should return 0 if target table is not
found. However to_regclass returns NULL in this case. To fix the
problem now COALESCE is used.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=8321ec0afb2293523903856ba36864fdf4144554

Modified Files
--------------
src/utils/pool_select_walker.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



More information about the pgpool-committers mailing list