Fix comment on gist_stratnum_btree
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 25 Jan 2024 06:25:10 +0000 (07:25 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 25 Jan 2024 06:25:10 +0000 (07:25 +0100)
We give results for <, <=, =, >=, and >, not just =. Because why not?

Author: Paul A. Jungwirth <pj@illuminatedcomputing.com>
Discussion: https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg@mail.gmail.com

contrib/btree_gist/btree_gist.c

index c4fc094c65285f6dba44257572d4436282a05c59..5fd4cce27d05c65c6312739061334ce29286d3a3 100644 (file)
@@ -55,7 +55,7 @@ gbt_decompress(PG_FUNCTION_ARGS)
 }
 
 /*
- * Returns the btree number for equals, otherwise invalid.
+ * Returns the btree number for supported operators, otherwise invalid.
  */
 Datum
 gist_stratnum_btree(PG_FUNCTION_ARGS)