heap_create_with_catalog comments

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: heap_create_with_catalog comments
Date: 2026-01-16 09:52:30
Message-ID: CACJufxFuh8yPdzj0JNpXgknaP_sgH4VJUUQTJJDQb=n=9Zch2w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi.

function heap_create_with_catalog, comments:

/* --------------------------------
* heap_create_with_catalog
*
* creates a new cataloged relation. see comments above.

it should be "see comments below."?

in the comment:
"Returns the OID of the new relation".

maybe we can also mention that the new relation was locked in
AccessExclusiveLock.

--
jian
https://www.enterprisedb.com

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2026-01-16 10:09:58 Re: [PATCH] remove incorrect comment in pg_resetwal.c
Previous Message Aditya Gollamudi 2026-01-16 09:35:40 Re: [PATCH][DOC][MINOR] Fix incorrect lexeme limit in textsearch docs