Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id C57014759F2 for ; Tue, 9 Jul 2002 13:43:48 -0400 (EDT) Mailbox-Line: From kevinb@nurseamerica.net Tue Jul 9 13:43:48 2002 Received: from dilbert.nurseamerica.net (unknown [207.53.237.114]) by postgresql.org (Postfix) with ESMTP id 6DBA64762C7 for ; Tue, 9 Jul 2002 10:38:52 -0400 (EDT) Received: from nurseamerica.net (archimedes.myrdin.net [206.176.158.41]) by dilbert.nurseamerica.net (8.11.6/8.11.6) with ESMTP id g69Ecuj09248 for ; Tue, 9 Jul 2002 09:38:56 -0500 Message-ID: <3D2AF57E.9000701@nurseamerica.net> Date: Tue, 09 Jul 2002 09:38:54 -0500 From: Kevin Brannen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Authentication in batch processing References: <200207041616.g64GGD800114@candle.pha.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.5 required=5.0 tests=RCVD_IN_RFCI version=2.30 X-Spam-Level: X-Archive-Number: 200207/147 X-Sequence-Number: 4833 Bruce Momjian wrote: ... > > 7.3 may remove PGPASSWORD, I think, and instead allow you to specify a > file that contains the password. But do you know how many hours it took me to find out about PGPASSWORD in the docs and now you want to change that? :-) How about all 4 approaches: on the command-line, from an env-var, from a file, and finally prompting if there's a tty. Pick any order you want on the first 3, but flexibility is important, and circumstances do change over time that may make 1 more desireable then the others. Just a thought... Kevin