> > I started to look at the triggers documentation and was immediately
> > dismayed to discover that I would have compile code to create a
> > trigger. I have been using the old "rules" mechanism to
> automatically
> > put a sequence number into a tuple when inserting new rows. Are my
> > choices limited to just (1) compiled code, and (2) the old rules
> > mechanism?
>
> if you insert a new row, isn't the sequence automatically inserted?
>
It is if you use table defaults. (see 'create table', and 'netval()')
-DEJ