| From: | Josh Berkus <josh(at)agliodbs(dot)com> |
|---|---|
| To: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: Constraint problem |
| Date: | 2002-05-16 19:30:23 |
| Message-ID: | 200205161230.23619.josh@agliodbs.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
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(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joel Burton | 2002-05-16 20:14:05 | Re: SQL over my head... |
| Previous Message | Josh Berkus | 2002-05-16 19:12:16 | Re: Constraint problem |