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

From: Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il>
To: Mehrdad Ghassempoory <ghassempoory(at)cardiff(dot)ac(dot)uk>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Setting the table separator in psql command mode
Date: 1998-06-09 13:41:31
Message-ID: l03110706b1a2e9d709d2@[147.233.159.109]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 15:59 +0300 on 9/6/98, 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?

Seems impossible, for some reason. Why do you want to do that? The header
separator will be misaligned with the fields.

If you just want the data separated by tabs, you can use \copy. If you want
only some of the data, you can select it into a temporary table and then
use \copy.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma

In response to

Browse pgsql-general by date

  From Date Subject
Next Message jerome doucerain 1998-06-09 13:53:02
Previous Message Mehrdad Ghassempoory 1998-06-09 12:59:09 Setting the table separator in psql command mode