logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SET DROP TABLE - Remove a table from a Slony-I replication set

Description

Drop a table from a replication set. ORIGIN = ival Origin node for the set. A future version of slonik might figure out this information by itself. ID = ival Unique ID of the table. This uses “schemadocsetdroptable(p_tab_id integer)” [not available as a man page].

Example

SET DROP TABLE ( ORIGIN = 1, ID = 20 );

Locking Behaviour

This operation must acquire an exclusive lock on the table being dropped from replication in order to al‐ ter it to drop the replication trigger. On subscriber nodes, this also involves adding back any rules/triggers that have been hidden.

Name

SET DROP TABLE - Remove a table from a Slony-I replication set

Slonik Event Confirmation Behaviour

Slonik waits for the command submitted to the previous event node to be confirmed on the specified event node before submitting this command.

Synopsis

SETDROPTABLE(options);

Version Information

This command was introduced in Slony-I 1.0.5 19 September 2024 SLONIKSETDROPTABLE(7)

See Also