| From: | SZUCS Gábor <surrano(at)mailbox(dot)hu> |
|---|---|
| To: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: adddepend and partial indexes |
| Date: | 2003-06-17 15:32:58 |
| Message-ID: | 02a601c334e5$bfdb95e0$0403a8c0@fejleszt4 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Dear Bruno,
I have no prob with "create index". I have prob with "alter table". A
figured that adddepend would do the index via "alter table" to ensure
dependencies.
Dear Stephan,
thanks for your opinion. I think I can ignore adddepend's parse errors on
this; however:
Is there a bug-report or fix-report or CVS place for adddepend? I'd gladly
do a quick-fix for this and the opclass thing (if someone helps with that
one).
G.
------------------------------- cut here -------------------------------
----- Original Message -----
From: "Bruno Wolff III" <bruno(at)wolff(dot)to>
Sent: Tuesday, June 17, 2003 5:04 PM
> On Tue, Jun 17, 2003 at 07:48:06 -0700,
> Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> wrote:
> >
> > AFAIK there's no such thing as a partial unique constraint so the index
> > should probably just be left alone.
>
> bruno=> create table test (col int);
> CREATE TABLE
> bruno=> create unique index test1 on test(col) where col < 100;
> CREATE INDEX
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-06-17 15:38:51 | Re: Sort memory not being released |
| Previous Message | Mike Mascari | 2003-06-17 15:32:31 | Re: Request for advice: Table design |