Re: [GENERAL] Re: newbie problem on creating table

Поиск
Список
Период
Сортировка
Искать

Re: [GENERAL] Re: newbie problem on creating table

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Peter Eisentraut  writes:
>>>> TRAP: Failed Assertion("!(((bool) (UserId != 0))):", File: "miscinit.c",
>>>> Line: 446)
>> 
>> I think what's causing this is that you can't use zero as a Postgres
>> userid.  Unfortunately createuser doesn't enforce that restriction;
>> I'll see about fixing that oversight for 7.1.

> Create User does, but initdb doesn't.

Hmm.  But we have other defenses against the postgres superuser being
root.  I had assumed that the issue here was a non-superuser Postgres
account being created with zero userid...

			regards, tom lane
FAQ