pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: T E Schmitz <mailreg@numerixtechnology.de>
To: pgsql-sql@postgresql.org
Subject: Re: psql -F <TAB>
Date: Thu, 16 Nov 2006 15:36:03 +0000
Message-ID: <455C8563.9030207@numerixtechnology.de> (raw)
In-Reply-To: <455C5B6E.1070403@joeconway.com>
References: <455C4918.4020604@numerixtechnology.de>
	<20061116115812.GB19298@alvh.no-ip.org>
	<455C54FE.5090902@numerixtechnology.de>
	<455C5B6E.1070403@joeconway.com>

Joe Conway wrote:
> T E Schmitz wrote:
> 
>> Alvaro Herrera wrote:
>>
>>> T E Schmitz wrote:
>>>
>>>> I have written a shell script to export data:
>>>>
>>>> psql -A -t -U $DBUSER -d $DB -c "$QUERY" -F ' '
>>>>
>>>> How can I specify a TAB character with the -F option?
> 
> Try:
>    psql -A -t -U $DBUSER -d $DB -c "$QUERY" -F $'\t'

You're a star - that does the trick!


Regards,

Tarlika Elisabeth Schmitz



view thread (6+ messages)

Message-ID: <455C8563.9030207@numerixtechnology.de>
Permalink:  ../455C8563.9030207@numerixtechnology.de/
Also on:    postgresql.org/message-id/455C8563.9030207@numerixtechnology.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mailreg@numerixtechnology.de
  Subject: Re: psql -F <TAB>
  In-Reply-To: <455C8563.9030207@numerixtechnology.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox