Re: posgres 12 bug (partitioned table)

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Amit Langote <amitlangote09@gmail.com>, David Steele <david@pgmasters.net>, Pavel Biryukov <79166341370@yandex.ru>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2021-04-22T20:28:36Z
Lists: pgsql-bugs, pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2021-04-22 15:09:59 -0400, Tom Lane wrote:
>> After thinking about it for a bit, I'm inclined to promote this to
>> a user-facing error, and have all the slot types report
>> 	ereport(ERROR,
>> 	        (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
>> 	         errmsg("cannot retrieve a system column in this context")));

> WFM.

OK, I'll go make that happen.

			regards, tom lane



Commits

  1. Don't crash on reference to an un-available system column.