Re: INHERITS doesn't offer enough functionality - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: INHERITS doesn't offer enough functionality
Date
Msg-id 39EEC127.CFD0ABF3@tpf.co.jp
Whole thread Raw
In response to Re: INHERITS doesn't offer enough functionality  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-hackers

Chris wrote:

> It's pretty clear to me that an inherited index should be only one
> index. There may be a case for optional non-inherited indexes (CREATE
> INDEX ON ONLY foobar), but if the index is inherited, it is just one
> index.
>
> At the end of the day though, the reason is only performance. The
> semantics should be the same no matter whether implemented as multiple
> indexes or not. Performance is much better with one index though.(*)
>

Is it true ?
How to guarantee the uniqueness using multiple indexes ?

Regards.
Hiroshi Inoue



pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: AW: Backup, restore & pg_dump
Next
From: Vince Vielhaber
Date:
Subject: Re: Re: pg_dump docs