]> granicus.if.org Git - postgresql/commit
Allow buffer tuple table slots to materialize after ExecStoreVirtualTuple().
authorAndres Freund <andres@anarazel.de>
Thu, 28 Feb 2019 20:27:58 +0000 (12:27 -0800)
committerAndres Freund <andres@anarazel.de>
Thu, 28 Feb 2019 20:28:03 +0000 (12:28 -0800)
commitf414abd62da7aa3cfd75e9047affd94c029c7c04
tree2706cc9765f596d971be0a77987dd71d20e75a93
parent19455c9f5606072a191962271c35ad659fbab526
Allow buffer tuple table slots to materialize after ExecStoreVirtualTuple().

While not common, it can be useful to store a virtual tuple into a
buffer tuple table slot, and then materialize that slot. So far we've
asserted out, which surprisingly wasn't a problem for anything in
core. But that seems fragile, and it also breaks redis_fdw after
ff11e7f4b9.

Thus, allow materializing a virtual tuple stored in a buffer tuple
table slot.

Author: Andres Freund
Discussion:
    https://postgr.es/m/20190227181621.xholonj7ff7ohxsg@alap3.anarazel.de
    https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
src/backend/executor/execTuples.c