Re: Damaged table "pg_access"

Поиск
Список
Период
Сортировка
От Jens Hartwig
Тема Re: Damaged table "pg_access"
Дата
Msg-id 3A249FBD.F99C5C0C@debis.com
обсуждение исходный текст
Ответ на Damaged table "pg_access"  (Jens Hartwig <jhartwig@debis.com>)
Ответы Re: Damaged table "pg_access"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hello,

yes, you were completely right, thank you very much, you saved me from
spending much time on this problem! The recreation of the groups 1, 2, 3
and 4 resolved the problem :-) My next question is: how can I (as a
workaround till version 7.1) permanently remove a group without facing
this problem? Can I rudely remove the granted permissions by any command
(e.g. deleting it manually from the system catalogue)?

Best regards, Jens

Tom Lane schrieb:
> 
> Jens Hartwig <jhartwig@debis.com> writes:
> > when I try to access the system-table "pg_class", I get the following
> > error:
> 
> > zeda=# select * from pg_class;
> > NOTICE:  get_groname: group 1 not found
> > pqReadData() -- backend closed the channel unexpectedly.
> 
> Evidently you had created a group with sysid 1, granted some permissions
> on some table to that group, and then deleted the group.  Re-create the
> group (CREATE GROUP foo WITH SYSID 1).
> 
> I thought the crash in this situation had been fixed long since, but
> apparently not :-( ... it still fails in current sources.  I'll make
> sure it's fixed for 7.1.
> 
>                         regards, tom lane

=============================================
Jens Hartwig
---------------------------------------------
debis Systemhaus GEI mbH
10875 Berlin
Tel.     : +49 (0)30 2554-3282
Fax      : +49 (0)30 2554-3187
Mobil    : +49 (0)170 167-2648
E-Mail   : jhartwig@debis.com
=============================================


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

Предыдущее
От: Bernie Huang
Дата:
Сообщение: Re: a script that queries db periodically
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Damaged table "pg_access"