trivial improvement to system_or_bail

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: trivial improvement to system_or_bail
Date: 2021-06-30 15:24:33
Message-ID: 202106301524.eq5pblzstapj@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When PostgresNode::system_or_bail() fails, it's quite opaque as to what
is happening. This patch improves things by printing some detail, as
suggested in Perl's doc for system().

--
Álvaro Herrera 39°49'30"S 73°17'W
https://www.EnterpriseDB.com/

Attachment Content-Type Size
system_or_bail.patch text/x-diff 705 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2021-06-30 15:33:24 Re: [HACKERS] WIP aPatch: Pgbench Serialization and deadlock errors
Previous Message Tomas Vondra 2021-06-30 15:15:11 Re: Merging statistics from children instead of re-sampling everything