Re: [HACKERS] Surjective functional indexes
От
Alvaro Herrera
Тема
Re: [HACKERS] Surjective functional indexes
Дата
Msg-id
20180322205353.5v6g5zu3owzh43qp@alvherre.pgsql
Ответ на
Re: [HACKERS] Surjective functional indexes (Konstantin Knizhnik)
Список
Дерево обсуждения
[HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Christoph Berg <myon@debian.org>
Re: [HACKERS] Surjective functional indexes "Sven R. Kunze" <srkunze@mail.de>
Re: [HACKERS] Surjective functional indexes "Sven R. Kunze" <srkunze@mail.de>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Christoph Berg <myon@debian.org>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Christoph Berg <myon@debian.org>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Christoph Berg <myon@debian.org>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] Surjective functional indexes Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Surjective functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Surjective functional indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Surjective functional indexes Andres Freund <andres@anarazel.de>
Re: [HACKERS] Surjective functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Surjective functional indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Surjective functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Surjective functional indexes Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Surjective functional indexes Laurenz Albe <laurenz.albe@cybertec.at>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Surjective functional indexes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Surjective functional indexes Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] Surjective functional indexes Oleg Bartunov <obartunov@gmail.com>
Re: [HACKERS] Surjective functional indexes Oleg Bartunov <obartunov@gmail.com>
The whole IsProjectionFunctionalIndex looks kinda bogus/ugly to me. Set the boolean to false, but keep evaluating anyway? But then, I thought the idea was to do this based on the reloption, not by comparing the expression cost to a magical (unmodifiable) value? In RelationGetIndexAttrBitmap(), indexattrs no longer gets the columns corresponding to projection indexes. Isn't that weird/error prone/confusing? I think it'd be saner to add these bits to both bitmaps. Please update the comments ending in heapam.c:4188, and generally all comments that you should update. Please keep serial_schedule in sync with parallel_schedule. Also, pgindent. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления