pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David M. Richter <d.richter@dkfz.de>
To: pgsql-admin@postgresql.org.pgsql-sql
Subject: View consistency
Date: Thu, 01 Nov 2001 15:20:31 +0100
Message-ID: <3BE15A2F.B0CDF610@dkfz.de> (raw)

Hello!

Im using several views for the Usermanagment of a database.
My question is: 

How does postgres keep the views consistent to the according tables( if
the original table has been changed)?

Is there a Rule? and how is the Rule invoked. With ON DELETE UPDATE
INSERT of the original table?
I didnt found any Rule in pg_rules. 
There should be a rule, because I cannot imagine another way wich tells
the view that the table has been changed.

The problem is: If updating the view takes too much time after every
little manipulation, I couldnt use views for usermanagement because of
performance problems.
Any hints and facts?

Thanks in advance

David

Attachments:

d.richter.vcf (text/x-vcard, 497B) download begin:vcard url;quoted-printable:http://mbi.DKFZ-Heidelberg.de/=0D=0A n:M. Richter;David x-mozilla-html:FALSE org:Deutsches Krebsforschungszentrum/German Cancer Research Center;Division Medizinische und Biologische Informatik version:2.1 email;internet:d.richter@dkfz-heidelberg.de adr;quoted-printable:;;Im Neuenheimer Feld 280 url: http://mbi.DKFZ-Heidelberg.de/=0D=0AD-69120 Heidelberg, Germany ;Heidelberg;Germany;; x-mozilla-cpt:;-17024 fn:David M. Richter end:vcard

view thread (6+ messages)  latest in thread

Message-ID: <3BE15A2F.B0CDF610@dkfz.de>
Permalink:  ../3BE15A2F.B0CDF610@dkfz.de/
Also on:    postgresql.org/message-id/3BE15A2F.B0CDF610@dkfz.de

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: d.richter@dkfz.de, pgsql-admin@postgresql.org.pgsql-sql
  Subject: Re: View consistency
  In-Reply-To: <3BE15A2F.B0CDF610@dkfz.de>

* 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