Select to view content in your preferred language

Cannot create feature class in a schema other than sde

91
1
Jump to solution
Thursday
GIS123EXPERT
Emerging Contributor

Hi, I have a user other than sde ( example :view_user) and I want to create a new featureclass in Postgresql sde with view_user.

I set the owner of sde as view_user .After setting the necessary permissions on the Postgresql side, I was able to edit the existing data, but I cannot create a featureclass for the sde. As you can see in the attachment, I get the error "database user name and current user schema do not match".

When I add a enterprise geodatadase from ArcGIS Pro, it automatically adds it to the application with the sde schema. Is it possible to call a schema other than the sde schema in ArcGIS Pro?

How can we ensure that different users in the database can open featureclasses?

 

Regards.

0 Kudos
1 Solution

Accepted Solutions
George_Thompson
Esri Notable Contributor

We do NOT recommend loading data as the SDE user and would create a separate DB user / schema to own the data: https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-postgresql/add-users-postgres...

That error message "database user name and current user schema do not match" is expected, see the doc link above.

You them grant other users permissions to view and / or edit: https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-postgresql/privileges-postgre...

Hope this helps!

--- George T.

View solution in original post

1 Reply
George_Thompson
Esri Notable Contributor

We do NOT recommend loading data as the SDE user and would create a separate DB user / schema to own the data: https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-postgresql/add-users-postgres...

That error message "database user name and current user schema do not match" is expected, see the doc link above.

You them grant other users permissions to view and / or edit: https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-postgresql/privileges-postgre...

Hope this helps!

--- George T.