MCPcopy Create free account
hub / github.com/apache/cloudberry / init_sequence

Function init_sequence

src/backend/commands/sequence.c:1270–1274  ·  view source on GitHub ↗

* Given a relation OID, open and lock the sequence. p_elm and p_rel are * output parameters. */

Source from the content-addressed store, hash-verified

1268 * output parameters.
1269 */
1270static void
1271init_sequence(Oid relid, SeqTable *p_elm, Relation *p_rel)
1272{
1273 init_sequence_internal(relid, p_elm, p_rel, false);
1274}
1275
1276/*
1277 * GPDB: init_sequence_internal() mostly resembles upstream init_sequence().

Callers 5

ResetSequenceFunction · 0.85
AlterSequenceFunction · 0.85
currval_oidFunction · 0.85
do_setvalFunction · 0.85
pg_sequence_last_valueFunction · 0.85

Calls 1

init_sequence_internalFunction · 0.85

Tested by

no test coverage detected