pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Pavel Biryukov <79166341370@yandex.ru>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: posgres 12 bug (partitioned table)
Date: Tue, 11 Aug 2020 11:06:59 -0700
Message-ID: <20200811180659.ddbrligtbvcsnewx@alap3.anarazel.de> (raw)
In-Reply-To: <18024.1597168320@sss.pgh.pa.us>
References: <141051591267657@mail.yandex.ru>
	<1251598.1591289850@sss.pgh.pa.us>
	<CA+TgmoaN0kQa3nxToHtD8nRymSnUYaj4XL3zKq8Q_0AUJcQNPQ@mail.gmail.com>
	<3398357.1597160032@sss.pgh.pa.us>
	<1058041597161586@mail.yandex.ru>
	<CA+Tgmob1xt7b5gn0s_D2TvDsJ84+Ek9_q_+8W6Xqu5Q9D-M85w@mail.gmail.com>
	<18024.1597168320@sss.pgh.pa.us>

Hi,

On 2020-08-11 13:52:00 -0400, Tom Lane wrote:
> For xmin in particular, you don't have to assume "everything's a heap".
> What you have to assume is "everything uses MVCC", which seems a more
> defensible position.  It'll still fall down for foreign tables that are
> partitions, though.

Don't think that necessarily implies having a compatible xmin / xmax
around. Certainly not a 32bit one. I guess an AM could always return
InvalidOid, but that doesn't seem particularly helpful either.

I think it'd be better if we actually tried to provide a way to do
whatever xmin is being used properly. I've seen many uses of xmin/xmax
and many of them didn't work at all, and most of remaining ones only
worked in common cases.

Greetings,

Andres Freund





view thread (46+ messages)  latest in thread

Message-ID: <20200811180659.ddbrligtbvcsnewx@alap3.anarazel.de>
Permalink:  ../20200811180659.ddbrligtbvcsnewx@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20200811180659.ddbrligtbvcsnewx@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, 79166341370@yandex.ru
  Subject: Re: posgres 12 bug (partitioned table)
  In-Reply-To: <20200811180659.ddbrligtbvcsnewx@alap3.anarazel.de>
  References: <141051591267657@mail.yandex.ru> <1251598.1591289850@sss.pgh.pa.us> <CA+TgmoaN0kQa3nxToHtD8nRymSnUYaj4XL3zKq8Q_0AUJcQNPQ@mail.gmail.com> <3398357.1597160032@sss.pgh.pa.us> <1058041597161586@mail.yandex.ru> <CA+Tgmob1xt7b5gn0s_D2TvDsJ84+Ek9_q_+8W6Xqu5Q9D-M85w@mail.gmail.com> <18024.1597168320@sss.pgh.pa.us> <20200811180659.ddbrligtbvcsnewx@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox