[EMAIL PROTECTED] wrote:
> I have the strange scenario where one of my tables has a primary key with a
> datatype of varchar, and one record in that table has an empty string key i.e.
>
> create table test (
> id VARCHAR(255) NOT NULL,
> test TEXT,
> PRIMARY KEY (id)
> ) WITHOUT OIDS;
I have the strange scenario where one of my tables has a primary key with a
datatype of varchar, and one record in that table has an empty string key i.e.
create table test (
id VARCHAR(255) NOT NULL,
test TEXT,
PRIMARY KEY (id)
) WITHOUT OIDS;
INSERT INTO test (id,test) VALUES ('',