Re: How to make an INSERT INTO to a view?

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to make an INSERT INTO to a view?
Date: 2009-07-30 19:57:13
Message-ID: 20090730195713.GA21457@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to Andre Lopes :
> Hi,
>  
> I'am new to PostGre... I need to insert to a view. For security measures the
> users will be only able to insert to views.
>  
> How can I do that? INSERT INTO a view in PostGreSQL

You have to create a rule.

http://www.postgresql.org/docs/8.3/static/rules-update.html

Regards, Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2009-07-30 19:58:47 Re: How to make an INSERT INTO to a view?
Previous Message Andre Lopes 2009-07-30 19:37:04 How to make an INSERT INTO to a view?