Re: tabs in psql

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Seb <spluque(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tabs in psql
Date: 2008-03-24 01:15:55
Message-ID: 20080323181555.56dc128f@jd-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 23 Mar 2008 20:01:28 -0500
Seb <spluque(at)gmail(dot)com> wrote:

> Thanks Joshua, that is the problem I wanted to illustrate; i.e.
> whenever a tab separates the field name from the data type spec, the
> tab character gets swallowed and psql cannot parse correctly. So it
> seems tabs are not interpreted as simple white space, and it should
> not be used in this case, am I right?

Actually that would make sense as psql supports tab complete so if the
terminal interprets a tab, it isn't going to treat it as spaces. I
would suggest changing your editor to treat tabs as 4 spaces.

Sincerely,

Joshua D. Drake

--
The PostgreSQL Company since 1997: http://www.commandprompt.com/
PostgreSQL Community Conference: http://www.postgresqlconference.org/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL SPI Liaison | SPI Director | PostgreSQL political pundit

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Seb 2008-03-24 01:26:50 Re: tabs in psql
Previous Message Seb 2008-03-24 01:01:28 Re: tabs in psql