[pgpool-committers: 2041] 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:30:33 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
------
V3_3_STABLE

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

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



More information about the pgpool-committers mailing list