| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "jhatfield(at)g-s(dot)com(dot)au" <jhatfield(at)g-s(dot)com(dot)au> |
| Cc: | "'PostgreSQL Admin News'" <pgsql-admin(at)postgresql(dot)org>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk> |
| Subject: | Re: select * from pgadmin_users; causes error |
| Date: | 2001-02-23 15:23:01 |
| Message-ID: | 27928.982941781@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
John Hatfield <jhatfield(at)g-s(dot)com(dot)au> writes:
> It looks as though the views are created the first time you login to
> pgAdmin. So when I logged first as an ordinary user not as the postgres
> (database superuser), the views were created with this user as the owner.
> A trap for beginners!!
Indeed. I wonder whether pgadmin actually needs to see the password
column. If not, perhaps it could make a view of pg_user instead of
pg_shadow to avoid this problem. If it does, selecting directly from
pg_shadow with no view seems like the most reliable way...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-02-23 15:53:11 | Re: [HACKERS] Re: v7.1b4 bad performance |
| Previous Message | Paul Huppe | 2001-02-23 13:35:59 | v7.0.3 Regress Tests Errors |