Re: unique constraint definition within create table - Mailing list pgsql-sql

From Andreas Kretschmer
Subject Re: unique constraint definition within create table
Date
Msg-id 20151208120534.GA5488@tux
Whole thread Raw
In response to Re: unique constraint definition within create table  (Vik Fearing <vik@2ndquadrant.fr>)
List pgsql-sql
Vik Fearing <vik@2ndquadrant.fr> wrote:

> > But is there a way to define the unique constraint within the create table - command?
> 
> You can use exclusion constraints for this.

Yeah!

Great. I love this exclusion constraint, but it doesn't occurred to me.


Andreas
-- 
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°



pgsql-sql by date:

Previous
From: test
Date:
Subject: 来自test的邮件
Next
From: Michael Moore
Date:
Subject: call by reference vs call by value