Re: Error-safe user functions
От
Andrew Dunstan
Тема
Re: Error-safe user functions
Дата
Msg-id
a8dc5700-c341-3ba8-0507-cc09881e6200@dunslane.net
Ответ на
Re: Error-safe user functions (Tom Lane)
Список
Дерево обсуждения
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-14 We 17:37, Tom Lane wrote: > Andrew Dunstan writes: >> Thanks, I have been looking at jsonpath, but I'm not quite sure how to >> get the escontext argument to the yyerror calls in jsonath_scan.l. Maybe >> I need to specify a lex-param setting? > You want a parse-param option in jsonpath_gram.y, I think; adding that > will persuade Bison to change the signatures of relevant functions. > Compare the mods I made in contrib/cube in ccff2d20e. > > Yeah, I started there, but it's substantially more complex - unlike cube the jsonpath scanner calls the error routines as well as the parser. Anyway, here's a patch. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
В списке pgsql-hackers по дате отправления