On Saturday, April 09, 2011 2:59:06 pm Carlos Mennens wrote:
>
> 
> Is there a difference between an INDEX and a CONSTRAINT?

Oops forgot to add this to my previous reply.

The short version, an INDEX is one form of a CONSTRAINT. For the long version 
look at the CREATE TABLE section of the docs. It shows the various CONSTRAINTS 
available for both columns and tables i.e NOT NULL, FOREIGN KEY, etc

-- 
Adrian Klaver
adrian.kla...@gmail.com

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to