Re: Application name patch - v2 - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Application name patch - v2
Date
Msg-id 162867790910190809o78ed8d89y40c222e0b0e8e640@mail.gmail.com
Whole thread Raw
In response to Re: Application name patch - v2  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Application name patch - v2
List pgsql-hackers
2009/10/19 Stephen Frost <sfrost@snowman.net>:
> * Pavel Stehule (pavel.stehule@gmail.com) wrote:
>> Superuser permission could not be a problem. Simple security definer
>> function can do it.
>
> Then you've defeated the point of making it superuser-only.

no. Because when I write security definer function, then I explicitly
allow an writing for some roles. When I don't write this function,
then GUC is secure.

Pavel


>
> I don't think that changing the app name deserves a warning, to be
> perfectly honest.  Notice should be sufficient.
>
>        Thanks,
>
>                Stephen
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkrceMsACgkQrzgMPqB3kihrpwCePXXJLxXIpvfHF0fMXbO6Pn94
> uJcAn2cnT97QNqeRW2coKRDZfWVKaXxz
> =xvXs
> -----END PGP SIGNATURE-----
>
>


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Application name patch - v2
Next
From: Alvaro Herrera
Date:
Subject: Re: COPY enhancements