aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/trigger.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2015-08-21 14:36:54 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2015-08-21 14:36:54 -0300
commite68be16b0d0e857bc05949b8ee78c5aaf7d8954a (patch)
tree2320edc6672be0499f30701149a33baebf4a39ff /src/backend/commands/trigger.c
parent8c3d63c521a28c2224aefbdc28ae7e24e81a0156 (diff)
downloadpostgresql-e68be16b0d0e857bc05949b8ee78c5aaf7d8954a.tar.gz
postgresql-e68be16b0d0e857bc05949b8ee78c5aaf7d8954a.zip
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.
Diffstat (limited to 'src/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions