data access automatic filter - Mailing list pgsql-hackers

From rcolmegna@tiscali.it
Subject data access automatic filter
Date
Msg-id 26560683.1194680866374.JavaMail.root@ps7
Whole thread Raw
Responses Re: data access automatic filter
List pgsql-hackers
Hi,

I'm evaluating the option of write a PG-extension which allow the
application to apply some per-connection filters. This filters work at
table level and remove records which aren't allowed from a select
result-set.

Example:
CREATE CONNECTION DATA FILTER my_filter CHECKING my_table.my_field=5;

A "SELECT * FROM my_table" will only return all the rows with
"field=5"

Could someone tell me which is the PG source files which I could
change?

TIA


Tiscali Tandem Free (Telefono+Adsl). Attiva entro il giorno 15/11/07: chiami in tutta Italia e navighi senza limiti a
SOLI9,95 € AL MESE FINO A PRIMAVERA 2008! 
http://abbonati.tiscali.it/adsl/prodotti/tc/tandemfree_tel_cc/



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [BUGS] Nasty tsvector can make dumps unrestorable
Next
From: Abhijit Menon-Sen
Date:
Subject: sqlstate 22P06 is a warning in an error's clothing