In Database Tour, to work with subscriptions in PostgreSQL database, use the corresponding tab of the Object Browser.

In the list of subscriptions, disabled subscriptions are shown dimmed.

Creating Subscriptions

There are two ways of creating a subscription in Database Tour:

Notes

Deleting Subscriptions

To delete (drop) a subscription, select the needed object in the list of subscriptions and click Delete button.

To delete several subscriptions, right-click the list and choose Multiple Selection. Then select needed subscriptions and click Delete button.

Hint: Subscriptions can also be deleted by the SQL DROP SUBSCRIPTION command.

Opening Existing Subscriptions

Switch to the corresponding tab of the Object Browser. Locate the needed subscription and select it. This will open a new sub-window displaying the object's properties. Switch to the Script tab to view the DDL code.

Hint: If you double-click the object name in the list, the sub-window will be opened with the Script tab activated.

Editing Subscriptions

Open the needed object (see above) and use the Utilities button on the General tab. Here, there are several menu items to edit the subscription:

Hint: Subscriptions can also be modified by the SQL ALTER SUBSCRIPTION command.

See also