Re: pgbench v14.2 and hostname

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Tomasz Ziss <tziss85(at)gmail(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: pgbench v14.2 and hostname
Date: 2022-03-07 10:49:24
Message-ID: 8a34ac4629a955691ff841746e42b834cb0c67e8.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)postgres14p ~]$ pgbench -h localhost -f
> /var/lib/pgsql/scripts/script.sql -c 10 -T 5 -U postgres postg
> res 2>/dev/null
> [postgres(at)postgres14p ~]$
> [postgres(at)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tomasz Ziss 2022-03-07 10:57:41 Re: pgbench v14.2 and hostname
Previous Message Tomasz Ziss 2022-03-07 10:46:52 pgbench v14.2 and hostname