Re: Request for new column in pg_namespace

From: Isaac Morland <isaac(dot)morland(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Request for new column in pg_namespace
Date: 2024-12-15 17:40:12
Message-ID: CAMsGm5dmNjPuYAg8V7yutENjgJod5pNXhoQpiWoPH3e7i1RrVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 15 Dec 2024 at 12:29, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> What I'd suggest as an improvement that could be implemented
> immediately is to wrap the checks in a user-defined function
> like "is_system_schema(nspname name)".
>

Would it make sense to make the parameter be of type regnamespace?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Avi Weinberg 2024-12-15 17:41:05 Continue Logical Replication After Master Became Slave and then Became Master Again
Previous Message Luca Dametto 2024-12-15 17:35:16 Documentation enancement regarding NULL and operators