From 4c70e5acf932668efebf64dc60b8d29524e25e2b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 3 Jul 2023 07:39:25 +0200 Subject: [PATCH v2 1/6] Update DECLARE_INDEX documentation should have been updated in 6a6389a08b --- src/include/catalog/genbki.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/include/catalog/genbki.h b/src/include/catalog/genbki.h index 50518cbbf5..c42ba0cea5 100644 --- a/src/include/catalog/genbki.h +++ b/src/include/catalog/genbki.h @@ -71,12 +71,13 @@ * DECLARE_UNIQUE_INDEX_PKEY. ("PKEY" marks the index as being the catalog's * primary key; currently this is only cosmetically different from a regular * unique index. By convention, we usually make a catalog's OID column its - * pkey, if it has one.) The first two arguments are the index's name and - * OID, the rest is much like a standard 'create index' SQL command. + * pkey, if it has one.) * - * For each index, we also provide a #define for its OID. References to - * the index in the C code should always use these #defines, not the actual - * index name (much less the numeric OID). + * The first two arguments are the index's name and OID. The third argument + * is the name of a #define to generate for its OID. References to the index + * in the C code should always use these #defines, not the actual index name + * (much less the numeric OID). The rest is much like a standard 'create + * index' SQL command. * * The macro definitions are just to keep the C compiler from spitting up. */ base-commit: c951e9042dd12db80cac4e9a50f198a1eead2036 -- 2.41.0