<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Postgres OnLine Journal - fdws</title>
    <link>http://www.postgresonline.com/journal/</link>
    <description>an In depth look at the PostgreSQL open source database</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Sat, 23 Feb 2013 15:37:19 GMT</pubDate>

    <image>
        <url>http://www.postgresonline.com/journal/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Postgres OnLine Journal - fdws - an In depth look at the PostgreSQL open source database</title>
        <link>http://www.postgresonline.com/journal/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>PostgreSQL 9.3 postgres_fdw: a Test Drive</title>
    <link>http://www.postgresonline.com/journal/archives/294-PostgreSQL-9.3-postgres_fdw-a-Test-Drive.html</link>
            <category>9.3</category>
            <category>fdws</category>
            <category>new in postgresql</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>http://www.postgresonline.com/journal/archives/294-PostgreSQL-9.3-postgres_fdw-a-Test-Drive.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=294</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=294</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Just recently saw Michael Paguier&#039;s article on the &lt;a href=&quot;http://michael.otacoo.com/postgresql-2/postgres-9-3-feature-highlight-postgres_fdw/&quot; target=&quot;_blank&quot;&gt;recent commit of postgres_fdw&lt;/a&gt; so I was excited to try this out for myself.  Questions we wanted to answer/experience were:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;Can I connect against different versions of PostgreSQL?&lt;/i&gt; Yes to test I tried connecting from my PostgreSQL 9.3 dev instance to my 9.2 instance on another box.&lt;/li&gt;
	&lt;li&gt;&lt;i&gt;Can I use a foreign type like -- you guessed it &lt;b&gt;PostGIS&lt;/b&gt; if we have same version of PostGIS installed on both databases?&lt;/i&gt; Yes. I didn&#039;t try with different versions so not sure if that would work especially since the structure changed a bit between 1.5 and 2.0.  I suspect 2.0 and 2.1 would work fine and might be a good way to cheat run 2.1 on 9.3 but creating derivatives of my 2.0 data with functions only available in 2.1.&lt;/li&gt;
	&lt;li&gt;&lt;i&gt;Will it use my spatial index?&lt;/i&gt; No or at least we couldn&#039;t figure out how and I don&#039;t see how it is possible, but would be nice if it could be&lt;/li&gt;
	&lt;li&gt;&lt;i&gt;Can I have a table defined with dynamic SQL?&lt;/i&gt; Nope or at least the docs don&#039;t mention it.  This is a feature I really liked about the ODBC_FDW
		because often times I want the table to be filtered especially if I need my filter to use an expensive index like a spatial one or utilize functions only available on the foreign server.  If that were part of the definition of the foreign table, then it could in theory process that part on the foreign server. So this makes postgres_fdw not a good replacement for dblink in many cases.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So here are the tests we did to experiment with:&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/294-PostgreSQL-9.3-postgres_fdw-a-Test-Drive.html#extended&quot;&gt;Continue reading &quot;PostgreSQL 9.3 postgres_fdw: a Test Drive&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 22 Feb 2013 23:12:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/294-guid.html</guid>
    <category>fdw</category>
<category>foreign data wrapper</category>
<category>postgres_fdw</category>

</item>
<item>
    <title>PostgreSQL 9.2 windows binaries for file_textarray_fdw</title>
    <link>http://www.postgresonline.com/journal/archives/286-PostgreSQL-9.2-windows-binaries-for-file_textarray_fdw.html</link>
            <category>9.2</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
    
    <comments>http://www.postgresonline.com/journal/archives/286-PostgreSQL-9.2-windows-binaries-for-file_textarray_fdw.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=286</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=286</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;We discussed a while back the &lt;a href=&quot;http://www.postgresonline.com/journal/archives/251-File-FDW-Family-Part-2-file_textarray_fdw-Foreign-Data-Wrapper.html&quot; target=&quot;_blank&quot;&gt;Text array foreign data wrapper&lt;/a&gt; that allows you to register and query a delimited file as if it were a regular table with one array column.
It&#039;s probably the FDW we use most often and reminded of that recently when I had to query a 500,000 record resident list tab delimited file to prep for geocoding.&lt;/p&gt;

