Re: Error-safe user functions

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: Error-safe user functions
Дата
Msg-id
befa11aa-9b99-35db-1166-94472e1cc946@dunslane.net
Ответ на
Список
Дерево обсуждения
Error-safe user functions Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Joe Conway <mail@joeconway.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions "David G. Johnston" <david.g.johnston@gmail.com>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions "David G. Johnston" <david.g.johnston@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions "David G. Johnston" <david.g.johnston@gmail.com>
Re: Error-safe user functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions "David G. Johnston" <david.g.johnston@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions "David G. Johnston" <david.g.johnston@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andres Freund <andres@anarazel.de>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Amul Sul <sulamul@gmail.com>
Re: Error-safe user functions Amul Sul <sulamul@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Amul Sul <sulamul@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Amul Sul <sulamul@gmail.com>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Amul Sul <sulamul@gmail.com>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Ted Yu <yuzhihong@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Ted Yu <yuzhihong@gmail.com>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Ted Yu <yuzhihong@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Ted Yu <yuzhihong@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Pavel Stehule <pavel.stehule@gmail.com>
Re: Error-safe user functions Amul Sul <sulamul@gmail.com>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions "David G. Johnston" <david.g.johnston@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Joe Conway <mail@joeconway.com>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Andrew Dunstan <andrew@dunslane.net>
Re: Error-safe user functions Vik Fearing <vik@postgresfriends.org>
Re: Error-safe user functions Michael Paquier <michael@paquier.xyz>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Robert Haas <robertmhaas@gmail.com>
Re: Error-safe user functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>
Re: Error-safe user functions Michael Paquier <michael@paquier.xyz>
Re: Error-safe user functions Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: Error-safe user functions Corey Huinker <corey.huinker@gmail.com>

On 2022-12-05 Mo 11:20, Robert Haas wrote:
> On Mon, Dec 5, 2022 at 11:09 AM Tom Lane  wrote:
>> Robert Haas  writes:
>>> On Sat, Dec 3, 2022 at 10:57 PM Corey Huinker  wrote:
>>>> 2. ereturn_* => errfeedback / error_feedback / feedback
>>> Oh, I like that, especially errfeedback.
>> efeedback?  But TBH I do not think any of these are better than ereturn.
> I do. Having a macro name that is "return" plus one character is going
> to make people think that it returns. I predict that if you insist on
> using that name people are still going to be making mistakes based on
> that confusion 10 years from now.
>

OK, I take both this point and Tom's about trying to keep it the same
length. So we need something that's  7 letters, doesn't say 'return' and
preferably begins with 'e'. I modestly suggest 'eseterr', or if we like
the 'feedback' idea 'efeedbk'.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com



В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
Сообщение: Re: Order getopt arguments
От: Tom Lane
Дата:
Сообщение: Re: Order getopt arguments
FAQ