<?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 Re: Connecting to Postgres database in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1208852#M47672</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/567"&gt;@George_Thompson&lt;/a&gt;&amp;nbsp; I'm currently using Version 2.9 and for my script, all i want to do is connect to the Postgres database (hosted in AWS server), keep data updated and use the table from the database to join it with feature class. Also, my ArcGIS Pro is through AWS Server as well&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 19:37:53 GMT</pubDate>
    <dc:creator>TheGamer</dc:creator>
    <dc:date>2022-09-01T19:37:53Z</dc:date>
    <item>
      <title>Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1184300#M46524</link>
      <description>&lt;P&gt;Hi, is there an easy way to connect to a postgres database (hosted through AWS) to ArcGIS Online?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 13:23:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1184300#M46524</guid>
      <dc:creator>TheGamer</dc:creator>
      <dc:date>2022-06-20T13:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1184301#M46525</link>
      <description>&lt;P&gt;You have to publish data to ArcGIS Online. There is not a way to connect an "external" DB (as far as I know). The published data is hosted in ArcGIS Online.&lt;BR /&gt;&lt;BR /&gt;If you need this DB to be published, then I would recommend using ArcGIS Enterprise and referencing the services in ArcGIS Online.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 13:28:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1184301#M46525</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-06-20T13:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1207031#M47603</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/567"&gt;@George_Thompson&lt;/a&gt;I am making a ModelBuilder model which will use a table from the PostgreSQL and perform some calculations (tabulate intersection, joins, etc).&amp;nbsp; If data changes in the database, will the changes automatically appear in ArcGIS Pro? If not, how can I make sure changes appear without reconnecting the database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2022 21:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1207031#M47603</guid>
      <dc:creator>TheGamer</dc:creator>
      <dc:date>2022-08-28T21:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1207037#M47604</link>
      <description>&lt;P&gt;You would need to create and publish a DB view (via ArcGIS Enterprise or ArcGIS Server) if you want the changes to show up.&lt;/P&gt;&lt;P&gt;If you use a model, the data will be updated after the model is run, unless you script it to look for updates.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2022 23:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1207037#M47604</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-08-28T23:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1207046#M47605</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/567"&gt;@George_Thompson&lt;/a&gt;&amp;nbsp;can you tell me what libraries I would need to connect/update the database in ArcGIS Pro notebook? Also, I'm no longer use a model builder instead I will be connecting the table from the database with a feature class&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 19:18:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1207046#M47605</guid>
      <dc:creator>TheGamer</dc:creator>
      <dc:date>2022-09-01T19:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1208847#M47671</link>
      <description>&lt;P&gt;the client libraries for Postgres are included with the Pro client. What version of Pro are you using?&lt;BR /&gt;&lt;BR /&gt;I have not had to install Postgres libraries in a while.....&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 19:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1208847#M47671</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-09-01T19:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1208852#M47672</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/567"&gt;@George_Thompson&lt;/a&gt;&amp;nbsp; I'm currently using Version 2.9 and for my script, all i want to do is connect to the Postgres database (hosted in AWS server), keep data updated and use the table from the database to join it with feature class. Also, my ArcGIS Pro is through AWS Server as well&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 19:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1208852#M47672</guid>
      <dc:creator>TheGamer</dc:creator>
      <dc:date>2022-09-01T19:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1208874#M47674</link>
      <description>&lt;P&gt;I would that would work. Can you make a connection to the Postgres DB on AWS?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/databases/connect-postgresql.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/databases/connect-postgresql.htm&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Are you getting an error?&lt;/P&gt;&lt;P&gt;If it is not an Enterprise Geodatabase, I do not think that you can edit the data in the table. You can delete / create new spatial (or non-spatial) tables.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 19:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1208874#M47674</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-09-01T19:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1208958#M47681</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/567"&gt;@George_Thompson&lt;/a&gt;I don't want to edit the data in the table, I basically just want to use the data from the database and join it to the shapefile. Below is the code, I'm implementing for connecting to the database&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;path = r"C:\Users\Administrator\Documents\ArcGIS\Projects\Oakville\MappingModel.gdb"&lt;BR /&gt;username = ""&lt;BR /&gt;password = ""&lt;BR /&gt;instance = “&lt;SPAN&gt;&amp;lt;region_id&amp;gt;.rds.amazonaws.com&lt;/SPAN&gt;"&lt;BR /&gt;arcpy.management.CreateDatabaseConnection(path, "Dataset.sde", "POSTGRESQL", instance,&lt;BR /&gt;"DATABASE_AUTH", username, password, "SAVE_USERNAME", {database})&lt;/P&gt;&lt;P&gt;Both the ArcGIS Server and Database are in EC2 instances&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Sep 2022 12:50:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1208958#M47681</guid>
      <dc:creator>TheGamer</dc:creator>
      <dc:date>2022-09-02T12:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Postgres database</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1209111#M47684</link>
      <description>&lt;P&gt;are you trying to save the connection into the file geodatabase?&lt;BR /&gt;&lt;BR /&gt;that is what it looks like with your path variable. Can you move that up one level?&lt;BR /&gt;&lt;BR /&gt;Are you able to create a connection in Pro, not in arcpy?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 12:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/connecting-to-postgres-database/m-p/1209111#M47684</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-09-02T12:59:51Z</dc:date>
    </item>
  </channel>
</rss>

