Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3c09d11

Browse files
committed
Update DECLARE_INDEX documentation
Update source code comment changes belonging to the changes in6a6389a.Discussion:https://www.postgresql.org/message-id/flat/75ae5875-3abc-dafc-8aec-73247ed41cde@eisentraut.org
1 parent4f3514f commit3c09d11

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎src/include/catalog/genbki.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,13 @@
7171
* DECLARE_UNIQUE_INDEX_PKEY. ("PKEY" marks the index as being the catalog's
7272
* primary key; currently this is only cosmetically different from a regular
7373
* unique index. By convention, we usually make a catalog's OID column its
74-
* pkey, if it has one.) The first two arguments are the index's name and
75-
* OID, the rest is much like a standard 'create index' SQL command.
74+
* pkey, if it has one.)
7675
*
77-
* For each index, we also provide a #define for its OID. References to
78-
* the index in the C code should always use these #defines, not the actual
79-
* index name (much less the numeric OID).
76+
* The first two arguments are the index's name and OID. The third argument
77+
* is the name of a #define to generate for its OID. References to the index
78+
* in the C code should always use these #defines, not the actual index name
79+
* (much less the numeric OID). The rest is much like a standard 'create
80+
* index' SQL command.
8081
*
8182
* The macro definitions are just to keep the C compiler from spitting up.
8283
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp