Top
Enterprise Postgres 17 SP1 Connection Manager User's Guide

2.4 Removing Setup

Describes how to removing setup the Connection Manager.

LinuxLinux

No work is required on the client side.

On the server side, drop watchdog extension by DROP EXTENSION statement and remove it from shared_preload_libraries.

Example)

postgres=# DROP EXTENSION watchdog;
DROP EXTENSION

WindowsWindows

The following work is required on the client side.

  1. Unregister Windows service

    Cancel the conmgr process registered in the Windows service.

    In unregister mode of the cm_ctl command, specify the registered service name to cancel the conmgr process of the Windows service.

    Example)

    An execution example is shown when the registered service name is "conmgr".

    > cm_ctl unregister -N "conmgr"

    Note

    Execute the command as a Connection Manager administrator user with "Administrator" privileges. Execute the command from the [Administrator: Command Prompt] window. Right-click [Command Prompt], and then select [Run as administrator] from the menu to display the [Administrator: Command Prompt] window.

  2. Deletion of registration for event log

    If you are outputting to the event log in "2.1.1.2 Preparing for Output to the Event Log", delete the registered event source name.

    Example)

    > regsvr32 /u /i:"conmgr" "c:\Program Files\Fujitsu\fsepv<x>client64\lib\pgevent.dll"

For a multi-version installation

If the conmgr process created using this package is configured to output the error log to the event log, re-register the default event source name using the DLL pathname that was saved in "2.1.1.2 Preparing for Output to the Event Log".

On the server side, use the DROP EXTENSION statement to remove the watchdog extension and remove the watchdog from shared_preload_libraries.

Example)

postgres=# DROP EXTENSION watchdog;
DROP EXTENSION