[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-sql
Subject: Re: [SQL] psql -F <TAB>
From: T E Schmitz <mailreg () numerixtechnology ! de>
Date: 2006-11-16 15:36:03
Message-ID: 455C8563.9030207 () numerixtechnology ! de
[Download RAW message or body]
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
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic