Quantcast
Channel: Planet PostgreSQL
Viewing all articles
Browse latest Browse all 9654

David Fetter: VIEW triggers RETURNING...

$
0
0
Thanks to alecm on freenode for the idea.

Access control is an excellent reason for allowing writes to a VIEW but not to the underlying table. You would ideally like that VIEW to act exactly like a TABLE, but when you put an INSTEAD OF trigger in there, what's coming back isn't necessarily what you'd expect...


Continue reading "VIEW triggers RETURNING..."

Viewing all articles
Browse latest Browse all 9654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>