pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix handling of pgbench's hash when no argument is provided
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix handling of pgbench's hash when no argument is provided
@ 2018-07-27 04:44  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2018-07-27 04:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/39d51fe87dae843574fa2349128679800bfe7ccd

Modified Files
--------------
src/bin/pgbench/exprparse.y                |  2 +-
src/bin/pgbench/t/002_pgbench_no_server.pl | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix handling of pgbench's hash when no argument is provided
@ 2018-07-27 04:44  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2018-07-27 04:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c2e5f60db160d74ba862023ec460ace938f4fb1c

Modified Files
--------------
src/bin/pgbench/exprparse.y                |  2 +-
src/bin/pgbench/t/002_pgbench_no_server.pl | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-07-27 04:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-07-27 04:44 pgsql: Fix handling of pgbench's hash when no argument is provided Michael Paquier <michael@paquier.xyz>
2018-07-27 04:44 pgsql: Fix handling of pgbench's hash when no argument is provided Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox