Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 4609B47651B for ; Thu, 16 May 2002 15:30:56 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 8161C475C36 for ; Thu, 16 May 2002 15:28:48 -0400 (EDT) Received: from [209.122.114.82] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1462058; Thu, 16 May 2002 12:28:48 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Stephan Szabo Subject: Re: Constraint problem Date: Thu, 16 May 2002 12:30:23 -0700 X-Mailer: KMail [version 1.4] References: <20020516121101.S91494-100000@megazone23.bigpanda.com> In-Reply-To: <20020516121101.S91494-100000@megazone23.bigpanda.com> Cc: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205161230.23619.josh@agliodbs.com> X-Archive-Number: 200205/172 X-Sequence-Number: 7807 Stephan, > > I don't seem to be able to create a UNIQUE constraint as DEFERRABLE. I= s=20 this > > not supported? >=20 > Not currently. Hmm ... my workaround didn't work. I need to impose a unique constraint o= n=20 an INT column in a table, but make sure that the constraint isn't checked= =20 until the end of an UPDATE statement, so that I can swap values when I need= =20 to. How can I do this? --=20 -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