psql bug: copy paste statements looses tab character

From: Marius Andreiana <marius(at)webdevgroup(dot)com>
To: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: psql bug: copy paste statements looses tab character
Date: 2002-01-14 18:00:54
Message-ID: 1011031257.2224.22.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
Web Development Group, Inc.

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2002-01-14 18:07:57 Re: CREATE TABLE glitch -fix request for 7.2
Previous Message Josh Berkus 2002-01-14 16:47:14 CREATE TABLE glitch -fix request for 7.2