Grant/Revoke problems

Поиск
Список
Период
Сортировка
От James Hughes
Тема Grant/Revoke problems
Дата
Msg-id Pine.LNX.3.93.980124014124.9491A-100000@xport.bluewall.com
обсуждение исходный текст
Ответы Re: [HACKERS] Grant/Revoke problems  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
I have been chasing the grant/revoke problems (on Linux platforms) and
have had some success. There were two problems causing SIGSEGV's to
crash the backend.

The first problem was caused by a function trying to pass a string
directly. This was fixed by returning the result of a strdup().

The second problem is in ./src/backend/parser/gram.y . The grant and
revoke statements are the only ones to use "free()". Somehow this is
causing SIGSEGV's and crashing the backend. I removed these from the
source and re-built everything: and it works now. But! I know absolutely
nothing about yacc/bison and do not know the implications of removing
these statements from the source.

If everyone thinks it is OK, I will submit patches. If someone can look
at the grant and revoke code in gram.y, I will submit the patches for
./src/backend/utils/init/miscinit.c.


-James




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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Re: Attn PG gurus / coders : New approach for ORDER BY ?
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Browsing the tables and why pgsql does not perform well