trigger on adding / deleting / modify user on pg_authid - Mailing list pgsql-general

From Philipp Kraus
Subject trigger on adding / deleting / modify user on pg_authid
Date
Msg-id 38926802-B52C-4F14-8153-5009C660D376@flashpixx.de
Whole thread Raw
List pgsql-general
Hello,

can I create on PG 9.1 or newer a trigger or something other, that runs a function if a new user is added, changed,
deletedto / on the database? 
I have got a "usertable" which stores some additional user information (full name, mail address, etc) and I would like
tocreate default data 
if a new authid is created. Also I would like to modifiy / delete this rows on the table, if the user is removed /
modified.
At the moment I add the new user and create also a dataset on my table

Thanks

Phil

pgsql-general by date:

Previous
From: Edson Richter
Date:
Subject: Permission for relationship but not for select is possible?
Next
From: Robert James
Date:
Subject: Re: Picking the first of an order in an aggregate query