How to define automatic filter condition? - Mailing list pgsql-general

From Csaba Együd
Subject How to define automatic filter condition?
Date
Msg-id gfdvcl$2eg5$1@news.hub.org
Whole thread Raw
Responses Re: How to define automatic filter condition?  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List pgsql-general
Hi All,

--PG8.3
--Windows 2k3 SBS

I would like to apply an automatic filter condition to a table. I create a
TEMP table at the beginning of the session to store a value to build up a
filter condition and I would like to apply this condition to every select
statement to a table during the current session.
I know that I could use views but views are read only and I also need Update
and Insert.

Could anybody turn my head to the right direction?

Thank you,

-- Csaba



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: still gin index creation takes forever
Next
From: "A. Kretschmer"
Date:
Subject: Re: How to define automatic filter condition?