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 1nkKu1-0008GX-IO for pgsql-sql@arkaria.postgresql.org; Fri, 29 Apr 2022 07:18:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nkKu0-00041Q-CR for pgsql-sql@arkaria.postgresql.org; Fri, 29 Apr 2022 07:18:56 +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 1nkKu0-0003tg-2O for pgsql-sql@lists.postgresql.org; Fri, 29 Apr 2022 07:18:56 +0000 Received: from forward500j.mail.yandex.net ([5.45.198.250]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nkKtt-0005hF-4c for pgsql-sql@lists.postgresql.org; Fri, 29 Apr 2022 07:18:54 +0000 Received: from vla1-38e2a3439e30.qloud-c.yandex.net (vla1-38e2a3439e30.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:1e04:0:640:38e2:a343]) by forward500j.mail.yandex.net (Yandex) with ESMTP id 2C3586CB6966; Fri, 29 Apr 2022 10:18:45 +0300 (MSK) Received: from 2a02:6b8:c0d:3603:0:640:5413:378e (2a02:6b8:c0d:3603:0:640:5413:378e [2a02:6b8:c0d:3603:0:640:5413:378e]) by vla1-38e2a3439e30.qloud-c.yandex.net (mxback/Yandex) with HTTP id iI9ntFEhuKo1-IihiLNUA; Fri, 29 Apr 2022 10:18:44 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reddoc.net; s=mail; t=1651216724; bh=EWS/KrIEqdYtZSKYlRP1hyEvNQoso7e3I7Sh4Hfmu4A=; h=Message-Id:References:Date:Subject:In-Reply-To:To:From; b=rVMgKLISTxc/vBAcvoRHvM9cXb3xKytnD59RCel5BpKPuINGxYdoMMmsG9dWgFdDq 72A5TmJhLPR+7iXwljMCw7r+cW4UsnXvW0yKJ+lT0+/6ndarmXD8o4Efr+2kyuCbW5 TwN+8P3x9XC+MxK46H8d1+lCyU100W6LU4Wg9OHg= Authentication-Results: vla1-38e2a3439e30.qloud-c.yandex.net; dkim=pass header.i=@reddoc.net Received: by vla1-5413378edd9f.qloud-c.yandex.net with HTTP; Fri, 29 Apr 2022 10:18:44 +0300 From: Samed YILDIRIM To: Shaozhong SHI , pgsql-sql In-Reply-To: References: Subject: Re: How to use password in psql command line? MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 29 Apr 2022 10:18:44 +0300 Message-Id: <325751651216627@mail.yandex.com.tr> Content-Transfer-Encoding: 8bit Content-Type: text/html; charset=utf-8 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk
Hi David,
 
There are two options;
 
Best regards.
Samed YILDIRIM
 
 
 
28.04.2022, 12:11, "Shaozhong SHI" <shishaozhong@gmail.com>:
 
How can make this work by providing password in this command line?
 
Regards,
 
David