]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Update comment for IndexInfo.ii_NullsNotDistinct
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 1 Jul 2025 20:20:13 +0000 (22:20 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 1 Jul 2025 21:13:17 +0000 (23:13 +0200)
Commit 7a7b3e11e61 added the ii_NullsNotDistinct field, but the
comment was not updated.

Author: Japin Li <japinli@hotmail.com>
Reviewed-by: Richard Guo <guofenglinux@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/ME0P300MB04453E6C7EA635F0ECF41BFCB6832%40ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM

src/include/nodes/execnodes.h

index 4c3eaf3d76d8dc3057357ed504370e9258626343..9741435b96af1aba853fad458a6485e303b6af5f 100644 (file)
@@ -139,8 +139,9 @@ typedef struct ExprState
  *             UniqueOps                       These are like Exclusion*, but for unique indexes
  *             UniqueProcs
  *             UniqueStrats
- *             Unique                          is it a unique index?
  *             OpclassOptions          opclass-specific options, or NULL if none
+ *             Unique                          is it a unique index?
+ *             NullsNotDistinct        is NULLS NOT DISTINCT?
  *             ReadyForInserts         is it valid for inserts?
  *             CheckedUnchanged        IndexUnchanged status determined yet?
  *             IndexUnchanged          aminsert hint, cached for retail inserts