Fix small typo, use InvalidRelFileNumber instead of InvalidOid

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Fix small typo, use InvalidRelFileNumber instead of InvalidOid
Date: 2024-11-08 09:47:04
Message-ID: CAFiTN-tLrc-f042EGUtYHxenOASc0LhEWt4s9EOddi_JCDJeEA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

It appears that we are passing InvalidOid instead of InvalidRelFileNumber
when calling index_create(). While this isn’t technically a bug, since
InvalidRelFileNumber is defined as InvalidOid, it’s preferable to use the
correct identifier for clarity and consistency.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

Attachment Content-Type Size
0001-Fix-typo-use-InvalidRelFileNumber-instead-of-Invalid.patch application/octet-stream 905 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message wenhui qiu 2024-11-08 09:49:45 Re: pg_stat_statements: Avoid holding excessive lock
Previous Message jian he 2024-11-08 09:32:35 Re: not null constraints, again