Re: postgres_fdw batching vs. (re)creating the tuple slots

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: postgres_fdw batching vs. (re)creating the tuple slots
Дата
Msg-id cdff37d6-c57c-e40c-4635-4bcaeccd0d7d@enterprisedb.com
обсуждение исходный текст
Ответ на Re: postgres_fdw batching vs. (re)creating the tuple slots  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Ответы Re: postgres_fdw batching vs. (re)creating the tuple slots  (Alexander Pyhalov <a.pyhalov@postgrespro.ru>)
Список pgsql-hackers
On 6/9/21 1:08 PM, Tomas Vondra wrote:
> 
> 
> On 6/9/21 12:50 PM, Bharath Rupireddy wrote:
>> On Wed, Jun 9, 2021 at 4:00 PM Tomas Vondra
>> <tomas.vondra@enterprisedb.com> wrote:
>>>
>>> Hi,
>>>
>>> Here's a v2 fixing a silly bug with reusing the same variable in two
>>> nested loops (worked for simple postgres_fdw cases, but "make check"
>>> failed).
>>
>> I applied these patches and ran make check in postgres_fdw contrib
>> module, I saw a server crash. Is it the same failure you were saying
>> above?
>>
> 
> Nope, that was causing infinite loop. This is jut a silly mistake on my
> side - I forgot to replace the i/j variable inside the loop. Here's v3.
> 
> regards
> 

FWIW I've pushed this, after improving the comments a little bit.


regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Replication protocol doc fix
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_stat_progress_create_index vs. parallel index builds