Re: [HACKERS] GSoC 2017: weekly progress reports (week 6)
От
Alvaro Herrera
Тема
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6)
Дата
Msg-id
20180329120626.jjpap6cr7x5h23ds@alvherre.pgsql
Ответ на
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) (Teodor Sigaev)
Список
Дерево обсуждения
[HACKERS] GSoC 2017: weekly progress reports (week 6) Shubham Barai <shubhambaraiss@gmail.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Shubham Barai <shubhambaraiss@gmail.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Shubham Barai <shubhambaraiss@gmail.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Shubham Barai <shubhambaraiss@gmail.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Shubham Barai <shubhambaraiss@gmail.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Shubham Barai <shubhambaraiss@gmail.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Shubham Barai <shubhambaraiss@gmail.com>
Re: GSoC 2017: weekly progress reports (week 6) Andres Freund <andres@anarazel.de>
Re: GSoC 2017: weekly progress reports (week 6) Alvaro Herrera <alvherre@2ndquadrant.com>
Re: GSoC 2017: weekly progress reports (week 6) Andres Freund <andres@anarazel.de>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Shubham Barai <shubhambaraiss@gmail.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Shubham Barai <shubhambaraiss@gmail.com>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Dmitry Ivanov <d.ivanov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Heikki Linnakangas <hlinnaka@iki.fi>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Heikki Linnakangas <hlinnaka@iki.fi>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Heikki Linnakangas <hlinnaka@iki.fi>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Dmitry Ivanov <d.ivanov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Heikki Linnakangas <hlinnaka@iki.fi>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GSoC 2017: weekly progress reports (week 6) Andrey Borodin <x4mmm@yandex-team.ru>
I don't quite understand the new call in gininsert -- I mean I see that it wants to check for conflicts even when fastupdate is set, but why? Maybe, just maybe, it would be better to add a new flag to the GinCheckForSerializableConflictIn function, that's passed differently for this one callsite, and then a comment next to it that indicates why do we test for fastupdates in one case and not the other case. If you don't like this idea, then I think more commentary on why fastupdate is not considered in gininsert is warranted. In startScanEntry, if you "goto restartScanEntry" in the fastupdate case, are you trying to acquire the same lock again? Maybe the lock acquire should occur before the goto target? (If this doesn't matter for some reason, maybe add a comment about it) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления
От: Thomas Munro
Дата: