Re: Usage of epoch in txid_current
От
Thomas Munro
Тема
Re: Usage of epoch in txid_current
Дата
Msg-id
CAEepm=0J_VgnAtMidE6k78MBJSeTUJOJupAuVbrEt5t_xsXmGg@mail.gmail.com
Ответ на
Re: Usage of epoch in txid_current (Tom Lane)
Список
Дерево обсуждения
Usage of epoch in txid_current Amit Kapila <amit.kapila16@gmail.com>
Re: Usage of epoch in txid_current Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: Usage of epoch in txid_current Amit Kapila <amit.kapila16@gmail.com>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Stephen Frost <sfrost@snowman.net>
Re: Usage of epoch in txid_current Tom Lane <tgl@sss.pgh.pa.us>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Amit Kapila <amit.kapila16@gmail.com>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Amit Kapila <amit.kapila16@gmail.com>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@enterprisedb.com>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Tom Lane <tgl@sss.pgh.pa.us>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Tom Lane <tgl@sss.pgh.pa.us>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Tom Lane <tgl@sss.pgh.pa.us>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@enterprisedb.com>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@enterprisedb.com>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@gmail.com>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@gmail.com>
Re: Usage of epoch in txid_current Heikki Linnakangas <hlinnaka@iki.fi>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@gmail.com>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@gmail.com>
Re: Usage of epoch in txid_current Heikki Linnakangas <hlinnaka@iki.fi>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@gmail.com>
Re: Usage of epoch in txid_current Jeff Janes <jeff.janes@gmail.com>
Re: Usage of epoch in txid_current Jeff Janes <jeff.janes@gmail.com>
Re: Usage of epoch in txid_current Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: Usage of epoch in txid_current Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Usage of epoch in txid_current Robert Haas <robertmhaas@gmail.com>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@gmail.com>
Re: Usage of epoch in txid_current Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@gmail.com>
Re: Usage of epoch in txid_current Robert Haas <robertmhaas@gmail.com>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: Usage of epoch in txid_current EMMA Jade ANDERSON <emmjadea@gmail.com>
Re: Usage of epoch in txid_current Dmitry Dolgov <9erthalion6@gmail.com>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@enterprisedb.com>
Re: Usage of epoch in txid_current Michael Paquier <michael@paquier.xyz>
Re: Usage of epoch in txid_current Tom Lane <tgl@sss.pgh.pa.us>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@enterprisedb.com>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@enterprisedb.com>
Re: Usage of epoch in txid_current Thomas Munro <thomas.munro@enterprisedb.com>
Re: Usage of epoch in txid_current Craig Ringer <craig@2ndquadrant.com>
Re: Usage of epoch in txid_current Andres Freund <andres@anarazel.de>
Re: Usage of epoch in txid_current Craig Ringer <craig@2ndquadrant.com>
Re: Usage of epoch in txid_current Craig Ringer <craig@2ndquadrant.com>
On Tue, Jul 17, 2018 at 1:55 AM, Tom Lane wrote: > Andres Freund writes: >> On 2018-07-15 16:41:35 -0400, Tom Lane wrote: >>> Andres Freund writes: >>>> On 2018-07-09 19:56:25 -0400, Tom Lane wrote: >>>>> Or, perhaps, use a struct in assert builds and int64 otherwise? >>>>> You could hide the ensuing notational differences in macros. > >>> [ bunch of test results ] >>> Offhand it would seem that we can get away with struct wrappers >>> on any platform where performance is really of concern today. > >> Cool, thanks for checking! +1 Here's a new version. I did some cosmetic clean-up, and I dropped the changes to pg_controldata output, replication epoch/xid processing code and various similar non-essential changes. For this patch I want just the new type + next xid generator + appropriate conversions. I propose that we get this committed early in the cycle. That'd maximise testing time in the tree, fix the bug identified by Amit, and leave plenty of time for later patches to use FullTransactionId in more places as appropriate. Does anyone have specific kinds of validation or testing they'd like to see? -- Thomas Munro http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
От: Michael Paquier
Дата: