pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Andres Freund <andres@anarazel.de>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: Asim R P <apraveen@pivotal.io>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Cc: aagrawal@pivotal.io, Dmitry Dolgov <9erthalion6@gmail.com>
Cc: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Subject: Re: Pluggable Storage - Andres's take
Date: Wed, 6 Mar 2019 15:11:55 -0800
Message-ID: <20190306231155.zu6meo7g2pfgieyi@alap3.anarazel.de> (raw )
In-Reply-To: <CAKJS1f88j3XmVb4sOVRStXEJbOoXTeTZrEDzSyvWd2a9oDgRVA@mail.gmail.com >
References: <CANXE4TfZUZCg+afo+gpqiHF6O=rDfqt5a+3jTH2SD8FZ9Yd2pA@mail.gmail.com >
<CAJrrPGc66Bcv5_Lkw+6yqSzptEw2mh8o=JH05poNh4BZYuGN2w@mail.gmail.com >
<20181127015557.unah7opawwrvr3us@alap3.anarazel.de >
<20181211021340.mqaown4njtcgrjvr@alap3.anarazel.de >
<20190121030115.unoxypsx3dxosyeg@alap3.anarazel.de >
<cb45bbcd-6b5b-e71d-d9cf-f113d57b7498@iki.fi >
<20190227172931.vxg4kuu7gjcwgz76@alap3.anarazel.de >
<20190306070721.dd34u7g7ogtlvf7n@alap3.anarazel.de >
<20190306193324.5gubgbbs6rnaacgv@alap3.anarazel.de >
<CAKJS1f88j3XmVb4sOVRStXEJbOoXTeTZrEDzSyvWd2a9oDgRVA@mail.gmail.com >
Hi,
On 2019-03-07 11:56:57 +1300, David Rowley wrote:
> On Thu, 7 Mar 2019 at 08:33, Andres Freund <andres@anarazel.de> wrote:
> > Here's a cleaned up version of that patch. David, Alvaro, you also
> > played in that area, any objections? I think this makes that part of the
> > code easier to read actually. Robert, thanks for looking at that patch
> > already.
>
> I only had a quick look and don't have a grasp of what the patch
> series is doing to tuple slots, but I didn't see anything I found
> alarming during the read.
Thanks for looking.
Re slots - the deal basically is that going forward low level
operations, like fetching a row from a table etc, have to be done by a
slot that's compatible with the "target" table. You can get compatible
slot callbakcs by calling table_slot_callbacks(), or directly create one
by calling table_gimmegimmeslot() (likely to be renamed :)).
The problem here was that the partition root's slot was used to fetch /
store rows from a child partition. By moving mt_existing into
ResultRelInfo that's not the case anymore.
- Andres
view thread (175+ messages) latest in thread
Message-ID: <20190306231155.zu6meo7g2pfgieyi@alap3.anarazel.de>
Permalink: ../20190306231155.zu6meo7g2pfgieyi@alap3.anarazel.de/
Also on: postgresql.org/message-id/20190306231155.zu6meo7g2pfgieyi@alap3.anarazel.de
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: andres@anarazel.de, david.rowley@2ndquadrant.com, alvherre@2ndquadrant.com, robertmhaas@gmail.com, kommi.haribabu@gmail.com, apraveen@pivotal.io, 9erthalion6@gmail.com, a.korotkov@postgrespro.ru, hlinnaka@iki.fi
Subject: Re: Pluggable Storage - Andres's take
In-Reply-To: <20190306231155.zu6meo7g2pfgieyi@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