ALTER TABLE SET TYPE
Converts a non-WAL table to WAL, or a WAL table to non-WAL.
#
Syntax#
DescriptionThe command schedules the conversion of the specified table to WAL or non-WAL type. The actual conversion takes place on the next restart of the server.
If the command issued more than once before the restart, the last command overrides all previous ones.
If the target type of the conversion is the same as the current type of the table, the conversion request is ignored.
#
ExamplesTo convert a non-WAL table to WAL:
To convert a WAL table to non-WAL: