Top
Enterprise Postgres 17 SP1 Knowledge DataManagement FeatureUser's Guide

3.2.3 Removing

  1. Connect to the database that is using this feature and execute DROP EXTENSION.

    rag_databse=# DROP EXTENSION pgx_vectorizer;
    DROP EXTENSION
  2. As a superuser, execute the following command to remove pgai. "<x>" indicates the product version.

    $ su -
    # rm /opt/fsepv<x>server64/<Files copied during setup>

    Information

    The files copied during setup can be checked below.

    # find /opt/fsepv<x>server64/OSS/pgai-extension
  3. As a superuser, execute the following command to reset the plpython3u configuration to the state it was in immediately after the server feature was installed. "<x>" indicates the product version.

    $ su -
    # cp /opt/fsepv<x>server64/OSS/pgai-extension/lib/plpython3.9.so /opt/fsepv<x>server64/lib/plpython3.so