&lt;p&gt;When we upgraded to 9.2 and we could no longer compile, I wrote to Andrew Dunstan about this and &lt;a href=&quot;http://people.planetpostgresql.org/andrew/index.php?/archives/291-File-Text-Array-FDW-changes.html&quot; target=&quot;_blank&quot;&gt;he kindly created a 9.2 version&lt;/a&gt;.
Unfortunately there are still quite a few FDWs broken as a result of the 9.2 changes and I was hoping to try to apply similar patches to them that I saw Andrew do, but
haven&#039;t had the patience or time yet. Anyway we&#039;ve compiled these for 9.2 under our mingw64-w64 and mingw64-w32 chains using Andrew&#039;s 9.2 GitHub stable branch. 
&lt;a href=&quot;https://github.com/adunstan/file_text_array_fdw/tree/REL9_2_STABLE&quot;&gt;https://github.com/adunstan/file_text_array_fdw/tree/REL9_2_STABLE&lt;/a&gt;
and we&#039;ve tested them using the PostgreSQL EDB windows VC++ compiled versions. We hope you find them as useful as we have.
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;/downloads/fdw_win32_92_bin.zip&quot;&gt;PostgreSQL 9.2 w32 FDWs&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;/downloads/fdw_win64_92_bin.zip&quot;&gt;PostgreSQL 9.2 w64 FDWs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&#039;m hoping to add more FDWs to these 9.2 bags once
we have those working again. If you want to compile yourself or compile others, we have instructions in the packaged README.txt.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sat, 19 Jan 2013 14:06:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/286-guid.html</guid>
    <category>fdw</category>
<category>file_textarray_fdw</category>
<category>foreign data wrapper</category>
<category>postgresql 9.2</category>
<category>windows</category>

</item>
<item>
    <title>Foreign Data Wrap (FDW) Text Array, hstore, and Jagged Arrays</title>
    <link>http://www.postgresonline.com/journal/archives/259-Foreign-Data-Wrap-FDW-Text-Array,-hstore,-and-Jagged-Arrays.html</link>
            <category>9.1</category>
            <category>9.2</category>
            <category>contrib spotlight</category>
            <category>cte</category>
            <category>fdws</category>
            <category>hstore</category>
            <category>postgresql versions</category>
    
    <comments>http://www.postgresonline.com/journal/archives/259-Foreign-Data-Wrap-FDW-Text-Array,-hstore,-and-Jagged-Arrays.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=259</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=259</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;As we discussed in &lt;a href=&quot;http://www.postgresonline.com/journal/archives/251-File-FDW-Family-Part-2-file_textarray_fdw-Foreign-Data-Wrapper.html&quot; target=&quot;_blank&quot;&gt;file_textarray_fdw Foreign Data Wrapper&lt;/a&gt;, &lt;a href=&quot;http://people.planetpostgresql.org/andrew/index.php?/archives/271-Deploying-file_text_array-Foreign-Data-wrapper.html&quot; target=&quot;_blank&quot;&gt;Andrew Dunstan&#039;s text array foreign data wrapper&lt;/a&gt; works great for bringing in a delimited file and not having to worry about the column names until they are in.
We had demonstrated one way to tag the field names to avoid having to keep track of index locations, by using hstore and the header column in conjunction.  
The problem with that is it doesn&#039;t work for jagged arrays.  Jagged arrays are when not all rows have the same number of columns. I&#039;ve jury rigged a small example
to demonstrate the issue.  Luckily with the power of PostgreSQL arrays you can usually get around this issue and still have nice names for your columns.  We&#039;ll demonstrate that too.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/259-Foreign-Data-Wrap-FDW-Text-Array,-hstore,-and-Jagged-Arrays.html#extended&quot;&gt;Continue reading &quot;Foreign Data Wrap (FDW) Text Array, hstore, and Jagged Arrays&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 15 Jul 2012 02:35:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/259-guid.html</guid>
    <category>array</category>
<category>common table expressions</category>
<category>cte</category>
<category>file_textarray_fdw</category>
<category>foreign data wrapper</category>
<category>postgresql 9.1</category>

