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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: john_dzilvelis(at)sunserv1(dot)valpak(dot)com (JohnDz)
Cc: ghassempoory(at)cardiff(dot)ac(dot)uk, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Setting the table separator in psql command mode
Date: 1998-06-09 16:41:53
Message-ID: 199806091641.MAA09509@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 ' '

6.4 will have this working as your originally expected.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Responses

  • HELP at 1998-06-10 20:04:54 from Ricardo Romero

Browse pgsql-general by date

  From Date Subject
Next Message Chris Edsall 1998-06-10 02:18:27
Previous Message Jose' Soares Da Silva 1998-06-09 15:57:35 Re: [GENERAL] Setting the table separator in psql command mode