DROP SEQUENCE — remove a sequence
DROP SEQUENCE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
IF EXISTSDo not throw an error if the sequence does not exist. A notice is issued in this case.
nameThe name (optionally schema-qualified) of a sequence.
CASCADEAutomatically drop objects that depend on the sequence.
RESTRICTRefuse to drop the sequence if any objects depend on it. This is the default.