Re: POC: converting Lists into arrays
От
Alvaro Herrera
Тема
Re: POC: converting Lists into arrays
Дата
Msg-id
20190227214137.GA20958@alvherre.pgsql
Ответ на
Re: POC: converting Lists into arrays (Tom Lane)
Список
Дерево обсуждения
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 2019-Feb-27, Tom Lane wrote: > I'm particularly unsure about whether we need two macros; though the > way I initially tried it with just list_cell_is_last() seemed kind of > double-negatively confusing in the places where the test needs to be > not-last. Also, are these macro names too long, and if so what would > be better? I think "!list_cell_is_last()" is just as readable, if not more, than the "is_not_last" locution: appendStringInfoChar(&buf, '\''); if (!list_cell_is_last(l)) appendStringInfoString(&buf, ", "); I'd go with a single macro. +1 for backpatching the new macros, too. I suspect extension authors are going to need to provide compatibility versions anyway, to be compilable against older minors. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата: