Triggering a table id from a sequence

From: Lan Barnes <lan(at)falleagle(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Triggering a table id from a sequence
Date: 2006-04-10 23:53:27
Message-ID: 20060410235327.GA22503@falleagle.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

My desire is to have a table auto update an "id" sequence on every
insert, relieving the front end program of the responsibility.

I've never written a trigger. I imagine that there may be a contrib
trove of them.

There may also be an easier way to approach the problem. Please feel
free to refer me to books or web sites.

TIA,

--
Lan Barnes lan(at)falleagle(dot)net
Linux Guy, SCM Specialist 858-354-0616
Tcl/Tk Enthusiast

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message me 2006-04-11 00:55:10 Re: PostgreSQL a slow DB?
Previous Message operationsengineer1 2006-04-10 23:47:46 Re: PostgreSQL a slow DB?