Re: BUG #15460: Error while creating index or constraint

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15460: Error while creating index or constraint
Дата
Msg-id 14789.1543439046@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #15460: Error while creating index or constraint  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: BUG #15460: Error while creating index or constraint  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-bugs
Peter Geoghegan <pg@bowt.ie> writes:
> On Mon, Oct 29, 2018 at 8:25 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> So there are a couple of things to complain about here with respect
>> to the error message, regardless of the underlying bug:

> Attached patch fixes the problems with BufFileSize(), while also
> making similar adjustments to a closely related buffile.c "ereport() +
> errcode_for_file_access()" in passing -- the ereport() from
> BufFileOpenShared(). Note that both BufFileOpenShared() and
> BufFileSize() are used in a closely coordinated way already -- we
> literally call one immediately after the other from logtape.c. I don't
> like the current inconsistency in error handling.

LGTM.

            regards, tom lane


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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15527: Issue converting from local date/time to 'timestamp withtime zone' prior to dst transition
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15527: Issue converting from local date/time to 'timestamp with time zone' prior to dst transition