Re: [GENERAL] Setting the table separator in psql command mode

Поиск
Список
Период
Сортировка
От JohnDz
Тема Re: [GENERAL] Setting the table separator in psql command mode
Дата
Msg-id 357D058C.59E26D40@mailhost.valpak.com
обсуждение исходный текст
Ответ на Setting the table separator in psql command mode  (Mehrdad Ghassempoory <ghassempoory@cardiff.ac.uk>)
Ответы Re: [GENERAL] Setting the table separator in psql command mode  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Herouth Maoz
Дата:
Сообщение: Re: [GENERAL] Setting the table separator in psql command mode
Следующее
От: jerome doucerain
Дата:
Сообщение: ...