Re: [HACKERS] Cache lookup errors with functions manipulation object addresses

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses
Дата
Msg-id
CAB7nPqTvwKE1k2qsNRAfEWxae0eFh4ntVKyRpTobXMt4pKeSOA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[HACKERS] Cache lookup errors with functions manipulation object addresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation objectaddresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation objectaddresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation object addresses Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Cache lookup errors with functions manipulation objectaddresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation objectaddresses Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Cache lookup errors with functions manipulation objectaddresses Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] Cache lookup errors with functions manipulation objectaddresses Michael Paquier <michael@paquier.xyz>
Re: [HACKERS] Cache lookup errors with functions manipulation objectaddresses Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] Cache lookup errors with functions manipulation objectaddresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Dmitry Dolgov <9erthalion6@gmail.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation objectaddresses Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Daniel Gustafsson <daniel@yesql.se>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Daniel Gustafsson <daniel@yesql.se>
Re: Cache lookup errors with functions manipulation object addresses Daniel Gustafsson <daniel@yesql.se>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
Re: Cache lookup errors with functions manipulation object addresses Dmitry Dolgov <9erthalion6@gmail.com>
Re: Cache lookup errors with functions manipulation object addresses Michael Paquier <michael@paquier.xyz>
On Thu, Jul 20, 2017 at 4:04 PM, Alvaro Herrera
 wrote:
> I think the addition of checks everywhere for NULL return is worse.
> Let's add a missing_ok flag instead, so that most callers can just trust
> that they get a non null value if they don't want to deal with that
> case.

If you want to minimize the diffs or such a patch, we could as well
have an extended version of those APIs. I don't think that for the
addition of one argument like a missing_ok that's the way to go, but
some people may like that to make this patch less intrusive.
-- 
Michael


В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата:
От: Joshua D. Drake
Дата:
FAQ