This section explains how to delete containers.
Delete the Java function
As the instance administrator, connect to the database that corresponds to the container that was created.
Delete all Java functions that were registered in the database.
Refer to "7.3.4 Deleting Java Functions" for details.
Uninstall the PL/extJava extension
As the instance administrator, connect to the database that corresponds to the container that was created.
Execute the DROP EXTENSION statement and uninstall the PL/extJava extension.
db01=# DROP EXTENSION plextjavau;
Stop the instance
Refer to "2.1 Starting and Stopping an Instance" for information on how to stop the instance.
Refer to "8.11 Actions in Response to Failure to Stop an Instance" if the instance fails to stop.
Delete the container
Use the delete-container subcommand of the pgx_jadmin command to delete the container.
Example
> pgx_jadmin delete-container --dbname db01
See
Refer to "pgx_jadmin" in the Reference for information on the delete-container subcommand.