public inbox for [email protected]  
help / color / mirror / Atom feed
From: jian he <[email protected]>
To: PostgreSQL-development <[email protected]>
Subject: heap_create_with_catalog comments
Date: Fri, 16 Jan 2026 17:52:30 +0800
Message-ID: <CACJufxFuh8yPdzj0JNpXgknaP_sgH4VJUUQTJJDQb=n=9Zch2w@mail.gmail.com> (raw)

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






view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: heap_create_with_catalog comments
  In-Reply-To: <CACJufxFuh8yPdzj0JNpXgknaP_sgH4VJUUQTJJDQb=n=9Zch2w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox