Re: Re: information on users

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: Re: information on users
Дата
Msg-id 200104092221.f39MLV230664@linda.lfix.co.uk
обсуждение исходный текст
Ответ на Re: Re: information on users  (will trillich <will@serensoft.com>)
Список 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.Elphick@lfix.co.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



В списке pgsql-general по дате отправления:

Предыдущее
От: "Mitch Vincent"
Дата:
Сообщение: Re: PostgreSQL admin or monitor program?
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: pg_dump consistency.