Re: Add pg_basetype() function to obtain a DOMAIN base type

John Naylor <johncnaylorls@gmail.com>

From: John Naylor <johncnaylorls@gmail.com>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Steve Chavez <steve@supabase.io>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2023-12-04T09:10:36Z
Lists: pgsql-hackers
On Thu, Sep 28, 2023 at 12:22 AM Alexander Korotkov
<aekorotkov@gmail.com> wrote:
> The one thing triggering my perfectionism is that the patch does two
> syscache lookups instead of one.

For an admin function used interactively, I'm not sure why that
matters? Or do you see another use case?



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add pg_basetype() function to extract a domain's base type.