Bug with char() type

From: PostgreSQL <postgres(at)linux(dot)tpd(dot)deuroconsult(dot)ro>
To: PostgreSQL-development <hackers(at)postgreSQL(dot)org>
Subject: Bug with char() type
Date: 1998-02-05 22:01:34
Message-ID: Pine.LNX.3.96.980205235801.5451A-100000@linux.tpd.deuroconsult.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Snapshot of 2 feb:

postgres=> create table one (str char(52));
CREATE
postgres=> insert into one values ('Salut!');
INSERT 546025 1
postgres=> create table two (str char(52));
CREATE
postgres=> insert into two select * from one;
ERROR: Length of str is longer than length of target column str

Good luck!

Costin Oproiu

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-02-05 23:03:09 Re: [HACKERS] PL code and fmgr_addr
Previous Message Tom 1998-02-05 21:48:10 Re: [HACKERS] create function bug?