Re: pgbench v14.2 and hostname - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: pgbench v14.2 and hostname
Date
Msg-id 8a34ac4629a955691ff841746e42b834cb0c67e8.camel@cybertec.at
Whole thread Raw
In response to pgbench v14.2 and hostname  (Tomasz Ziss <tziss85@gmail.com>)
Responses Re: pgbench v14.2 and hostname  (Tomasz Ziss <tziss85@gmail.com>)
Re: pgbench v14.2 and hostname  (Amit jain <amit7.jain@gmail.com>)
List 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@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




pgsql-admin by date:

Previous
From: Tomasz Ziss
Date:
Subject: pgbench v14.2 and hostname
Next
From: Tomasz Ziss
Date:
Subject: Re: pgbench v14.2 and hostname