Re: What is field separator?

From: Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu>
To: Gabriele Bartolini <gabriele(dot)bartolini(at)2ndQuadrant(dot)it>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: What is field separator?
Date: 2010-05-31 03:25:26
Message-ID: C8287A36.AF1E%tsakai@gallo.ucsf.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thank you, Gabriele.

Now I realize "context sensitive" nature of field separator.

Regards,

Tena Sakai
tsakai(at)gallo(dot)ucsf(dot)edu

On 5/30/10 1:37 AM, "Gabriele Bartolini" <gabriele(dot)bartolini(at)2ndQuadrant(dot)it>
wrote:

> Tena Sakai ha scritto:
>> Can somebody please tell me what ³|² is called in my example above?
>> And is it possible to change it from ³|² to something else for
>> display purpose?
> The field separatore in psql is used only when the format is "unaligned"
> (which does not happen to be default).
>
> In order for it to be effective, you need to type in psql:
>
> \pset format unaligned
> \pset fieldsep '\t'
>
> This will give you an output with columns that are separated by tab.
>
> However, I suggest that you look at the documentation for more options
> and ways to achive the same results:
> http://www.postgresql.org/docs/current/static/app-psql.html
>
> Cheers,
> Gabriele

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Iñigo Martinez Lasala 2010-05-31 07:51:52 Re: 答复: About "Context-switch storm" problem
Previous Message 黄永卫 2010-05-31 02:43:55 答复: About "Context-switch storm" problem