aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-02-27 08:19:39 +0900
committerMichael Paquier <michael@paquier.xyz>2024-02-27 08:19:39 +0900
commit17a3f79f812cf196063c4146d64c6479e974a5c5 (patch)
tree6630d1063011debda4c41d9887bd0d01d07582e1 /src
parent42a1de3013eac394c3a170ce728f0280a62187bd (diff)
downloadpostgresql-17a3f79f812cf196063c4146d64c6479e974a5c5.tar.gz
postgresql-17a3f79f812cf196063c4146d64c6479e974a5c5.zip
Fix comment thinko in sequence.c
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
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/sequence/sequence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/sequence/sequence.c b/src/backend/access/sequence/sequence.c
index 9e30e6e08fe..8d6b7bb5dc2 100644
--- 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 an index
+ * Make sure relkind is from a sequence.
* ----------------
*/
static inline void