Rules, views, sequences and returned values - Mailing list pgsql-general

From DaVinci
Subject Rules, views, sequences and returned values
Date
Msg-id 20010323152356.A31307@fangorn.net
Whole thread Raw
List pgsql-general
 Hello. Only a question.

 I have a table and want to make a view updateable with rules. Table has a
 sequence that creates default value to primary key when inserting.

 And now the question: Is it posible to return value of primary key from
 rule of inserting with NEW? Is that value what i would get from extern
 calling to insert, instead of OID?.

 Thanks and good day :)

                                                     David

pgsql-general by date:

Previous
From: "Rod Taylor"
Date:
Subject: Lost Trigger(s)?
Next
From: "Gregory Wood"
Date:
Subject: Re: Rules, views, sequences and returned values