Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values
Date
Msg-id 200803051656.m25GuiO17779@momjian.us
Whole thread Raw
In response to Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values  (Phil Frost <phil@macprofessionals.com>)
Responses Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values
List 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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

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

pgsql-docs by date:

Previous
From: Phil Frost
Date:
Subject: Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values
Next
From: Tom Lane
Date:
Subject: Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values