projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a1de3
)
Fix comment thinko in sequence.c
author
Michael Paquier
Mon, 26 Feb 2024 23:19:39 +0000
(08:19 +0900)
committer
Michael Paquier
Mon, 26 Feb 2024 23:19:39 +0000
(08:19 +0900)
One comment mentioned indexes, but the relation opened should be
sequences.
Reported-by: Matthias van de Meent
Discussion: https://postgr.es/m/CAEze2WiMGNG9XK3NSUen-5BARhCnP=u=FXnf8pvpL2qDKeOsZg@mail.gmail.com
src/backend/access/sequence/sequence.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/sequence/sequence.c
b/src/backend/access/sequence/sequence.c
index 9e30e6e08fe697d75679d87dc701b4e0584b3789..8d6b7bb5dc25b66f824d28c197bf26a07a16eefe 100644
(file)
--- a/
src/backend/access/sequence/sequence.c
+++ b/
src/backend/access/sequence/sequence.c
@@
-63,7
+63,7
@@
sequence_close(Relation relation, LOCKMODE lockmode)
/* ----------------
* validate_relation_kind - check the relation's kind
*
- * Make sure relkind is from a
n index
+ * Make sure relkind is from a
sequence.
* ----------------
*/
static inline void