From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: ALTER EXTENSION SET SCHEMA versus dependent types |
Date: | 2024-05-08 23:33:20 |
Message-ID: | 20240508233320.GA3165217@nathanxps13 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, May 08, 2024 at 05:52:31PM -0400, Tom Lane wrote:
> The attached patch fixes up the code and adds a new test to
> the test_extensions module. The fix basically is to skip the
> pg_depend entries for dependent types, assuming that they'll
> get dealt with when we process their parent objects.
Looks reasonable to me. The added test coverage seems particularly
valuable. If I really wanted to nitpick, I might complain about the three
consecutive Boolean parameters for AlterTypeNamespaceInternal(), which
makes lines like
+ AlterTypeNamespaceInternal(arrayOid, nspOid, true, false, true,
+ objsMoved);
difficult to interpret. But that's not necessarily the fault of this patch
and probably needn't block it.
--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-05-08 23:42:18 | Re: ALTER EXTENSION SET SCHEMA versus dependent types |
Previous Message | Tom Lane | 2024-05-08 22:40:33 | Re: Revert: Remove useless self-joins *and* -DREALLOCATE_BITMAPSETS make server crash, regress test fail. |