pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marius Andreiana <marius@wdg.ro>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: psql bug: copy paste statements looses tab character
Date: 16 Jan 2002 09:15:16 +0200
Message-ID: <1011165316.1208.0.camel@aurora.wdg.ro> (raw)

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/




view thread (5+ messages)  latest in thread

Message-ID: <1011165316.1208.0.camel@aurora.wdg.ro>
Permalink:  ../1011165316.1208.0.camel@aurora.wdg.ro/
Also on:    postgresql.org/message-id/1011165316.1208.0.camel@aurora.wdg.ro

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: marius@wdg.ro
  Subject: Re: psql bug: copy paste statements looses tab character
  In-Reply-To: <1011165316.1208.0.camel@aurora.wdg.ro>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox