Bug with char() type - Mailing list pgsql-hackers

From PostgreSQL
Subject Bug with char() type
Date
Msg-id Pine.LNX.3.96.980205235801.5451A-100000@linux.tpd.deuroconsult.ro
Whole thread Raw
List 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


pgsql-hackers by date:

Previous
From: Brett McCormick
Date:
Subject: Re: [HACKERS] create function bug?
Next
From: Tom
Date:
Subject: Re: [HACKERS] create function bug?