Redrock Postgres Documentation
Home Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

DROP UNDO

DROP UNDO — remove an undo segment

Synopsis

DROP UNDO [ IF EXISTS ] name [, ...]

Description

DROP UNDO drops an existing undo segment from the database system. To execute this command you must be the owner of the undo segment.

Parameters

  • IF EXISTS

    Do not throw an error if the undo segment does not exist. A notice is issued in this case.

  • name

    The name (optionally schema-qualified) of an undo segment to remove.

Examples

This command will remove the undo segment undo_15:

DROP UNDO undo_15;

Compatibility

DROP UNDO is a Redrock Postgres language extension. There are no provisions for undo segments in the SQL standard.