| From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
|---|---|
| To: | Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Identify Login User & Permissions |
| Date: | 2010-09-14 21:14:12 |
| Message-ID: | 4C8FE5A4.7020101@lelarge.info |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Le 14/09/2010 22:28, Carlos Mennens a écrit :
> On Tue, Sep 14, 2010 at 4:23 PM, Guillaume Lelarge
> <guillaume(at)lelarge(dot)info> wrote:
>> SELECT current_user;
>
> Thanks. That worked well:
>
> postgres=# SELECT current_user;
> current_user
> --------------
> carlos
> (1 row)
>
> Do you know how I can verify what privileges or permissions 'carlos'
> has granted to him in PostgreSQL?
>
You need to check many things on the catalogs to know that. You won't
find a single command to do that.
--
Guillaume
http://www.postgresql.fr
http://dalibo.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bryan Murphy | 2010-09-14 21:52:01 | pgpool-II 3.0 + postgres 9rc1 + md5 authentication not working |
| Previous Message | tamanna madaan | 2010-09-14 21:09:26 | workaround steps for autovaccum problem |