Rules, views, sequences and returned values

From: DaVinci <bombadil(at)wanadoo(dot)es>
To: Lista PostgreSql <pgsql-general(at)postgresql(dot)org>
Subject: Rules, views, sequences and returned values
Date: 2001-03-23 14:23:56
Message-ID: 20010323152356.A31307@fangorn.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Wood 2001-03-23 14:53:49 Re: Rules, views, sequences and returned values
Previous Message Gyan 2001-03-23 14:21:24 query problem