Skip to content

Commit 17a3f79

Browse files
committed
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
1 parent 42a1de3 commit 17a3f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/sequence/sequence.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ sequence_close(Relation relation, LOCKMODE lockmode)
6363
/* ----------------
6464
* validate_relation_kind - check the relation's kind
6565
*
66-
* Make sure relkind is from an index
66+
* Make sure relkind is from a sequence.
6767
* ----------------
6868
*/
6969
static inline void

0 commit comments

Comments
 (0)