From: Grant Finnemore <gaf@ucs.co.za>
To: Anatoly K. Lasareff <tolik@aaanet.ru>
Cc: Emils Klotins <emils@dot.lv>
Cc: pgsql-sql@postgresql.org
Subject: Re: trigger or something else?
Date: Mon, 03 Jul 2000 11:34:46 +0200
Message-ID: <39605E36.589B6F35@ucs.co.za> (raw)
References: <3959EFA4.13956.28AD4E96@localhost>
<87bt0mkr7y.fsf@tolikus.hq.aaanet.ru>
> I suppose you can use view for your need. For example:
>
...
> Unfortunately this way suits for select only, not for 'insert into b'
> and 'update b' statement.
>
Except that you can use rules to update/insert data into tables when an
insert/update is done on the view. See the docs for details on how to do this.
>
> --
> Anatoly K. Lasareff Email: tolik@aaanet.ru
Grant
--
> Poorly planned software requires a genius to write it
> and a hero to use it.
Grant Finnemore BSc(Eng) (mailto:gaf@ucs.co.za)
Software Engineer Universal Computer Services
Tel (+27)(11)712-1366 PO Box 31266 Braamfontein 2017, South Africa
Cell (+27)(82)604-5536 20th Floor, 209 Smit St., Braamfontein
Fax (+27)(11)339-3421 Johannesburg, South Africa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: gaf@ucs.co.za, tolik@aaanet.ru, emils@dot.lv
Subject: Re: trigger or something else?
In-Reply-To: <39605E36.589B6F35@ucs.co.za>
References: <3959EFA4.13956.28AD4E96@localhost> <87bt0mkr7y.fsf@tolikus.hq.aaanet.ru> <39605E36.589B6F35@ucs.co.za>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox