Re: Re: information on users

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: will trillich <will(at)serensoft(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: information on users
Date: 2001-04-09 22:21:31
Message-ID: 200104092221.f39MLV230664@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

will trillich wrote:
>What's interesting is that pg_user is PER DATABASE whereas
>pg_shadow is DATABASE INDEPENDENT. i have a guess as to why that
>is so, but rather than 'open mouth insert foot' i'll let someone
>else do the explaining.

pg_user is a view, and, in 7.0.x and earlier, views are empty tables with
rules attached. These are created by copying template1 into every new
database.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Finally, brethren, whatsoever things are true,
whatsoever things are honest, whatsoever things are
just, whatsoever things are pure, whatsoever things
are lovely, whatsoever things are of good report; if
there be any virtue, and if there be any praise, think
on these things." Philippians 4:8

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2001-04-09 22:25:30 Re: pg_dump consistency.
Previous Message Steve Jorgensen 2001-04-09 22:16:11 Re: Windows install