psql bug: copy paste statements looses tab character

From: Marius Andreiana <marius(at)wdg(dot)ro>
To: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: psql bug: copy paste statements looses tab character
Date: 2002-01-16 07:15:16
Message-ID: 1011165316.1208.0.camel@aurora.wdg.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

this happens in 7.1.3 (included in red hat 7.2).

e.g.
CREATE TABLE items (
item_id SERIAL,
name VARCHAR(32)
);

copy pasted in psql gives this

marius=> CREATE TABLE items (
marius(> item_id

marius(> item_idSERIAL,
marius(> name

marius(> nameVARCHAR(32)
marius(> );
ERROR: parser: parse error at or near "("

this will work:
CREATE TABLE items (
item_id SERIAL,
name VARCHAR(32)
);

I've seen this behavior on sybase's sqsh once, perhaps it's something
system wide, and not psql's fault?

--
Marius Andreiana
--
You don't have to go to jail for helping your neighbour
http://www.gnu.org/philosophy/

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Koen Antonissen 2002-01-16 12:55:18 Count Total on a limited query?
Previous Message Tom Lane 2002-01-16 05:42:05 Re: Long-running DELETE