Re: SPI_connect, SPI_connect_ext return type

Поиск
Список
Период
Сортировка
От Stepan Neretin
Тема Re: SPI_connect, SPI_connect_ext return type
Дата
Msg-id CAMaYL5b6hVHZVn6AAbpok3kmz4fSGyfs7TbCY5N27CLFCH6GCw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SPI_connect, SPI_connect_ext return type  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

>That would break a lot of code (much of it not under our control) to
little purpose; it would also foreclose the option to return to using
SPI_ERROR_CONNECT someday.

Agree, it makes sense.
The only question left is, is there any logic in why in some places its return value of these functions is checked, and in some not? Can I add checks everywhere?
Best Regards, Stepan Neretin.

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