Re: POC: converting Lists into arrays

Поиск
Список
Период
Сортировка
Искать
От
David Rowley
Тема
Re: POC: converting Lists into arrays
Дата
Msg-id
CAKJS1f_dFhYPmvEKkwhAzXcVNL0exZ=EVW1EVoYtfbJarxE71A@mail.gmail.com
Ответ на
Список
Дерево обсуждения
POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: POC: converting Lists into arrays Robert Haas <robertmhaas@gmail.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Petr Jelinek <petr@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Craig Ringer <craig@2ndquadrant.com>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Craig Ringer <craig@2ndquadrant.com>
Re: POC: converting Lists into arrays Fabien COELHO <coelho@cri.ensmp.fr>
Re: POC: converting Lists into arrays Robert Haas <robertmhaas@gmail.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Robert Haas <robertmhaas@gmail.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Peter Geoghegan <pg@bowt.ie>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Peter Geoghegan <pg@bowt.ie>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Peter Geoghegan <pg@bowt.ie>
Re: POC: converting Lists into arrays Peter Geoghegan <pg@bowt.ie>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Robert Haas <robertmhaas@gmail.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Bruce Momjian <bruce@momjian.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Jesper Pedersen <jesper.pedersen@redhat.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Oleksandr Shulgin <oleksandr.shulgin@zalando.de>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Oleksandr Shulgin <oleksandr.shulgin@zalando.de>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Daniel Gustafsson <daniel@yesql.se>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays David Steele <david@pgmasters.net>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Robert Haas <robertmhaas@gmail.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Peter Geoghegan <pg@bowt.ie>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Alvaro Herrera <alvherre@2ndquadrant.com>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Daniel Gustafsson <daniel@yesql.se>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Jesper Pedersen <jesper.pedersen@redhat.com>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: POC: converting Lists into arrays Bruce Momjian <bruce@momjian.us>
Re: POC: converting Lists into arrays Bruce Momjian <bruce@momjian.us>
Re: POC: converting Lists into arrays Peter Geoghegan <pg@bowt.ie>
Re: POC: converting Lists into arrays David Rowley <david.rowley@2ndquadrant.com>
Re: POC: converting Lists into arrays Andres Freund <andres@anarazel.de>
Re: POC: converting Lists into arrays Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: POC: converting Lists into arrays Tom Lane <tgl@sss.pgh.pa.us>
Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context Ramanarayana <raam.soft@gmail.com>
Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context Pavel Stehule <pavel.stehule@gmail.com>
Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context Pavel Stehule <pavel.stehule@gmail.com>
Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context Ramanarayana <raam.soft@gmail.com>
Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context Chapman Flack <chap@anastigmatix.net>
Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context Ramanarayana <raam.soft@gmail.com>
Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context Pavel Stehule <pavel.stehule@gmail.com>
On Fri, 9 Aug 2019 at 04:24, Tom Lane  wrote:
> I wrote:
> > Perhaps there's an argument for doing something to change the behavior
> > of list_union and list_difference and friends.  Not sure --- it could
> > be a foot-gun for back-patching.  I'm already worried about the risk
> > of back-patching code that assumes the new semantics of list_concat.
> > (Which might be a good argument for renaming it to something else?
> > Just not list_union, please.)
>
> Has anyone got further thoughts about naming around list_concat
> and friends?
>
> If not, I'm inclined to go ahead with the concat-improvement patch as
> proposed in [1], modulo the one improvement David spotted.
>
>                         regards, tom lane
>
> [1] https://www.postgresql.org/message-id/6704.1563739305@sss.pgh.pa.us

I'm okay with the patch once that one improvement is done.

I think if we want to think about freeing the 2nd input List then we
can do that in another commit. Removing the redundant list_copy()
calls seems quite separate from that.

--
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


В списке pgsql-hackers по дате отправления
От: Jeevan Ladhe
Дата:
От: David Rowley
Дата:
FAQ