Re: pg_index question - Mailing list pgsql-general

From Terry Lee Tucker
Subject Re: pg_index question
Date
Msg-id 200503251630.31833.terry@esc1.com
Whole thread Raw
In response to pg_index question  (Terry Lee Tucker <terry@esc1.com>)
Responses Re: pg_index question  (Scott Marlowe <smarlowe@g2switchworks.com>)
List pgsql-general
To answer my own question, "No it won't work." I still get a unique constraint
error.

On Friday 25 March 2005 04:10 pm, Terry Lee Tucker saith:
> Hi,
>
> If I were to set the value of pg_class.indisunique on a unique index to
> False inside a transaction so I could juggle sequence numbers around on a
> table with a unique two element index, and then set it back again to its
> proper value, all in the same transaction, would that allow me to
> temorarily override the unique index behavior? Is it safe to temporarily
> change the value of that column?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--

pgsql-general by date:

Previous
From: Terry Lee Tucker
Date:
Subject: pg_index question
Next
From: Scott Marlowe
Date:
Subject: Re: pg_index question