Re: ecpg - GRANT bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ecpg - GRANT bug
Дата
Msg-id 13656.1003155040@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ecpg - GRANT bug  (Lee Kindness <lkindness@csl.co.uk>)
Ответы Re: ecpg - GRANT bug  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
Lee Kindness <lkindness@csl.co.uk> writes:
> The existing code in ecpg/preproc/preproc.y to handle the WITH option
> simply throws an error and aborts the processing... The patch below
> prevents the segfault and also passes on the WITH option to the
> backend, probably a better fix.

I agree.  It shouldn't be ecpg's business to throw errors on behalf of
the backend, especially not "not yet implemented" kinds of errors.
That just causes ecpg to be more tightly coupled to a particular backend
version than it needs to be.
        regards, tom lane


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Ready for Beta?
Следующее
От: Lee Kindness
Дата:
Сообщение: Re: ecpg - GRANT bug