Re: SQL/JSON features for v15

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: SQL/JSON features for v15
Дата
Msg-id
e7eac2bb-3d26-845e-6188-eb4c03cd29a4@dunslane.net
Ответ на
Список
Дерево обсуждения
SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 Michael Paquier <michael@paquier.xyz>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Robert Haas <robertmhaas@gmail.com>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 Robert Haas <robertmhaas@gmail.com>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON features for v15 Robert Haas <robertmhaas@gmail.com>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 Pavel Stehule <pavel.stehule@gmail.com>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Justin Pryzby <pryzby@telsasoft.com>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Robert Haas <robertmhaas@gmail.com>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Nikita Glukhov <n.gluhov@postgrespro.ru>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Bruce Momjian <bruce@momjian.us>
Re: SQL/JSON features for v15 Robert Haas <robertmhaas@gmail.com>
Re: SQL/JSON features for v15 Andres Freund <andres@anarazel.de>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Bruce Momjian <bruce@momjian.us>
Re: SQL/JSON features for v15 Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Amit Langote <amitlangote09@gmail.com>
Re: SQL/JSON features for v15 Robert Haas <robertmhaas@gmail.com>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>
Re: SQL/JSON features for v15 Andrew Dunstan <andrew@dunslane.net>
Re: SQL/JSON features for v15 "Jonathan S. Katz" <jkatz@postgresql.org>

On 2022-08-30 Tu 06:29, Amit Langote wrote:
> On Tue, Aug 30, 2022 at 6:19 PM Alvaro Herrera  wrote:
>> On 2022-Aug-30, Amit Langote wrote:
>>
>>> Patches 0001-0006:
>>>
>>> Yeah, these add the overhead of an extra function call (typin() ->
>>> typin_opt_error()) in possibly very common paths.  Other than
>>> refactoring *all* places that call typin() to use the new API, the
>>> only other option seems to be to leave the typin() functions alone and
>>> duplicate their code in typin_opt_error() versions for all the types
>>> that this patch cares about.  Though maybe, that's not necessarily a
>>> better compromise than accepting the extra function call overhead.
>> I think another possibility is to create a static inline function in the
>> corresponding .c module (say boolin_impl() in bool.c), which is called
>> by both the opt_error variant as well as the regular one.  This would
>> avoid the duplicate code as well as the added function-call overhead.
> +1
>


Makes plenty of sense, I'll try to come up with replacements for these
forthwith.


cheers


andrew


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



В списке pgsql-hackers по дате отправления
От: Christoph Berg
Дата:
От: Tom Lane
Дата:
FAQ