<?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: Problem connecting to postgis / postgre query layer - database cleint software is in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536915#M30438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This page of Refractions Research lists PostGIS 1.5.1:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://postgis.refractions.net/download/windows/pg84/"&gt;http://postgis.refractions.net/download/windows/pg84/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These binaries are for PostgreSQL 8.4 compatible PostGIS installations, I think, so they won't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;And this page PostGreSQL 9.0.5:&lt;BR /&gt;&lt;A href="http://www.postgresql.org/ftp/source/v9.0.5/"&gt;http://www.postgresql.org/ftp/source/v9.0.5/&lt;/A&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The files there are for source downloads; building from source on a windows machine is a nightmare, hence the need for binaries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate the quick answers, though unfortunately they aren't won't solve the issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Really, ESRI should be tracking the first two levels of PostgreSQL numbering (like "9.0"), but not the third level ("9.0.2").&amp;nbsp; Third level releases are supposed to be binary compatible -- and if they aren't, it is a bug.&amp;nbsp; (As I understand it).&amp;nbsp; I am sure the Postgres and Postgis devs would pay attention if ESRI opened a ticket due to binary incompatibility with a minor-minor release and fix it before releasing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I copied the dll's into ArcMap's bin directory, and it still doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try the 64 bit.&amp;nbsp; The more recent documentation link from Marco says Postgis 2.0 will work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2013 21:58:41 GMT</pubDate>
    <dc:creator>webbs</dc:creator>
    <dc:date>2013-03-13T21:58:41Z</dc:date>
    <item>
      <title>Problem connecting to postgis / postgre query layer - database cleint software issue?</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536898#M30421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to connect to a query layer and I am receiving the following error "Unable to connect to database server to retrice database list; please verify your server name, user name, and password info and try again.&amp;nbsp; Cannot connect to database because the database client software failed to load.&amp;nbsp; Be sure the database client software is installed and configured correctly"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I set up the database connection using the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;platform - PostgreSQL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instance - localhost&amp;nbsp; (my computer name does not work either)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Authentication Type - Database&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;User name and password - set correctly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Database - cannot select (this is where the error appears)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using postgresql 9.0.5 and postgis 1.5.3.&amp;nbsp; I can connect to the database using other software.&amp;nbsp; Does anyone have any troubleshooting tips?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 15:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536898#M30421</guid>
      <dc:creator>MarkVolz</dc:creator>
      <dc:date>2012-07-10T15:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536899#M30422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of ArcSDE and ArcGIS are you using?&amp;nbsp; PostgreSQL 9.0.5 isn't supported&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;until ArcGIS 10.1 (with PostGIS 1.5.1).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 15:28:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536899#M30422</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-07-10T15:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536900#M30423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;vangelo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcGIS 10.1.&amp;nbsp; I am not using ArcSDE.&amp;nbsp; I am trying to connect directly to a postgresql / postgis database, which I have done in a workshop using File&amp;gt;Add Data&amp;gt; Add Query Layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 15:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536900#M30423</guid>
      <dc:creator>MarkVolz</dc:creator>
      <dc:date>2012-07-10T15:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536901#M30424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have the correct client DLL installed?&amp;nbsp; 32-bit clients require 32-bit libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 15:56:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536901#M30424</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-07-10T15:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536902#M30425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;vangelo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how can I download / or verify that I am using the correct dll?&amp;nbsp; Right now I have a 32 bit server and 32 bit client.&amp;nbsp; Eventually we will move the server to 64 bit, with a mixture of 32 and 64 bit clients.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should also ask what is the current supported version of postgres / postgis.&amp;nbsp; Is it postgres 9.0.5 and postgis 1.5.1, or is it 9.0.x and postgis 1.5.x.&amp;nbsp; In otherwords can I install postgresql 9.0.8 and postgis 1.5.4?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 16:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536902#M30425</guid>
      <dc:creator>MarkVolz</dc:creator>
      <dc:date>2012-07-10T16:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536903#M30426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The database server application wordsize doesn't matter -- only the client does.&amp;nbsp;&amp;nbsp; Esri ships&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;client ibraries in the install media -- use them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The supported versions are 9.0.5 / 1.5.1.&amp;nbsp; PostgreSQL has a history of making non-trivial&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;changes in minor patches, so it's never safe to assume .x support even if .+1 or .+2 works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 16:44:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536903#M30426</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-07-10T16:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536904#M30427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;where are the dlls stored on the ArcGIS 10.1 disc for the POSTGRESQL / PostGIS query layers, and where should I place them?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 17:08:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536904#M30427</guid>
      <dc:creator>MarkVolz</dc:creator>
      <dc:date>2012-07-10T17:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536905#M30428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's been nearly a decade since I last saw a media kit, so I have no idea what your &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;procedure would be. I know the files are in the download directory somewhere, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the best way to determine where is to communicate with Customer Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 17:47:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536905#M30428</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-07-10T17:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536906#M30429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if the necessary postgres client dll's are on the install media - I don't get to see DVD's any more these days, but what is strange is that these are not automatically deployed as part of the install process. At 10.1 you DO have to manually copy the dll's to your bin directory - surely this could be an install option (ask user which db they are using, and deploy the relevant dll's)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, the workaround is to find the dll's listed below. If you are registered properly with the ESRI customer care portal you can apparently get them there, we got them from our international distributor....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows 32-bit PostgreSQL 9.0.5 Client Libraries:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Libpq.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Libeay32.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Libintl-8.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ssleay32.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Place these files in the bin folders of your Windows 32-bit Esri client application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will no doubt post some further examples of our adventures in PostGIS/ArcGIS integration, but for now am happy to report that with the above fix we are able to use our PostGIS tables.........&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 11:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536906#M30429</guid>
      <dc:creator>stevepeedell</dc:creator>
      <dc:date>2012-07-24T11:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536907#M30430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Normally, the client libraries are part of the server install, so there's no need for Esri to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;distribute or install client libraries (which do increase the install footprint, after all).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem comes when you start mix-n-match with the application word size&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(client and server) without ArcSDE to do the client middle-man.&amp;nbsp; There's a number&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of ways to accomplish the net result, but copying the DLLs will serve.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 13:43:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536907#M30430</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-07-24T13:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536908#M30431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is exactly the problem I am having.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my environment: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows Server 2008 R2 (64bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PostgreSQL 9.2 + PostGIS 2.0 (64bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Desktop 10.1 sp1 (32bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to connect via ArcCatalog to take a look at my loaded data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the same error from ArcCatalog when I try to set up a connection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a bit confused by the work around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have located the 4 libraries in C:\Program Files\PostgreSQL\9.2\bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have copied these to my ArcGIS Desktop (32bit) bin directory E:\Program Files (x86)\ArcGIS\Desktop10.1\bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I still get the error, am I missing a critical step?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fiona&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 13:12:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536908#M30431</guid>
      <dc:creator>FionaHatfield</dc:creator>
      <dc:date>2013-01-10T13:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536909#M30432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OOps, I noticed that 9.2 was not supported (yet), so I have reconfigured my environment as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PostgreSQL 9.1.3 (64bit) + Post GIS 2.0 (64bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connecting using ArcGIS desktop 10.1 sp1 (32bit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have recopied the .dlls from the new postgresql install directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still getting the same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any insight is greatly appreciated,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fiona&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 15:10:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536909#M30432</guid>
      <dc:creator>FionaHatfield</dc:creator>
      <dc:date>2013-01-10T15:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536910#M30433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;OOps, I noticed that 9.2 was not supported (yet), so I have reconfigured my environment as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;PostgreSQL 9.1.3 (64bit) + Post GIS 2.0 (64bit)&lt;BR /&gt;Connecting using ArcGIS desktop 10.1 sp1 (32bit)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I have recopied the .dlls from the new postgresql install directory.&lt;BR /&gt;I am still getting the same error.&lt;BR /&gt;&lt;BR /&gt;any insight is greatly appreciated,&lt;BR /&gt;Fiona&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fiona, I think Vince already answered your question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;STRONG&gt;The supported versions are 9.0.5 / 1.5.1.&lt;/STRONG&gt;&amp;nbsp; PostgreSQL has a history of making non-trivial&lt;BR /&gt;changes in minor patches, &lt;STRONG&gt;so it's never safe to assume .x support&lt;/STRONG&gt; even if .+1 or .+2 works.&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems ESRI currently only really "supports" 9.0.5 / 1.5.1 as highest versions. Using any other version, especially taking into account Vince's further remarks about "non-trivial" changes in new minor releases, is a potential gamble.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 15:50:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536910#M30433</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-01-10T15:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536911#M30434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I feel so foolish, I did have the wrong versions of PostgreSQL installed...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything is working now, (just as the post suggested)!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the great news is I found some super resources as I tried to troubleshoot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone is seeing similar difficulties you should check out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://proceedings.esri.com/library/userconf/proc12/tech-workshops/tw_36.pdf"&gt;http://proceedings.esri.com/library/userconf/proc12/tech-workshops/tw_36.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fiona&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 16:13:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536911#M30434</guid>
      <dc:creator>FionaHatfield</dc:creator>
      <dc:date>2013-01-10T16:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536912#M30435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;the great news is I found some super resources as I tried to troubleshoot.&lt;BR /&gt;If anyone is seeing similar difficulties you should check out:&lt;BR /&gt;&lt;A href="http://proceedings.esri.com/library/userconf/proc12/tech-workshops/tw_36.pdf"&gt;http://proceedings.esri.com/library/userconf/proc12/tech-workshops/tw_36.pdf&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason, Adobe Reader refuses to open this link in Firefox and fails with an error. It can be opened in Internet Explorer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 20:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536912#M30435</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-01-10T20:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536913#M30436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to set up query layers to work with ArcMap 10.1 SP 1 on a 64 bit, Windows 7&amp;nbsp; machine and PostgreSQL (any version would be fine). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone who has succeeded in making a similar stack work post their steps, and (please, please, please) *current links* to the various components?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a bunch of detailed background:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried a 32 bit installation from Enterprise DB here: &lt;/SPAN&gt;&lt;A href="http://www.enterprisedb.com/products-services-training/pgdownload"&gt;http://www.enterprisedb.com/products-services-training/pgdownload&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It worked on the database side, but I kept getting a Could Not Connect error on the ArcMap side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The version number for PostgreSQL is 9.0.12, and for Postgis is 1.5.5.&amp;nbsp; I know these aren't the specified minor numbers, but I can't find binaries for the officially supported minor numbers anywhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, the only binary installations of PostGIS 1.5.5 I could find were 32 bit, so that is why I tried the 32 bit PostgreSQL installation. Stackbuilder 64 bit doesn't give an option for PostGIS 1.* anything. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is where I looked for PostGIS binaries besides using stack builder, with no 64 bit 1.5.* version:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://download.osgeo.org/postgis/windows/pg90/"&gt;http://download.osgeo.org/postgis/windows/pg90/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And finally ...&amp;nbsp; QGIS works for this application right out of the box... Just saying...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 21:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536913#M30436</guid>
      <dc:creator>webbs</dc:creator>
      <dc:date>2013-03-13T21:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536914#M30437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This page of Refractions Research lists PostGIS 1.5.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://postgis.refractions.net/download/windows/pg84/"&gt;http://postgis.refractions.net/download/windows/pg84/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And this page PostGreSQL 9.0.5:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.postgresql.org/ftp/source/v9.0.5/"&gt;http://www.postgresql.org/ftp/source/v9.0.5/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These pages you probably already know may be of use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PostgreSQL database requirements for ArcGIS 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/system-requirements/10.1/index.html#//015100000075000000"&gt;http://resources.arcgis.com/en/help/system-requirements/10.1/index.html#//015100000075000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which versions of PostgreSQL and spatial types are supported with ArcGIS 10.1 and ArcGIS 10.1 SP1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/40553"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/40553&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 21:23:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536914#M30437</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-03-13T21:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536915#M30438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This page of Refractions Research lists PostGIS 1.5.1:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://postgis.refractions.net/download/windows/pg84/"&gt;http://postgis.refractions.net/download/windows/pg84/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These binaries are for PostgreSQL 8.4 compatible PostGIS installations, I think, so they won't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;And this page PostGreSQL 9.0.5:&lt;BR /&gt;&lt;A href="http://www.postgresql.org/ftp/source/v9.0.5/"&gt;http://www.postgresql.org/ftp/source/v9.0.5/&lt;/A&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The files there are for source downloads; building from source on a windows machine is a nightmare, hence the need for binaries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate the quick answers, though unfortunately they aren't won't solve the issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Really, ESRI should be tracking the first two levels of PostgreSQL numbering (like "9.0"), but not the third level ("9.0.2").&amp;nbsp; Third level releases are supposed to be binary compatible -- and if they aren't, it is a bug.&amp;nbsp; (As I understand it).&amp;nbsp; I am sure the Postgres and Postgis devs would pay attention if ESRI opened a ticket due to binary incompatibility with a minor-minor release and fix it before releasing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I copied the dll's into ArcMap's bin directory, and it still doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try the 64 bit.&amp;nbsp; The more recent documentation link from Marco says Postgis 2.0 will work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 21:58:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536915#M30438</guid>
      <dc:creator>webbs</dc:creator>
      <dc:date>2013-03-13T21:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536916#M30439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the latest:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My postgres installation information:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;postgis20=# select postgis_full_version();?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; postgis_full_version&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; POSTGIS="2.0.0 r9605" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.9.0, released 2011/12/29" LIBXML="2.7.8" LIBJSON="UNKNOWN" RASTER&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(1 row)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;postgis20=# select version();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; version&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; PostgreSQL 9.1.3, compiled by Visual C++ build 1500, 64-bit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(1 row)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I can tell, this meets the criteria given in this link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/system-requirements/10.1/index.html#//015100000075000000"&gt;http://resources.arcgis.com/en/help/system-requirements/10.1/index.html#//015100000075000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Perhaps Windows 7 is not supported, as it is not mentioned? That seems inconceivable...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I can't get query layers to work for the life of me, after about 3 hours of trying.&amp;nbsp; I had to use unsupported versions of both Postgres and PostGIS in order to meet the version criteria (including custom-engineering the Enterprise DB URL).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The postgres libraries are already present in ArcMap/.../bin64, and I didn't want to screw up my system by copying the new ones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if a tiny version problem is causing the error -- I could imagine there is code that checks for a version string in libpq and errors if it doesn't match exactly.&amp;nbsp; All I know as a user is that it says "don't work, sorry" so I don't have any basis for diagnosing the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone could steer me in the right direction, that would be great.&amp;nbsp; If someone has a running setup, a cut-and-paste of the two version functions above would be useful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 22:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536916#M30439</guid>
      <dc:creator>webbs</dc:creator>
      <dc:date>2013-03-13T22:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to postgis / postgre query layer - database cleint software is</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536917#M30440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;PostgreSQL 9.1.3 support was introduced with 10.1 SP1, so this is now a supported configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Desktop is still a 32-bit application.&amp;nbsp; Clobbering the bin64 contents with new 64-bit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;libraries won't change 32-bit connection issues.&amp;nbsp; You need to place the 32-bit PG client libraries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in a place where they will be found (e.g. the Desktop bin directory).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 09:58:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-connecting-to-postgis-postgre-query-layer/m-p/536917#M30440</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-03-14T09:58:35Z</dc:date>
    </item>
  </channel>
</rss>

