[Spanish] Triggers en Postgresql

Mauricio Miranda mmiranda at osgeo.org
Tue Dec 9 11:36:32 PST 2014


Javi, pegale una mirada a pgaudit [1], creo que tiene lo que estás buscando
ya solucionado.

[1] https://github.com/2ndQuadrant/pgaudit

2014-12-09 15:50 GMT-03:00 martinmaximilianoflores <
martinmaximilianoflores en yahoo.com.ar>:

> Si vos solo queres que el usuario pueda insertar en el historial solo pone
> :
>
> GRANT INSERT ON TABLE geosiuc.parcela_history TO usuarioxxx;
>
> es decir no va a poder leer los datos, si insertar, tampoco lo va a
> actualizar etc.
>
> Igual con que el owner del trigger tenga permisos de inserción en la tabla
> historial y le revocas todos los permisos al usuario que inserta en la
> tabla
> que posteriormente dispara el trigger,deberia funcionar.
>
> Me explique?
>
> Saludos.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Triggers-en-Postgresql-tp5177074p5177090.html
> Sent from the OSGeo Spanish Local Chapter mailing list archive at
> Nabble.com.
> _______________________________________________
> Spanish mailing list
> http://lists.osgeo.org/mailman/listinfo/spanish
> http://es.osgeo.org
> http://twitter.com/osgeoes
>
------------ pr�xima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.osgeo.org/pipermail/spanish/attachments/20141209/0e21b207/attachment.html>


More information about the Spanish mailing list