pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Marshall <ktm@rice.edu>
To: Ozer, Pam <pozer@automotive.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Question Regarding Unique Index on Table
Date: Thu, 23 Sep 2010 13:33:02 -0500
Message-ID: <20100923183302.GB17736@aart.is.rice.edu> (raw)
In-Reply-To: <216FFB77CBFAEE4B8EE4DF0A939FF1D10182A9@mail-001.corp.automotive.com>
References: <216FFB77CBFAEE4B8EE4DF0A939FF1D10182A9@mail-001.corp.automotive.com>

9.0 allows you to defer unique constraints.

Ken

On Thu, Sep 23, 2010 at 10:18:39AM -0700, Ozer, Pam wrote:
> Is it possible to disable a unique index?  I have a process that's
> running that inserts duplicate records into a table and then does a
> cleanup afterwards.  I know that I can drop the index and rebuild.  I
> just didn't know if there was disable the uniqueness temporarily.
> 
>  
> 
> thanks
> 
>  
> 
> Pam Ozer



view thread (2+ messages)

Message-ID: <20100923183302.GB17736@aart.is.rice.edu>
Permalink:  ../20100923183302.GB17736@aart.is.rice.edu/
Also on:    postgresql.org/message-id/20100923183302.GB17736@aart.is.rice.edu

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ktm@rice.edu, pozer@automotive.com
  Subject: Re: Question Regarding Unique Index on Table
  In-Reply-To: <20100923183302.GB17736@aart.is.rice.edu>

* 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