Received: from frithjof.reiner (c79.dialin.tuwien.ac.at [192.35.243.89]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0VH4cq53898 for ; Wed, 31 Jan 2001 12:04:38 -0500 (EST) (envelope-from areiner@tph.tuwien.ac.at) Received: (qmail 1421 invoked by uid 500); 30 Jan 2001 22:20:28 -0000 From: "Albert REINER" Date: Tue, 30 Jan 2001 23:20:28 +0100 To: PostgreSQL-SQL Subject: Suggestion for psql: --file - Message-ID: <20010130232028.A1380@frithjof> Mail-Followup-To: PostgreSQL-SQL Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Archive-Number: 200101/485 X-Sequence-Number: 1161 Saluton, wouldn't it be a good idea (and if it is, I am not sure what list to post it to) to have psql's option -f / --file take "-" for stdin, as many programs do? In shell scripts this would facilitate using here-documents: cat <