Unix Technical Forum

CREATE RULE.. RETURNING?

This is a discussion on CREATE RULE.. RETURNING? within the Pgsql General forums, part of the PostgreSQL category; --> > In a rule for INSERT, UPDATE, or DELETE on a view, you can add a RETURNING clause that ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 06:57 PM
Hannes Dorbath
 
Posts: n/a
Default CREATE RULE.. RETURNING?

> In a rule for INSERT, UPDATE, or DELETE on a view, you can add a RETURNING clause that emits the view's columns. This clause will be used to compute the outputs if the rule is triggered by an INSERT RETURNING, UPDATE RETURNING, or DELETE RETURNING command respectively.

Can someone enlighten me about the exact syntax to use this feature? I
just end up with syntax errors.

Thanks in advance.


--
Regards,
Hannes Dorbath
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:27 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com