Do not allow *timestamp to be passed as NULL
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 21 Aug 2015 17:36:54 +0000 (14:36 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 21 Aug 2015 17:36:54 +0000 (14:36 -0300)
commite68be16b0d0e857bc05949b8ee78c5aaf7d8954a
tree2320edc6672be0499f30701149a33baebf4a39ff
parent8c3d63c521a28c2224aefbdc28ae7e24e81a0156
Do not allow *timestamp to be passed as NULL

The code had bugs that would cause crashes if NULL was passed as that
argument (originally intended to mean not to bother returning its
value), and after inspection it turns out that nothing seems interested
in the case that *ts is NULL anyway.  Therefore, remove the partial
checks intended to support that case.

Author: Michael Paquier
though I didn't include a proposed Assert.

Backpatch to 9.5.
src/backend/access/transam/commit_ts.c