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
pull/157/head
Michael Paquier 1 year ago
parent 42a1de3013
commit 17a3f79f81
  1. 2
      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

Loading…
Cancel
Save