> Kouhei Kaigai wrote:
> > Please see check_object_ownership(). It checks relation's ownership
> > if OBJECT_COLUMN, however, type's ownership is the correct check if
> > OBJECT_ATTRIBUTE.
>
> Hmm. Is there any case where the two are different?
>
AlterObjectTypeCommandTag()?
OBJECT_ATTRIBUTE makes "ALTER TYPE" tag, but "ALTER COLUMN" tag is
made with OBJECT_COLUMN.
Above two cases are all I could found.
Thanks,
--
NEC OSS Promotion Center / PG-Strom Project
KaiGai Kohei <kaigai@ak.jp.nec.com>