Re: Add BufFileRead variants with short read and EOF detection

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Add BufFileRead variants with short read and EOF detection
Дата
Msg-id 105210a5-8194-700b-5411-7002420013e4@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Add BufFileRead variants with short read and EOF detection  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: Add BufFileRead variants with short read and EOF detection
Список pgsql-hackers
On 10.01.23 07:20, Amit Kapila wrote:
>> The existing uses of %m are wrong.  This was already fixed once in
>> 7897e3bb902c557412645b82120f4d95f7474906, but the affected areas of code
>> were apparently developed at around the same time and didn't get the
>> fix.  So I have attached a separate patch to fix this first, which could
>> be backpatched.
>>
> +1. The patch is not getting applied due to a recent commit.
> 
>> The original patch is then rebased on top of that.  I have adjusted the
>> error message to include the file set name if available.
>>
>> What this doesn't keep is the purpose of the temp file in some cases,
>> like "hash-join temporary file".  We could maybe make this an additional
>> argument or an error context, but it seems cumbersome in any case.
>>
> Yeah, we can do that but not sure if it is worth doing any of those
> because there are already other places that don't use the exact
> context.

Ok, updated patches attached.
Вложения

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

Предыдущее
От: Jelte Fennema
Дата:
Сообщение: Re: [EXTERNAL] Re: [PATCH] Support using "all" for the db user in pg_ident.conf
Следующее
От: Vigneshk Kvignesh
Дата:
Сообщение: PG11 to PG14 Migration Slowness