Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Rules Questions



Hi, 

I am looking at the rules section of the postgres doc's and have a few
questions.

IS it possible to have a rule modify a WHERE clause, and what happens if
the rule adds a clause that is in the original clause?

And, assuming that above is possible, cab it be overriden?  For example
I would like to have a rule that adds a WHERE clause of status<>'DELETE'
as an example, so that my client app does not need to have this clause
in very select. 

But at other times I woulkd like to be able to select all rows where the
statsu is delete.




-- 

  Rob Brown-Bayliss
 ---======o======---




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group