</item>
<item>
    <title>File FDW Family: Part 2 file_textarray_fdw Foreign Data Wrapper</title>
    <link>http://www.postgresonline.com/journal/archives/251-File-FDW-Family-Part-2-file_textarray_fdw-Foreign-Data-Wrapper.html</link>
            <category>9.1</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
    
    <comments>http://www.postgresonline.com/journal/archives/251-File-FDW-Family-Part-2-file_textarray_fdw-Foreign-Data-Wrapper.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=251</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=251</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Last time we demonstrated &lt;a href=&quot;http://www.postgresonline.com/journal/archives/250-File-FDW-Family-Part-1-file_fdw.html&quot; target=&quot;_blank&quot;&gt;how to query delimited text files&lt;/a&gt; using the &lt;a href=&quot;http://www.postgresql.org/docs/current/interactive/file-fdw.html&quot;&gt;&lt;em&gt;fdw_file&lt;/em&gt;&lt;/a&gt; that comes packaged with PostgreSQL 9.1+, this time we&#039;ll continue our journey into Flat file querying Foreign Data Wrapper using an experimental foreign data wrapper designed for also querying delimited data, but outputting it as a single column text array table. 
This one is called &lt;em&gt;file_textarray_fdw&lt;/em&gt; and developed by Andrew Dunstan.  It&#039;s useful if you are dealing with for example jagged files, where not all columns are not properly filled in for each record or there are just a ton of columns you don&#039;t want to bother itemizing before you bring in. The benefit is you can still query and decide how you want to break it apart. You can grab the source code from &lt;a href=&quot;https://github.com/adunstan/file_text_array_fdw&quot; target=&quot;_blank&quot;&gt;file_text_array_fdw source code&lt;/a&gt;.  If you are on windows, we have compiled binaries in our Bag o&#039; FDWs for both &lt;a href=&quot;/downloads/fdw_win32_91_bin.zip&quot;&gt;PostgreSQL 9.1 32-bit FDW  for Windows bag&lt;/a&gt; and &lt;a href=&quot;/downloads/fdw_win64_91_bin.zip&quot;&gt;PostgreSQL 9.1 64-bit FDW for Windows bag&lt;/a&gt; that should work fine with the EDB installed windows binaries. 
For other systems, the compile is fairly easy if you have the postgresql development libraries installed.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/251-File-FDW-Family-Part-2-file_textarray_fdw-Foreign-Data-Wrapper.html#extended&quot;&gt;Continue reading &quot;File FDW Family: Part 2 file_textarray_fdw Foreign Data Wrapper&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 09 May 2012 23:46:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/251-guid.html</guid>
    <category>fdw</category>
<category>file_textarray_fdw</category>
<category>foreign data wrapper</category>
<category>hstore</category>
<category>postgresql 9.1</category>

</item>
<item>
    <title>File FDW Family: Part 1 file_fdw</title>
    <link>http://www.postgresonline.com/journal/archives/250-File-FDW-Family-Part-1-file_fdw.html</link>
            <category>9.1</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>postgresql versions</category>
    
    <comments>http://www.postgresonline.com/journal/archives/250-File-FDW-Family-Part-1-file_fdw.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=250</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=250</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Last time we demonstrated how to use the &lt;a href=&quot;http://www.postgresonline.com/journal/archives/246-ODBC-Foreign-Data-wrapper---odbc_fdw-on-windows.html&quot; target=&quot;_blank&quot;&gt;ODBC Foreign Data wrapper&lt;/a&gt;, this time we&#039;ll continue our journey into Foreign Data Wrapper land by demonstrating what I&#039;ll call the &lt;em&gt;File FDW family of Foreign Data Wrappers&lt;/em&gt;.  There is one that usually comes packaged with PostgreSQL 9.1 which is called &lt;a href=&quot;http://www.postgresql.org/docs/9.1/interactive/file-fdw.html&quot;&gt;&lt;em&gt;fdw_file&lt;/em&gt;&lt;/a&gt; but there are two other experimental ones I find very useful which are 
