From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Tomasz Ziss <tziss85@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: pgbench v14.2 and hostname
Date: Mon, 07 Mar 2022 11:49:24 +0100
Message-ID: <8a34ac4629a955691ff841746e42b834cb0c67e8.camel@cybertec.at> (raw)
In-Reply-To: <CAKFKtuepx6sE2cM+hY1xgw4Y1tvHXc=eM7NyMd7p-fcWV1FmZQ@mail.gmail.com>
References: <CAKFKtuepx6sE2cM+hY1xgw4Y1tvHXc=eM7NyMd7p-fcWV1FmZQ@mail.gmail.com>
On Mon, 2022-03-07 at 11:46 +0100, Tomasz Ziss wrote:
> I'm not sure if I'm doing correctly, but I cannot specify hostname in
> pgbench (v14.)
> [postgres@postgres14p ~]$ pgbench -h localhost -f
> /var/lib/pgsql/scripts/script.sql -c 10 -T 5 -U postgres postg
> res 2>/dev/null
> [postgres@postgres14p ~]$
> [postgres@postgres14p ~]$ echo $?
> 1
I suggest that you look at the error messages rather than sending
them to /dev/null.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: laurenz.albe@cybertec.at, tziss85@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: pgbench v14.2 and hostname
In-Reply-To: <8a34ac4629a955691ff841746e42b834cb0c67e8.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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