hello:
I'm trying to connect to a PostgreSQL database named "postgres", but ArcGIS Pro and arcpy don't seem to like this name.
Is there an alternative?
I don't want to create another database named "toto" 😅, for example, nor synchronization processes, etc. Here is the code I'm using as well as the error I'm getting:
arcpy.management.CreateDatabaseConnection(
out_folder_path=OUT_FOLDER_PATH,
out_name=OUT_NAME,
database_platform="POSTGRESQL",
instance=INSTANCE,
account_authentication=ACCOUNT_AUTHENTICATION,
username=USERNAME,
password=PASSWORD,
save_user_pass =SAVE_USER_PASS,
database='postgres',
)000800: The value is not a member of <value>.