From: | "Jyoti Seth" <jyotiseth2001(at)gmail(dot)com> |
---|---|
To: | <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: unique constraint on views |
Date: | 2008-12-11 04:04:19 |
Message-ID: | 002101c95b45$8ddc5cf0$a99516d0$@com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
I want to put unique constraint on columns of more than one table.
-----Original Message-----
From: pgsql-sql-owner(at)postgresql(dot)org [mailto:pgsql-sql-owner(at)postgresql(dot)org]
On Behalf Of A. Kretschmer
Sent: Wednesday, December 10, 2008 6:04 PM
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] unique constraint on views
In response to Jyoti Seth :
> Hi All,
>
> Is it possible to add unique constraint on updateable views in postgres?
Add the constraint to the base-table.
Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
From | Date | Subject | |
---|---|---|---|
Next Message | Pascal Tufenkji | 2008-12-11 09:33:30 | Re: Is there a bug in PostgreSQL ? |
Previous Message | Allan Kamau | 2008-12-11 03:52:20 | Re: Collapsing (select) row values into single text field. |