developed by Andrew Dunstan both of which Andrew demoed in &lt;a href=&quot;http://people.planetpostgresql.org/andrew/uploads/fdw2.pdf&quot;&gt;PostgreSQL Foreign Data Wrappers&lt;/a&gt; and talked
about a little bit &lt;a href=&quot;http://people.planetpostgresql.org/andrew/index.php?/archives/260-Text-files-from-a-remote-source.html&quot; target=&quot;_blank&quot;&gt;Text files from a remote source&lt;/a&gt;.  As people who have to deal with text data files day in and out, especially ones from mainframes, these satisfy a certain itch.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;file_fdw - for querying delimited text files.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/adunstan/file_fixed_length_record_fdw&quot; target=&quot;_blank&quot;&gt;file_fixed_length_fdw&lt;/a&gt; - this one deals with fixed length data. We discussed methods of importing fixed length data in &lt;a href=&quot;http://www.postgresonline.com/journal/archives/157-Import-fixed-width-data-into-PostgreSQL-with-just-PSQL.html&quot;&gt;Import Fixed width data&lt;/a&gt;.  This is yet another approach but has the benefit that you can also use it to import just a subset of a file. &lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/adunstan/file_text_array_fdw&quot; target=&quot;_blank&quot;&gt;file_text_array_fdw&lt;/a&gt; - this one queries a delimited file as if each delimiete row was a text array.  It is ideal for those less than perfect moments when someone gives you a file with a 1000 columns and you don&#039;t have patience to look at what the hell those columns mean just yet.&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;In this article, we&#039;ll just cover the &lt;code&gt;file_fdw&lt;/code&gt; one, but will follow up in subsequent articles, demonstrating the array and fixed length record ones.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/250-File-FDW-Family-Part-1-file_fdw.html#extended&quot;&gt;Continue reading &quot;File FDW Family: Part 1 file_fdw&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 03 May 2012 15:43:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/250-guid.html</guid>
    <category>fdw</category>
<category>foreign data wrapper</category>
<category>postgresql 9.1</category>

</item>
<item>
    <title>ODBC Foreign Data wrapper to query SQL Server on Window - Part 2</title>
    <link>http://www.postgresonline.com/journal/archives/249-ODBC-Foreign-Data-wrapper-to-query-SQL-Server-on-Window-Part-2.html</link>
            <category>9.1</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>sql server</category>
    
    <comments>http://www.postgresonline.com/journal/archives/249-ODBC-Foreign-Data-wrapper-to-query-SQL-Server-on-Window-Part-2.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=249</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=249</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;As promised in &lt;a href=&quot;http://www.postgresonline.com/journal/archives/246-ODBC-Foreign-Data-wrapper---odbc_fdw-on-windows.html&quot; target=&quot;_blank&quot;&gt;our prior article: ODBC Foreign Data wrapper on windows&lt;/a&gt;, we&#039;ll demonstrate how to query SQL Server using the Foreign Data Wrapper.  This we are testing on windows.
As far as querying SQL Server / PostgreSQL goes, the Foreign Data Wrapper still lacks many features that the &lt;a href=&quot;http://www.postgresonline.com/journal/archives/103-Using-Microsoft-SQL-Server-to-Update-PostgreSQL-Data.html&quot; target=&quot;_blank&quot;&gt;SQL Server Linked Server&lt;/a&gt; approach provides.
The key ones we find currently lacking: ability to do updates and reference a table directly from server without knowing underlying structure. That said
the Foreign data Wrapper approach has possiblity to support a lot more data sources with ease.  We&#039;ll demonstrate in subsequent articles using the &lt;b&gt;www_fdw&lt;/b&gt; to query 
web services which we&#039;ve been playing a lot with and the often packaged in &lt;b&gt;file_fdw&lt;/b&gt;. Enough of that let&#039;s start with a concrete example.&lt;/p&gt;

