Received: from alf.zfn.uni-bremen.de (alf.zfn.uni-bremen.de [134.102.20.22]) by hub.org (8.10.1/8.10.1) with ESMTP id e73B3SG74445 for ; Thu, 3 Aug 2000 07:03:29 -0400 (EDT) Received: from pandora3.vmnet.localnet (IDENT:root@tnt136.zfn.uni-bremen.de [134.102.7.136]) by alf.zfn.uni-bremen.de (8.9.1a/8.9.1/ZfNServer) with ESMTP id NAA75548 for ; Thu, 3 Aug 2000 13:02:43 +0200 Received: (from umehlig@localhost) by pandora3.vmnet.localnet (8.9.3/8.9.1) id NAA01854; Thu, 3 Aug 2000 13:00:03 +0200 From: Ulf Mehlig X-Authentication-Warning: pandora3.vmnet.localnet: umehlig set sender to umehlig@pandora3.vmnet.localnet using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14729.20659.553604.985113@pandora3.vmnet.localnet> Date: Thu, 3 Aug 2000 13:00:03 +0200 (CEST) To: pgsql-interfaces@postgresql.org Subject: field sep in psql X-Mailer: VM 6.75 under Emacs 20.4.1 Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/33 Hello out there, I'm not able to set the field separator in psql, not by "\f", nor by "-F" (strange thing, I know it worked some months ago): - [using i386 Linux 2.2.15] ------------------------------------------ $ psql --version psql (PostgreSQL) 7.0.2 contains readline, history support [...] $ psql -F ' ' Welcome to psql, the PostgreSQL interactive terminal. [...] db=# \f Field separator is ' '. db=# select * from something; xxx | yyy -----+------------ 0 | some_data 1 | other_data [...] (17 rows) ---------------------------------------------------------------------- Do you have any suggestions? BTW, I think it would be useful to have an option to separately turn off the "(x rows)" line -- this is hardly ever useful if you want to export data to another program, but the table headers sometimes are (so you cannot use "\t"). Equally, in my opinion there could be an option to switch off the pretty ASCII-art line separating the table header from the table data. Of course, you can filter output through a clean-up script (that's what I do as long as the separator remains '|'). Thank you for your attention, Ulf -- ====================================================================== Ulf Mehlig Center for Tropical Marine Ecology/ZMT, Bremen, Germany ----------------------------------------------------------------------