logo       

Re: [GENERAL] How to make an INSERT INTO to a view?: msg#01348

pgsql-general

Subject: Re: [GENERAL] How to make an INSERT INTO to a view?

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

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise