Re: partition routing layering in nodeModifyTable.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: partition routing layering in nodeModifyTable.c
Дата
Msg-id 18542.1564854481@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: partition routing layering in nodeModifyTable.c  (Andres Freund <andres@anarazel.de>)
Ответы Re: partition routing layering in nodeModifyTable.c  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2019-08-03 19:41:55 +0900, Etsuro Fujita wrote:
>> What API does that function break?

> You need to call it, whereas previously you did not need to call it. The
> effort to change an FDW to get one more parameter, or to call that
> function is about the same.

If those are the choices, adding a parameter is clearly the preferable
solution, because it makes the API breakage obvious at compile.

Adding a function would make sense, perhaps, if only a minority of FDWs
need to do so.  It'd still be risky if the need to do so could be missed
in light testing.

            regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: partition routing layering in nodeModifyTable.c
Следующее
От: Andres Freund
Дата:
Сообщение: Re: partition routing layering in nodeModifyTable.c