Fix core dump and mishandling of temp tables.
authorTatsuo Ishii <ishii@postgresql.org>
Wed, 16 Aug 2017 04:40:46 +0000 (13:40 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Wed, 16 Aug 2017 04:40:46 +0000 (13:40 +0900)
commit9f1acea4e6b1b4889f0640d0517e4f46de32b60a
tree8e0409e0e10dcd8dd77876a8250394177037974e
parent32a451a512ba9fe8e82d407cbc016573401d1d47
Fix core dump and mishandling of temp tables.

Fix two issues:

1) Protect pool_remove_sent_message() and pool_get_sent_message()
   against null parameters.

2) Fix bug while determining if the created table is temporary or not.
src/context/pool_session_context.c
src/protocol/pool_proto_modules.c