<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Database user name and current user schema do not match - postgres [SOLVED] in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-user-name-and-current-user-schema-do-not/m-p/567039#M21814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Edit: choosing 'sde' as the user name under 'connection properties' has allowed me to create feature datasets and add feature classes. Maybe the problem was that I created a feature dataset as the default superuser 'postgres' and tried to add feature classes to that?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw a question similar to this but it was for SQL server.&lt;/P&gt;&lt;P&gt;I'm a postgres novice trying to move data into a geodatabase within postgres. I was able to create a gdb in postgres on my local machine but when I try to transfer data from a network drive to the gdb I get the error message in the title of this post.&lt;/P&gt;&lt;P&gt;What I've tried:&lt;/P&gt;&lt;P&gt;- ensuring that I'm connected as postgres (superuser generic name)&lt;/P&gt;&lt;P&gt;- elevating privileges for user 'sde'&lt;/P&gt;&lt;P&gt;- in pgadmin4, entered:&lt;/P&gt;&lt;P&gt;&amp;nbsp;- "grant usage on schema public to sde;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;- "grant usage on schema sde to sde;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that I have to use the sde login to load in data... do I have this right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="488424" alt="current users" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/488424_postgres_users.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Apr 2020 21:28:53 GMT</pubDate>
    <dc:creator>DrewPhillips3</dc:creator>
    <dc:date>2020-04-13T21:28:53Z</dc:date>
    <item>
      <title>Database user name and current user schema do not match - postgres [SOLVED]</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-user-name-and-current-user-schema-do-not/m-p/567039#M21814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Edit: choosing 'sde' as the user name under 'connection properties' has allowed me to create feature datasets and add feature classes. Maybe the problem was that I created a feature dataset as the default superuser 'postgres' and tried to add feature classes to that?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw a question similar to this but it was for SQL server.&lt;/P&gt;&lt;P&gt;I'm a postgres novice trying to move data into a geodatabase within postgres. I was able to create a gdb in postgres on my local machine but when I try to transfer data from a network drive to the gdb I get the error message in the title of this post.&lt;/P&gt;&lt;P&gt;What I've tried:&lt;/P&gt;&lt;P&gt;- ensuring that I'm connected as postgres (superuser generic name)&lt;/P&gt;&lt;P&gt;- elevating privileges for user 'sde'&lt;/P&gt;&lt;P&gt;- in pgadmin4, entered:&lt;/P&gt;&lt;P&gt;&amp;nbsp;- "grant usage on schema public to sde;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;- "grant usage on schema sde to sde;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that I have to use the sde login to load in data... do I have this right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="488424" alt="current users" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/488424_postgres_users.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 21:28:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-user-name-and-current-user-schema-do-not/m-p/567039#M21814</guid>
      <dc:creator>DrewPhillips3</dc:creator>
      <dc:date>2020-04-13T21:28:53Z</dc:date>
    </item>
  </channel>
</rss>

