heap_create_with_catalog comments - Mailing list pgsql-hackers

From jian he
Subject heap_create_with_catalog comments
Date
Msg-id CACJufxFuh8yPdzj0JNpXgknaP_sgH4VJUUQTJJDQb=n=9Zch2w@mail.gmail.com
Whole thread Raw
List 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



pgsql-hackers by date:

Previous
From: Aditya Gollamudi
Date:
Subject: Re: [PATCH][DOC][MINOR] Fix incorrect lexeme limit in textsearch docs
Next
From: David Rowley
Date:
Subject: Re: [PATCH] remove incorrect comment in pg_resetwal.c