From: | Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp> |
---|---|
To: | michael(dot)paquier(at)gmail(dot)com |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Event trigger and CREATE/ALTER ROLE/USER |
Date: | 2016-09-14 00:50:12 |
Message-ID: | 20160914.095012.1279510882132368415.t-ishii@sraoss.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>>>> Simple question: Is there any reason for event trigger to not support
>>>> CREATE/ALTER ROLE/USER?
>>>
>>> Because it performs a global administrative task, no?
>>
>> So is there any technical difficulty?
>
> I don't recall the exact details but...
>
>> Can you please elaborate?
>
> Roles are global objects, and event triggers cannot operate on such
> ones. See for example 296f3a60 mentioning for example why REVOKE/GRANT
> can only operate on local objects.
Thanks. I will look into it.
Pgpool-II has its own password file which needs to be sync with the
md5 hashed password of PostgreSQL. So I thought it would be nice if
the event trigger could be used for the purpose.
Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
From | Date | Subject | |
---|---|---|---|
Next Message | Haribabu Kommi | 2016-09-14 00:53:08 | Re: gettimeofday is at the end of its usefulness? |
Previous Message | Michael Paquier | 2016-09-14 00:41:54 | Re: Event trigger and CREATE/ALTER ROLE/USER |