Re: privileges regression problem on freebsd/alpha

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: privileges regression problem on freebsd/alpha
Дата
Msg-id 5846.1015565580@sss.pgh.pa.us
обсуждение исходный текст
Ответ на privileges regression problem on freebsd/alpha  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: privileges regression problem on freebsd/alpha  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
>   GRANT EXECUTE ON FUNCTION testfunc1(int), testfunc2(int) TO regressuser2;
> + ERROR:  bogus GrantStmt.objtype 458

Does the error persist if you "make clean" and rebuild?

I'm betting this is not a platform issue, but just aclchk.c being out
of sync with the parser.  GrantStmt is using parser token codes to
distinguish the various kinds of GRANT, which is probably a bad idea.
The token codes will change anytime someone looks crosseyed at gram.y
(well, I exaggerate, but they're not exactly stable).  IMHO node
structure definitions shouldn't depend on them.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Index USING in pg_dump
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: privileges regression problem on freebsd/alpha