&lt;p&gt;Warning, this is not production ready, but seems like a very promising start and with more testing can become very robust. Although we are demonstrating odbc_fdw on windows,
it is supported on Unix via the UnixODBC, but the data sources you can query will probably be different.
I&#039;m really looking forward to how the FDW technology in PostgreSQL will push the envelop.  I&#039;ve been playing around with the &lt;b&gt;www_fdw&lt;/b&gt; as well and been impressed how easily it is to 
query webservices with SQL. A very ah-hah moment.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/249-ODBC-Foreign-Data-wrapper-to-query-SQL-Server-on-Window-Part-2.html#extended&quot;&gt;Continue reading &quot;ODBC Foreign Data wrapper to query SQL Server on Window - Part 2&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 15 Apr 2012 20:09:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/249-guid.html</guid>
    <category>fdw</category>
<category>foreign data wrapper</category>
<category>postgresql 9.1</category>
<category>sql server</category>

</item>
<item>
    <title>ODBC Foreign Data wrapper - odbc_fdw on windows</title>
    <link>http://www.postgresonline.com/journal/archives/246-ODBC-Foreign-Data-wrapper-odbc_fdw-on-windows.html</link>
            <category>9.1</category>
            <category>fdws</category>
            <category>new in postgresql</category>
            <category>winextensions</category>
    
    <comments>http://www.postgresonline.com/journal/archives/246-ODBC-Foreign-Data-wrapper-odbc_fdw-on-windows.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=246</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=246</wfw:commentRss>
    

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the new features in PostgreSQL 9.1 that we&#039;ve been meaning to try is the new foreign data wrapper support.
Now that we are in compile mode gearing up for releasing PostGIS 2.0.0 for windows (both 32 and 64-bit), we thought we&#039;d give the &lt;a href=&quot;http://pgxn.org/dist/odbc_fdw/&quot; target=&quot;_blank&quot;&gt;odbc_fdw&lt;/a&gt; a try trying to compile on windows.  Last we tried we weren&#039;t successful because
we couldn&#039;t get past the -lodbc required step.&lt;/p&gt;

&lt;p&gt;It turns out there is an easy fix to the ODBC dependency issue and I&#039;m not sure I changed the line right.  In the makefile we changed &lt;b&gt;-lodbc&lt;/b&gt; to &lt;b&gt;-lodbc32&lt;/b&gt;.  This was needed for both compiling 32-bit as well as the 64-bit. We compiled the 64-bit version under our Mingw-64 chain
and 32-bit under our old Mingw gcc 3.4.5.  Sadly we still don&#039;t have our mingw64 (compile for windows 32-bit compile up yet).  Our ming64 for windows 32 can compile the 9.2 development branch but not the 9.1.3. Go figure.  Anyrate to make a long story short -- we have 32-bit binaries for PostgreSQL (you can use in VC++ builds) and 64-bit binaries as well that you can use for the VC++ EDB builds for those who are interested in experimenting.
&lt;a href=&quot;/downloads/fdw_win32_91_bin.zip&quot;&gt;PostgreSQL 9.1 Windows 32-bit ODBC FDW&lt;/a&gt; &amp;#160;&amp;#160;&lt;a href=&quot;/downloads/odbc_fdw_win64bin.zip&quot;&gt;PostgreSQL 9.1 Windows 64-bit ODBC FDW&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So far we&#039;ve tried the PostgreSQL 64-bit data wrapper against a SQL Server 2005 DSN and it seems to work fine.  Have yet to try it on other ODBC sources.
We&#039;ll write up a more detailed article describing how to make the connections.&lt;/p&gt;

&lt;p&gt;There is one trick to getting Mingw64 compiled PostgreSQL extensions to work with the Windows 64-bit EDB builds, and that is that when you compile your PostgreSQL under mingw64,
you have to configure with option &lt;code&gt;----disable-float8-byval&lt;/code&gt; as we noted in our &lt;a href=&quot;http://trac.osgeo.org/postgis/wiki/DevWikiWinMingW64&quot; target=&quot;_blank&quot;&gt;PostGIS Window 64 build instructions&lt;/a&gt;.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Tue, 27 Mar 2012 16:30:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/246-guid.html</guid>
    <category>fdw</category>
<category>foreign data wrapper</category>
<category>postgresql 9.1</category>

</item>

</channel>
</rss>