Re: [GENERAL] Setting the table separator in psql command mode - Mailing list pgsql-general

From JohnDz
Subject Re: [GENERAL] Setting the table separator in psql command mode
Date
Msg-id 357D058C.59E26D40@mailhost.valpak.com
Whole thread Raw
In response to Setting the table separator in psql command mode  (Mehrdad Ghassempoory <ghassempoory@cardiff.ac.uk>)
Responses Re: [GENERAL] Setting the table separator in psql command mode  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-general
Mehrdad Ghassempoory wrote:
>
> I am trying to set up the table separator (Default "|") to TAB
> caharcter.
>
> I have tried :
>
> \f\t
> \f \t
> \f '\t'
>
> Without any luck.
> How is it done?

I found that the following works:

psql -F '    ' yourdatabasename

where a tab character is inserted in between the ' '



--
-----------------------------------------------------------------
|John Dzilvelis                                                 |
-----------------------------------------------------------------

pgsql-general by date:

Previous
From: Herouth Maoz
Date:
Subject: Re: [GENERAL] Setting the table separator in psql command mode
Next
From: jerome doucerain
Date:
Subject: ...