Is tab whitespace? - Mailing list pgsql-general

From ellen@wordbot.com
Subject Is tab whitespace?
Date
Msg-id 200008190543.WAA24735@www.wordbot.com
Whole thread Raw
Responses Re: Is tab whitespace?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I was surprised to find that the tab character seems not to be treated
as whitespace by psql (7.1).  Is this a bug or a feature?  Specifically,
the following command fails if there is a tab (\t) between "bar" and "init":t:"

ezmlm=> create table foo (bar    int);
ERROR:  parser: parse error at or near ";"

It succeeds if there is a space instead of a tab:

ezmlm=> create table foo (bar int);
CREATE

Ellen Spertus

pgsql-general by date:

Previous
From: Simon Brooke
Date:
Subject: Re: Linking legacy PHP stuff
Next
From: Nils Zonneveld
Date:
Subject: Re: Any MacOS X or Darwin installations?