Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRAvi-0002zd-HM for pgsql-admin@arkaria.postgresql.org; Mon, 07 Mar 2022 10:49:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nRAvh-0002eB-BJ for pgsql-admin@arkaria.postgresql.org; Mon, 07 Mar 2022 10:49:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRAvh-0002dv-0z for pgsql-admin@lists.postgresql.org; Mon, 07 Mar 2022 10:49:29 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nRAve-0004C2-IF for pgsql-admin@lists.postgresql.org; Mon, 07 Mar 2022 10:49:27 +0000 Received: by mail-ej1-x62e.google.com with SMTP id r13so30974363ejd.5 for ; Mon, 07 Mar 2022 02:49:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=KeJypxtLcPT9YlnS22St82dQmj/VU7QkH/RPe33ATy0=; b=WD/s1L4gee4Owl8WU1dsEUb00it+ZK+rQ+Vh6l4xGF2xLo9BqNGi9PMHpd2W0Tr5ek DsxJjTCvXiNdVCvqPNVkIio4DWnLwuSde7WZJ2I0HbUdjXXEutota56LJ4WOZU+SLKgp Ija/TKviKgjnN9raZK4nKB6n346yLUTJXaC++L7ZRRda78ZJV//XR2zJcLJBZ0iXPyAp wHkzZknDBAPpiJKhTtyL/tUPAAnWhTk9XNbqVeUw5dpGJHIzRxn+Lnw4cxfpycu/Mmfb l+tFW2A/VVAJpoifaoD923YRNEPmhIA5OrV/2CUdiPlu+vKU1YVNouHo5Fps7Q55tfCZ oySw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=KeJypxtLcPT9YlnS22St82dQmj/VU7QkH/RPe33ATy0=; b=hIEVVlthRdXqum8KqTw/73NFs3y4BYQ9rFhklZ8SmKiDbYGagyHRcoAzPkqBSJZmcg 8Fq78EsGI/DnEZYnY846yTae5evBFAPafMuT3J8t5D5O596ugduYagr9tTzC4pcEqXJK HBwJkFmlVlxg2w7Hbr8jaKYN9l8A+GxIlLwCyxKJWh9EAxwlmoGCjO/l7nOnlyfCvxpF 1kxmImSESoDgoUqcF0Vxu1IHI6M4XL8v7sSAgPOcqZmbYhkEvg/0W7/gf8wCi2D0lnKv yHpG0w/8f0kVTiqy+B12DYg49cWJjc1h0JIiEeNYobGYTQN3Y7nzl6a/GphLkNC1YzCU P3GA== X-Gm-Message-State: AOAM532lDuFjpNPT/k21lBqObRLB1jrSQCct7MQF/clc9sgfNotNRej2 MsuLUciAr/5qhw4/IK9KuhWd9A== X-Google-Smtp-Source: ABdhPJxhoanrrPh/m/l3197vyMZ1b8lyF7dttjFM/DpsmoU4HNe+BToiIH0aH+Q+V6bQo5jdJCfUgg== X-Received: by 2002:a17:906:30cf:b0:6da:9da6:b360 with SMTP id b15-20020a17090630cf00b006da9da6b360mr8194705ejb.743.1646650165023; Mon, 07 Mar 2022 02:49:25 -0800 (PST) Received: from localhost.localdomain ([2001:871:5e:37ec:2f5d:b961:10e3:22ff]) by smtp.gmail.com with ESMTPSA id et3-20020a170907294300b006d6534ef273sm4523532ejc.156.2022.03.07.02.49.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Mar 2022 02:49:24 -0800 (PST) Message-ID: <8a34ac4629a955691ff841746e42b834cb0c67e8.camel@cybertec.at> Subject: Re: pgbench v14.2 and hostname From: Laurenz Albe To: Tomasz Ziss , pgsql-admin@lists.postgresql.org Date: Mon, 07 Mar 2022 11:49:24 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-3.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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