Re: Pluggable Storage - Andres's take

Поиск
Список
Период
Сортировка
От Ashwin Agrawal
Тема Re: Pluggable Storage - Andres's take
Дата
Msg-id CALfoeis=ha=oyqHoBd0vqBpi+7pgyBmyh89ABbvWmS00wBgz8w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Pluggable Storage - Andres's take  (Andres Freund <andres@anarazel.de>)
Ответы Re: Pluggable Storage - Andres's take
Re: Pluggable Storage - Andres's take
Список pgsql-hackers
Hi,

While playing with the tableam, usage of which starts with commit v12-0023-tableam-Introduce-and-use-begin-endscan-and-do-i.patch, should we check for NULL function pointer before actually calling the same and ERROR out instead as NOT_SUPPORTED or something on those lines.

Understand its kind of think which should get caught during development. But still currently it segfaults if missing to define some AM function, might be easier for iterative development to error instead in common place.

Or should there be upfront check for NULL somewhere if all the AM functions are mandatory to have functions defined for them and should not be NULL.

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Patch to document base64 encoding
Следующее
От: David Rowley
Дата:
Сообщение: Re: Update does not move row across foreign partitions in v11