Skip site navigation (1) Skip section navigation (2)

Re: Composed Key and autoincrement

From: joe speigle <joeofclew(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Composed Key and autoincrement
Date: 2007-02-06 10:11:42
Message-ID: 405930.55897.qm@web60719.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-novice
you could put your business logic into a trigger which is called on
insert, postgres (and me) don't know why or when you want to change the
second column.  
Or, you could make a constraint on the column (maybe?)




 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

pgsql-novice by date

Next:From: Sue FittDate: 2007-02-06 10:18:08
Subject: Re: Stored Procedure to return a result set
Previous:From: Shane AmblerDate: 2007-02-06 09:48:41
Subject: Re: is there more documentation?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group