AWS RDS with PostgreSQL 9.6.2
The latest version of PostGIS is 2.3.2 (64-bit)
ArcGIS 10.4.1
When I enable Enterprise Geodatabase, I receive the following error message
Start Time: Friday, June 23, 2017, at 06:39:09
The authorization file has been validated.
The user has the necessary privileges in order to set up the geodatabase.
It has been enabled for the database instance to support XML.
The RDBMS instance that is connected to Esri spatial type configuration is already configured.
A stored procedure could not be created in the geodatabase due to an error. The error code is (42); the error code is (42);
The DBMS error code for this error is -42.
ERROR: there are too many parameters specified for the RAISE command.
CONTEXT: Compilation of the PL/PgSQL function "sde_layer_def_change_table_name" near line 20 of the file
The SQL state at the moment is 42601.
Additional error information can be found in the setup log at the following location:
C:\Users\ADMINI~1\AppData\Local\Temp\2\sde_setup.log
The geodatabase tables and stored procedures could not be created.
The command (EnableEnterpriseGeodatabase) could not be executed.
The request failed on Fri Jun 23 06:39:34 2017 (Elapsed Time: 25.13 seconds)
Thanks