Re: [HACKERS] pgbench - allow to store select results intovariables
От
Fabien COELHO
Тема
Re: [HACKERS] pgbench - allow to store select results intovariables
Дата
Msg-id
alpine.DEB.2.21.1901102211350.27692@lancre
Ответ на
Re: [HACKERS] pgbench - allow to store select results into variables (Alvaro Herrera)
Список
Дерево обсуждения
pgbench - allow to store select results into variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Pavel Stehule <pavel.stehule@gmail.com>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Pavel Stehule <pavel.stehule@gmail.com>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Robert Haas <robertmhaas@gmail.com>
Re: pgbench - allow to store select results into variables Tom Lane <tgl@sss.pgh.pa.us>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: pgbench - allow to store select results into variables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Rafia Sabih <rafia.sabih@enterprisedb.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Rafia Sabih <rafia.sabih@enterprisedb.com>
Re: pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Rafia Sabih <rafia.sabih@enterprisedb.com>
Re: pgbench - allow to store select results intovariables Tatsuo Ishii <ishii@sraoss.co.jp>
Re: pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results intovariables Tatsuo Ishii <ishii@sraoss.co.jp>
Re: pgbench - allow to store select results into variables Tom Lane <tgl@sss.pgh.pa.us>
Re: pgbench - allow to store select results intovariables Tatsuo Ishii <ishii@sraoss.co.jp>
Re: pgbench - allow to store select results into variables Andres Freund <andres@anarazel.de>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <fabien.coelho@mines-paristech.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] pgbench - allow to store select results into variables Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results into variables Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: [HACKERS] pgbench - allow to store select results into variables Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results into variables Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench - allow to store select results into variables Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results into variables Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Michael Paquier <michael@paquier.xyz>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results into variables Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results into variables Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pgbench - allow to store select results into variables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] pgbench - allow to store select results intovariables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: pgbench - allow to store select results into variables Michael Paquier <michael.paquier@gmail.com>
Re: pgbench - allow to store select results into variables Haribabu Kommi <kommi.haribabu@gmail.com>
Re: pgbench - allow to store select results into variables Robert Haas <robertmhaas@gmail.com>
Re: pgbench - allow to store select results into variables Tom Lane <tgl@sss.pgh.pa.us>
Re: pgbench - allow to store select results into variables "David G. Johnston" <david.g.johnston@gmail.com>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - allow to store select results into variables Tom Lane <tgl@sss.pgh.pa.us>
Re: pgbench - allow to store select results into
variables Fabien COELHO <coelho@cri.ensmp.fr>
Hello Alvaro, > There's a lot of the new code in pgbench that can be simplified if we > remove \cset. I'm not very happy with the resulting syntax, but IMO the feature is useful. My initial design was to copy PL/pgSQL "into" with some "\into" orthogonal to \; and ;, but the implementation was not especially nice and I was told to use psql's \gset approach, which I did. If we do not provide \cset, then combined queries and getting results are not orthogonal, although from a performance testing point of view an application could do both, and the point is to allow pgbench to test the performance impact of doing that. There are other existing restrictions which are a arbitrary, eg you cannot use prepared with combined. I wish not to add more of this kind of restrictions, which are not "up to project standard" in my opinion. I may try to remove this particular restriction in the future. Not many people know that queries can be combined, but if you are interested in latency that is really an interesting option, and being able to check how much can be gained from doing that is a point of a tool like pgbench. -- Fabien.
В списке pgsql-hackers по дате отправления