redundants indexes can be created

From: Cyril SCETBON <scetbon(at)echo(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: redundants indexes can be created
Date: 2008-07-04 09:54:37
Message-ID: 486DF35D.70603@echo.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi guys,

Why postgres does not disallow creating redundants indexes ? Is it the
same behaviour in postgresql 8.3 ?

postgres=# \d t1
Table "public.t1"
Column | Type | Modifiers
--------+-----------------------+-----------
id | integer | not null
name | character varying(20) |
Indexes:
"t1_pkey" PRIMARY KEY, btree (id)
"idx" btree (id)
"idx2" btree (id)
"idx3" btree (id)
"idx4" btree (id)
"idx5" btree (id)

Regards
--
Cyril SCETBON

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2008-07-04 10:02:58 Re: redundants indexes can be created
Previous Message Asko Oja 2008-07-04 07:54:07 Re: php + postgresql website ?