Re: Use RELATION_IS_OTHER_TEMP where possible
Junwang Zhao <zhjwpku@gmail.com>
From: Junwang Zhao <zhjwpku@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-06-10T23:41:54Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Make more use of RELATION_IS_OTHER_TEMP().
- bb109382ef40 19 (unreleased) landed
Attachments
- v1-0001-use-RELATION_IS_OTHER_TEMP-wherever-possibile.patch (application/octet-stream) patch v1-0001
Hi Nathan, On Wed, Jun 11, 2025 at 12:30 AM Nathan Bossart <nathandbossart@gmail.com> wrote: > > On Wed, Jun 11, 2025 at 12:07:35AM +0800, Junwang Zhao wrote: > > All other files perform this check using RELATION_IS_OTHER_TEMP. > > Should we update tablecmds.c to do the same for consistency? > > Seems like a good idea. Thanks for the comment. I have attached a patch with the proposed changes. > > -- > nathan -- Regards Junwang Zhao