diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-07-27 13:43:36 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-07-27 13:43:36 +0900 |
commit | c2e5f60db160d74ba862023ec460ace938f4fb1c (patch) | |
tree | e9fe63eeaa7e2aee1c2d544fc0383819665418f1 /src/tutorial/funcs_new.c | |
parent | c606f10ff832fc54258bb8a259a8e0daa46468ee (diff) | |
download | postgresql-c2e5f60db160d74ba862023ec460ace938f4fb1c.tar.gz postgresql-c2e5f60db160d74ba862023ec460ace938f4fb1c.zip |
Fix handling of pgbench's hash when no argument is provided
Depending on the platform used, this can cause a crash in the worst
case, or an unhelpful error message, so fail gracefully.
Author: Fabien Coelho
Discussion: https://postgr.es/m/alpine.DEB.2.21.1807262302550.29874@lancre
Backpatch: 11-, where hash() has been added in pgbench.
Diffstat (limited to 'src/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions