Re: SELECT bug? - Mailing list pgsql-bugs

From Jacek Kalinski
Subject Re: SELECT bug?
Date
Msg-id 3EFC0A6A.1010306@o2.pl
Whole thread Raw
In response to Re: SELECT bug?  ("Ace" <a_s@poczta.fm>)
List pgsql-bugs
Dnia 06/26/2003 11:12 PM, Ace napisa³(a):
> Check the CREATE TABLE statement. Possibly you use VARCHAR type and your
> data has trailling spaces. Try to TRIM all the data in your database or
> remove trailling spaces using text editor.

I don't use VARCHAR, but TEXT type. I also checked, but there are no
leading or trailing spaces.
Maybe it will be easiest when I show the table:

CREATE SEQUENCE authors_seq
     START 1
     INCREMENT 1
     MAXVALUE 9223372036854775807
     MINVALUE 1
     CACHE 1;

CREATE TABLE authors (
     id bigint DEFAULT nextval('authors_seq'::text) NOT NULL,
     original text DEFAULT '' NOT NULL,
     usable text DEFAULT '' NOT NULL
) WITHOUT OIDS;

ALTER TABLE ONLY authors
     ADD CONSTRAINT authors_pkey PRIMARY KEY (id);

Jack

pgsql-bugs by date:

Previous
From: "Kallol Nandi"
Date:
Subject: Re: PostgreSQL problem with Triggers
Next
From: "Azam ."
Date:
Subject: DBCP borrowObject failed