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

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values
Дата
Msg-id
200803051836.m25IaQl06279@momjian.us
Ответ на
Список
Дерево обсуждения
Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values Bruce Momjian <bruce@momjian.us>
Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values Phil Frost <phil@macprofessionals.com>
Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values Bruce Momjian <bruce@momjian.us>
Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values "Gurjeet Singh" <singh.gurjeet@gmail.com>
Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values Bruce Momjian <bruce@momjian.us>
Gurjeet Singh wrote:
> On Wed, Mar 5, 2008 at 10:39 PM, Tom Lane  wrote:
> 
> > Bruce Momjian  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          http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-docs по дате отправления
От: Joshua D. Drake
Дата:
Сообщение: Re: FAQ on Embedding Postgres
От: Joshua D. Drake
Дата:
Сообщение: Re: FAQ on Embedding Postgres
FAQ