From: | "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Bruce Momjian" <bruce(at)momjian(dot)us>, "Phil Frost" <phil(at)macprofessionals(dot)com>, 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 18:30:33 |
Message-ID: | 65937bea0803051030q6b8800c0pb6db4e7cae0bb45e@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-docs |
On Wed, Mar 5, 2008 at 10:39 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> 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.
Best regards,
--
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | indiatimes | yahoo }.com
EnterpriseDB http://www.enterprisedb.com
17° 29' 34.37"N, 78° 30' 59.76"E - Hyderabad *
18° 32' 57.25"N, 73° 56' 25.42"E - Pune
37° 47' 19.72"N, 122° 24' 1.69" W - San Francisco
Mail sent from my BlackLaptop device
From | Date | Subject | |
---|---|---|---|
Next Message | Renato Gravino Neto | 2008-03-05 18:31:52 | BUG #4012: bug in pg_query |
Previous Message | Tom Lane | 2008-03-05 17:09:44 | Re: Re: [BUGS] BUG #3965: UNIQUE constraint fails on long column values |
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2008-03-05 18:30:43 | Re: FAQ on Embedding Postgres |
Previous Message | David Fetter | 2008-03-05 18:25:00 | Re: FAQ on Embedding Postgres |