Re: Identifying user-created objects - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Identifying user-created objects
Date
Msg-id 20200210050909.GD46564@paquier.xyz
Whole thread Raw
In response to Re: Identifying user-created objects  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: Identifying user-created objects
List pgsql-hackers
On Mon, Feb 10, 2020 at 01:16:30PM +0900, Amit Langote wrote:
> On Mon, Feb 10, 2020 at 1:06 PM Masahiko Sawada
> <masahiko.sawada@2ndquadrant.com> wrote:
>> How about having it as a macro like:
>>
>> #define ObjectIdIsUserObject(oid) ((Oid)(oid) >= FirstNormalObjectId)
>
> I'm fine with a macro.

I am not sure that it is worth having one extra abstraction layer for
that.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: logical copy_replication_slot issues
Next
From: Amit Langote
Date:
Subject: Re: In PG12, query with float calculations is slower than PG11