Re: Include RELKIND_TOASTVALUE in get_relkind_objtype

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: "Hsu, John" <hsuchen@amazon.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Date: 2019-11-05T18:41:28Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> On Mon, Nov 04, 2019 at 03:31:27PM -0500, Tom Lane wrote:
>> I'd rather do something like the attached, which makes it more of an
>> explicit goal that we won't fail on bad input.  (As written, we'd only
>> fail on bad classId, which is a case that really shouldn't happen.)

> Okay, that part looks fine.

Pushed like that, then.

			regards, tom lane



Commits

  1. Fix "unexpected relkind" error when denying permissions on toast tables.