From: Josh Berkus <josh@agliodbs.com>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Constraint problem
Date: Thu, 16 May 2002 12:30:23 -0700
Message-ID: <200205161230.23619.josh@agliodbs.com> (raw)
In-Reply-To: <20020516121101.S91494-100000@megazone23.bigpanda.com>
References: <20020516121101.S91494-100000@megazone23.bigpanda.com>
Stephan,
> > I don't seem to be able to create a UNIQUE constraint as DEFERRABLE. Is
this
> > not supported?
>
> Not currently.
Hmm ... my workaround didn't work. I need to impose a unique constraint on
an INT column in a table, but make sure that the constraint isn't checked
until the end of an UPDATE statement, so that I can swap values when I need
to.
How can I do this?
--
-Josh Berkus
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
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: josh@agliodbs.com, sszabo@megazone23.bigpanda.com
Subject: Re: Constraint problem
In-Reply-To: <200205161230.23619.josh@agliodbs.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