public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: Gurjeet Singh <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: Phil Frost <[email protected]>
Cc: PostgreSQL-documentation <[email protected]>
Subject: Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values
Date: Wed, 5 Mar 2008 13:36:26 -0500 (EST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

Gurjeet Singh wrote:
> On Wed, Mar 5, 2008 at 10:39 PM, Tom Lane <[email protected]> wrote:
> 
> > Bruce Momjian <[email protected]> writes:
> > > Part of the problem is we don't know the length --- it is the compressed
> > > length that is limited, I think to 8k.
> >
> > That's a problem, and the length limit is different for different index
> > types.  So you're really not going to be able to say anything very
> > specific.  Another problem is where would you put the information?
> 
> 
> In 'CREATE INDEX'  docs...
> 
> http://www.postgresql.org/docs/8.3/interactive/sql-createindex.html
> 
> Along with the following statement:
> 
> method: The name of the index method to be used. Choices are btree, hash,
> gist, and gin. The default method is btree.

We are trying to figure out how to specify the index-type-specific length
limits, not the index types themselves.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

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




view thread (20+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox