pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aaron Bono <postgresql@aranya.com>
To: ow <oneway_111@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Unique constraint and index-combination feature in 8.1
Date: Wed, 21 Jun 2006 09:30:30 -0500
Message-ID: <bf05e51c0606210730v90e815ar803d9d4cc44f5978@mail.gmail.com> (raw)
In-Reply-To: <20060620104037.61116.qmail@web53911.mail.yahoo.com>
References: <20060620104037.61116.qmail@web53911.mail.yahoo.com>

Are you saying you want to create a unique constraint across the indexes of
2 or more columns rather than across the columns themselves?

-Aaron

On 6/20/06, ow <oneway_111@yahoo.com> wrote:
>
>
> Hi,
>
> Is it somehow possible to create a UNIQUE constraint that relies on
> non-unique
> ONE-column indexes and uses index-combination feature in 8.1 ?
>
> The alternative, which we use now, is to create a unique MULTI-column
> index on
> the respective coulumns.
>
> Thanks
>
>

view thread (3+ messages)

Message-ID: <bf05e51c0606210730v90e815ar803d9d4cc44f5978@mail.gmail.com>
Permalink:  ../bf05e51c0606210730v90e815ar803d9d4cc44f5978@mail.gmail.com/
Also on:    postgresql.org/message-id/bf05e51c0606210730v90e815ar803d9d4cc44f5978@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: postgresql@aranya.com, oneway_111@yahoo.com
  Subject: Re: Unique constraint and index-combination feature in 8.1
  In-Reply-To: <bf05e51c0606210730v90e815ar803d9d4cc44f5978@mail.gmail.com>
  References: <20060620104037.61116.qmail@web53911.mail.yahoo.com> <bf05e51c0606210730v90e815ar803d9d4cc44f5978@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox