Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Phil Frost <phil(at)macprofessionals(dot)com>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values
Date: 2008-03-05 16:56:44
Message-ID: 200803051656.m25GuiO17779@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-docs

Phil Frost wrote:
> On Mar 5, 2008, at 11:20 , Bruce Momjian wrote:
>
> >
> > Does anyone think it is a good idea to document that our indexes
> > cannot
> > index arbirarily-long strings? I see nothing in the documentation now
> > about it.
>
> +1
>
> I never even knew. I'd be especially interested to hear about
> details, like how long strings can be until they are not guaranteed
> unique.

Part of the problem is we don't know the length --- it is the compressed
length that is limited, I think to 8k.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-03-05 17:09:44 Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values
Previous Message Laurent Birtz 2008-03-05 16:44:57 Re: LISTEN/NOTIFY race condition?

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2008-03-05 17:09:44 Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values
Previous Message Phil Frost 2008-03-05 16:32:57 Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values