From: | David Steele <david(at)pgmasters(dot)net> |
---|---|
To: | Amit Langote <amitlangote09(at)gmail(dot)com>, Pavel Biryukov <79166341370(at)yandex(dot)ru> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: posgres 12 bug (partitioned table) |
Date: | 2021-03-05 16:25:12 |
Message-ID: | cd492dbd-a0ba-4790-bcf7-c4af2d2dc8d1@pgmasters.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
On 10/28/20 10:01 AM, Amit Langote wrote:
> On Tue, Oct 27, 2020 at 10:55 PM Pavel Biryukov <79166341370(at)yandex(dot)ru> wrote:
>> Hi!
>>
>> What's the state with this issue?
> I think that the patch that Andres Freund posted earlier on this
> thread [1] would be fine as a workaround at least for stable releases
> v12 and v13. I have attached with this email a rebased version of
> that patch, although I also made a few changes. The idea of the patch
> is to allocate and use a partition-specific *non-virtual* slot, one
> that is capable of providing system columns when the RETURNING
> projection needs them. Andres' patch would allocate such a slot even
> if RETURNING contained no system columns, whereas I changed the slot
> creation code stanza to also check that RETURNING indeed contains
> system columns. I've attached 2 patch files: one for HEAD and another
> for v12 and v13 branches.
>
> That said, the discussion on what to do going forward to *cleanly*
> support accessing system columns through partitioned tables is
> pending, but maybe the "workaround" fix will be enough in the meantime
> (at least v12 and v13 can only get a workaround fix).
> stgresql.org/message-id/20200811180629.zx57llliqcmcgfyr%40alap3.anarazel.de
This thread has been quiet for while. Does everyone agree with Amit's
proposal to use this patch as a workaround?
Also, is there a CF entry for this issue? If so I am unable to find it.
Regards,
--
-David
david(at)pgmasters(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Biryukov | 2021-03-05 16:55:18 | Re: posgres 12 bug (partitioned table) |
Previous Message | Alvaro Herrera | 2021-03-05 13:43:31 | Re: BUG #16914: Regression test of the worker_spi fails if USE_MODULE_DB environment variable is set. |
From | Date | Subject | |
---|---|---|---|
Next Message | Kohei KaiGai | 2021-03-05 16:25:35 | Re: contrib/cube - binary input/output handlers |
Previous Message | Tom Lane | 2021-03-05 16:16:55 | Re: 011_crash_recovery.pl intermittently fails |