CÓMO

Eliminar conexiones de una geodatabase corporativa en Amazon RDS para PostgreSQL mediante el usuario SDE

Last Published: April 29, 2024

Resumen

In an Amazon RDS for PostgreSQL geodatabase, the SDE user cannot drop connections using the geodatabase administration dialog box. When attempting that, an "Insufficient Permissions" error is returned.

Administering connections to a PostgreSQL geodatabase using ArcGIS tools requires PostgreSQL superuser privileges. In an Amazon RDS for PostgreSQL instance, the only superuser is rdsadmin, which is managed directly by Amazon. The SDE user is in the rds_superuser role, which is a pre-defined Amazon RDS role similar to the PostgreSQL superuser, but with some restrictions.

Procedimiento

As a workaround, the SDE user, or anyone in the rds_superuser role, can manage connections to the PostgreSQL geodatabase through pgAmin using the pg_terminate_backend command.

  1. Connect to the geodatabase as SDE in pgAmin.
  2. In a new Query Tool window, issue the following command to list all open connections in the database:
SELECT * FROM pg_stat_activity WHERE datname = '<database_name>';
  1. From the result returned, find the process ID (pid) of the connection to be dropped. Run the following command to terminate the connection:
SELECT pg_terminate_backend(<pid>);
  1. Verify in geodatabase administration dialog box that the connection has been dropped.

Id. de artículo: 000017860

Obtenga soporte con IA

Resuelva su problema rápidamente con el chatbot de inteligencia artificial de soporte de Esri.

Empieza a chatear ahora

Información relacionada

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Empieza a chatear ahora

Ir a opciones de descarga