Re: [HACKERS] pg_upgrade from 9.5 to 9.6 fails with "invalid argument"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] pg_upgrade from 9.5 to 9.6 fails with "invalid argument"
Дата
Msg-id 14048.1475185913@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] pg_upgrade from 9.5 to 9.6 fails with "invalid argument"  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-general
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Moreover I think getErrorText() as a whole is misconceived and should be
> removed altogether (why pstrdup the string?).

Indeed.  I think bouncing the error back to the caller is misguided
to start with, seeing that the caller is just going to do pg_fatal
anyway.  We should rewrite these functions to just error out internally,
which will make it much easier to provide decent error reporting
indicating which call failed.

            regards, tom lane


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

Предыдущее
От: Jay Knight
Дата:
Сообщение: Re: Parallel query only when EXPLAIN ANALYZEd
Следующее
От: Colin Morelli
Дата:
Сообщение: Filtering by UUID