| From: | Jon Erdman <postgresql(at)thewickedtribe(dot)net> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Proposing new logline_prefix escape... |
| Date: | 2009-12-03 01:55:33 |
| Message-ID: | 4B171A95.60006@thewickedtribe.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
So...
Came across a situation today where I would have liked to know the
effective role of a query because of a permission error. When I went to
add that to the logline_prefix, I realized that right now all we have is
%u which gives you the equivalent of session_user...I think it would be
useful to have one for current_user, for situations like mine where a
function was changing the effective role.
Thoughts? Disagreements? Flames?
- --
Jon T Erdman
Chief Information Officer
Progressive Practice, Inc.
P.O. Box 17288
Rochester, NY 14617
www.progressivepractice.com
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAksXGpUACgkQRAk1+p0GhSG+kQCfej6dcViCC5IR7dgAdps0tZaN
UVAAnRQTG+GW/0lMQZt1rFGF9IHAAp6K
=0tg4
-----END PGP SIGNATURE-----
| From | Date | Subject | |
|---|---|---|---|
| Next Message | KaiGai Kohei | 2009-12-03 01:58:24 | Re: Adding support for SE-Linux security |
| Previous Message | KaiGai Kohei | 2009-12-03 01:27:49 | Re: SE-PgSQL patch review |