Instrução

Elimine conexões de um geodatabase enterprise no Amazon RDS para PostgreSQL usando o usuário SDE

Last Published: April 29, 2024

Resumo

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.

Procedimento

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 do Artigo: 000017860

Obtenha suporte com IA

Resolva seu problema rapidamente com o chatbot de IA de suporte da Esri.

Comece a conversar agora

Informações Relacionadas

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Comece a conversar agora

Ir para as opções de download