<?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 - 9.5</title>
    <link>https://www.postgresonline.com/journal/</link>
    <description>Tips and tricks for PostgreSQL</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.3.5 - http://www.s9y.org/</generator>
    <pubDate>Fri, 17 Oct 2025 03:33:46 GMT</pubDate>

    <image>
    <url>https://www.postgresonline.com/journal/templates/default/img/s9y_banner_small.png</url>
    <title>RSS: Postgres OnLine Journal - 9.5 - Tips and tricks for PostgreSQL</title>
    <link>https://www.postgresonline.com/journal/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>http extension for windows updated to include PostgreSQL18 64-bit</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/371-http-extension-for-windows-updated-to-include-PostgreSQL18-64-bit.html</link>
            <category>10</category>
            <category>11</category>
            <category>12</category>
            <category>13</category>
            <category>14</category>
            <category>15</category>
            <category>16</category>
            <category>17</category>
            <category>9.4</category>
            <category>9.5</category>
            <category>9.6</category>
            <category>contrib spotlight</category>
            <category>http</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/371-http-extension-for-windows-updated-to-include-PostgreSQL18-64-bit.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=371</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;div style=&quot;background-color:green;color:white&quot;&gt;Updated  October 16th, 2025 64-bit package for PostgreSQL 18 &lt;a href=&quot;https://github.com/pramsey/pgsql-http/releases/tag/v1.7.0&quot; target=&quot;_blank&quot; style=&#039;color:white&#039;&gt;http extension v1.7.0 release&lt;/a&gt;. &lt;/div&gt;

&lt;p&gt;For those folks on windows who want to do http gets and posts directly from your PostgreSQL server, we&#039;ve made binaries for the &lt;a href=&quot;https://github.com/pramsey/pgsql-http&quot; target=&quot;_blank&quot;&gt;http extension&lt;/a&gt; for PostgreSQL Windows.&lt;/p&gt;

&lt;p&gt;These are designed to work with PostgreSQL EDB windows distributions.&lt;/p&gt;

&lt;p&gt;If you have PostGIS already installed, many of these files you will also already have since things like the libcurl and PCRE are also packaged with PostGIS.&lt;/p&gt;

 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/371-http-extension-for-windows-updated-to-include-PostgreSQL18-64-bit.html#extended&quot;&gt;Continue reading &quot;http extension for windows updated to include PostgreSQL18 64-bit&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 16 Oct 2025 23:03:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/371-guid.html</guid>
    
</item>
<item>
    <title>VARIADIC Unnest</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/406-VARIADIC-Unnest.html</link>
            <category>10</category>
            <category>11</category>
            <category>12</category>
            <category>13</category>
            <category>14</category>
            <category>15</category>
            <category>9.4</category>
            <category>9.5</category>
            <category>9.6</category>
            <category>basics</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/406-VARIADIC-Unnest.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=406</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;PostgreSQL keeps on adding new great stuff. It&#039;s hard to remember all the good stuff that has been added over the years.
One of the neat ones from the past is the &lt;a href=&quot;https://www.postgresql.org/docs/current/queries-table-expressions.html#QUERIES-TABLEFUNCTIONS&quot; target=&quot;_blank&quot;&gt;variadic Unnest function&lt;/a&gt; which I believe was introduced in PostgreSQL 9.4.  It&#039;s rare that I ever had to use it, but today I was handed some data where this function was just literally what the doctor ordered.  I can&#039;t do anything this sweet in other databases I have used.&lt;/p&gt;

 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/406-VARIADIC-Unnest.html#extended&quot;&gt;Continue reading &quot;VARIADIC Unnest&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 23 Nov 2022 00:26:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/406-guid.html</guid>
    
</item>
<item>
    <title>PostGIS 2.5.1 Bundle for Windows</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/392-PostGIS-2.5.1-Bundle-for-Windows.html</link>
            <category>10</category>
            <category>11</category>
            <category>9.4</category>
            <category>9.5</category>
            <category>9.6</category>
            <category>editor note</category>
            <category>fdws</category>
            <category>gis</category>
            <category>ogr_fdw</category>
            <category>pgRouting</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/392-PostGIS-2.5.1-Bundle-for-Windows.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=392</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&quot;https://postgis.net/2018/11/18/postgis-2.5.1/&quot; target=&quot;_blank&quot;&gt;PostGIS 2.5.1 was released on November 18th 2018&lt;/a&gt; and I finished off packaging the &lt;a href=&quot;https://postgis.net/windows_downloads&quot;/&gt;PostGIS 2.5.1 windows builds and installers&lt;/a&gt; targeted for PostgreSQL EDB distribution this weekend and pushing them up to stackbuilder. This covers PostgreSQL 9.4-11 64-bit and PostgreSQL 95-10 (32bit).&lt;/p&gt;

&lt;p&gt;Note that PostGIS 2.5 series will be the last of the PostGIS 2s. Goodbye PostGIS 2.* and start playing with the in-development version of PostGIS 3.  Snapshot binaries for PostGIS 3.0 windows development are also available on the &lt;a href=&quot;https://postgis.net/windows_downloads/&quot; target=&quot;_blank&quot;&gt;PostGIS windows download&lt;/a&gt; page.  These should work for both BigSQL and EDB distributions.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/392-PostGIS-2.5.1-Bundle-for-Windows.html#extended&quot;&gt;Continue reading &quot;PostGIS 2.5.1 Bundle for Windows&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 09 Dec 2018 19:18:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/392-guid.html</guid>
    
</item>
<item>
    <title>Unpivoting data using JSON functions</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/389-Unpivoting-data-using-JSON-functions.html</link>
            <category>10</category>
            <category>9.4</category>
            <category>9.5</category>
            <category>9.6</category>
            <category>basics</category>
            <category>json</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/389-Unpivoting-data-using-JSON-functions.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=389</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Most of our use-cases for the built-in json support in PostgreSQL is not to implement schemaless design storage, but instead to remold data.
Remolding can take the form of restructuring data into json documents suitable for web maps, javascript charting web apps, or datagrids.  It also has uses beyond just outputting data in json form.  In addition the functions are useful for unraveling json data into a more meaningful relational form.&lt;/p&gt;

&lt;p&gt;One of the common cases we use json support is what we call UNPIVOTING data. 
We demonstrated this in &lt;a href=&quot;http://www.postgis.us/presentations/PostgresVision2018_SpatialExtensions.html#/23&quot; target=&quot;_blank&quot;&gt;Postgres Vision 2018 presentation in slide 23&lt;/a&gt;.
This trick won&#039;t work in other relational databases that support JSON because
it also uses a long existing feature of PostgreSQL to be able to treat a row as a data field.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/389-Unpivoting-data-using-JSON-functions.html#extended&quot;&gt;Continue reading &quot;Unpivoting data using JSON functions&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 14 Jun 2018 03:12:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/389-guid.html</guid>
    
</item>
<item>
    <title>PostgreSQL JSQuery extension Windows binaries</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/375-PostgreSQL-JSQuery-extension-Windows-binaries.html</link>
            <category>10</category>
            <category>9.4</category>
            <category>9.5</category>
            <category>9.6</category>
            <category>contrib spotlight</category>
            <category>json</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/375-PostgreSQL-JSQuery-extension-Windows-binaries.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=375</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;title&gt;PostgreSQL JSQuery extension Windows binaries&lt;/title&gt;
&lt;p&gt;The JSQuery extension is a PostgreSQL extension developed by Postgres Professional.  You can get the source code and instructions for use at
&lt;a href=&quot;https://github.com/postgrespro/jsquery&quot; target=&quot;_blank&quot;&gt;https://github.com/postgrespro/jsquery&lt;/a&gt;. JSQuery is a fairly easy compile install if you are on a Nix system.
It provides more query functionality and additional index operator classes to support for JSONB than you get in built in PostgreSQL. 
It is supported for PostgreSQL 9.4 and above.&lt;/p&gt;

&lt;p&gt;We&#039;ve built windows binaries for PostgreSQL 64-bit 9.4, 9.5, 9.6, and 10beta1.  The 9.4 64-bit will only install on the EDB PostgreSQL 9.4 64-bit distribution.
The 9.5 and 9.6 are compatible with both PostgreSQL EDB and BigSQL distributions. The 10 has only been tested on BigSQL, but should work on EDB when it comes out. We should have 32-bit versions later and will link to those here.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/375-PostgreSQL-JSQuery-extension-Windows-binaries.html#extended&quot;&gt;Continue reading &quot;PostgreSQL JSQuery extension Windows binaries&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 12 May 2017 20:02:06 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/375-guid.html</guid>
    
</item>
<item>
    <title>ODBC FDW now supports 9.5 and 9.6</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/372-ODBC-FDW-now-supports-9.5-and-9.6.html</link>
            <category>9.5</category>
            <category>9.6</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>ogr_fdw</category>
            <category>other dbms</category>
            <category>postgis</category>
            <category>postgresql versions</category>
            <category>sql server</category>
            <category>winextensions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/372-ODBC-FDW-now-supports-9.5-and-9.6.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=372</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;A while ago when Foreign Data Wrappers in PostgreSQL was a fairly new thing, we talked about the &lt;a href=&quot;http://www.postgresonline.com/article_pfriendly/249.html&quot; target=&quot;_blankt&quot;&gt;ODBC_FDW&lt;/a&gt; foreign data wrapper. Since then, people have been asking us how to get the ODBC FDW to work on newer PostgreSQL.
Sadly the ODBC_FDW was stuck in time not having updated to newer FDW API standards.
Our recommendation was just to use &lt;a href=&quot;https://github.com/pramsey/pgsql-ogr-fdw&quot; target=&quot;_blank&quot;&gt;OGR_FDW&lt;/a&gt;, which many distributions both Linux and Windows have compiled OGR_FDW with ODBC support.
True that OGR_FDW is coined as a spatial data wrapper, but the reality is spatial data rarely lives apart from regular attribute data so a good spatial vector driver supports both vector data and bread and butter data types. OGR_FDW is still our go to for working with spreadsheets and folders of  CSV files.&lt;/p&gt;

&lt;p&gt;Recently the fine folks at &lt;a href=&quot;https://carto.com/&quot; target=&quot;_blank&quot;&gt;Carto&lt;/a&gt; patched the &lt;A href=&quot;https://github.com/CartoDB/odbc_fdw&quot; target=&quot;_blank&quot;&gt;ODBC FDW&lt;/a&gt; to work with PostgreSQL 9.5. I do hope they accept my modest patch to make it work with PostgreSQL 9.6 as well. 
So now 2 FDWs to choose from for connecting to ODBC datasources.  Which one is better?  The answer as most always is IT DEPENDS.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/372-ODBC-FDW-now-supports-9.5-and-9.6.html#extended&quot;&gt;Continue reading &quot;ODBC FDW now supports 9.5 and 9.6&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 23 Nov 2016 00:39:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/372-guid.html</guid>
    
</item>
<item>
    <title>regexp_split_to_table and string_to_array unnest performance</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/370-regexp_split_to_table-and-string_to_array-unnest-performance.html</link>
            <category>8.3</category>
            <category>8.4</category>
            <category>9.0</category>
            <category>9.1</category>
            <category>9.2</category>
            <category>9.3</category>
            <category>9.4</category>
            <category>9.5</category>
            <category>9.6</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/370-regexp_split_to_table-and-string_to_array-unnest-performance.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=370</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Whenever you need to split a text into multiple records breaking by some delimeter, there are two common options that PostgreSQL provides. The first is
&lt;a href=&quot;https://www.postgresql.org/docs/current/static/functions-string.html&quot; target=&quot;_blank&quot;&gt;&lt;em&gt;regpexp_split_to_table&lt;/em&gt;&lt;/a&gt; and then next popular is using the unnest function in combination with &lt;a href=&quot;https://www.postgresql.org/docs/current/static/functions-array.html&quot; target=&quot;_blank&quot;&gt;&lt;em&gt;string_to_array&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Here is an example using &lt;em&gt;regexp_split_to_table&lt;/em&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SELECT a
FROM regexp_split_to_table(&#039;john,smith,jones&#039;, &#039;,&#039;) AS a;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Which outputs:&lt;/p&gt;
&lt;pre&gt;   a
-------
 john
 smith
 jones
(3 rows)&lt;/pre&gt;

&lt;p&gt;You can achieve the same result by using the construct:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SELECT a
FROM unnest(string_to_array(&#039;john,smith,jones&#039;, &#039;,&#039;)) AS a;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;With short text you won&#039;t notice much perfomance difference. But what happens if we pass in a humungous text?&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/370-regexp_split_to_table-and-string_to_array-unnest-performance.html#extended&quot;&gt;Continue reading &quot;regexp_split_to_table and string_to_array unnest performance&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 01 Jul 2016 23:13:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/370-guid.html</guid>
    
</item>
<item>
    <title>PGConfUS 2016 PostGIS slides and tutorial material</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/366-PGConfUS-2016-PostGIS-slides-and-tutorial-material.html</link>
            <category>9.5</category>
            <category>editor note</category>
            <category>gis</category>
            <category>ogr_fdw</category>
            <category>postgis</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/366-PGConfUS-2016-PostGIS-slides-and-tutorial-material.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=366</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;We gave a PostGIS Intro Training and a PostGIS talk at PGConfUS 2016 in Brooklyn, New York and just got back.  A number of people asked if we&#039;d make the slides and material available. We have these posted on our presentation page: &lt;a href=&quot;http://www.postgis.us/presentations&quot; target=&quot;_blank&quot;&gt;http://www.postgis.us/presentations&lt;/a&gt; and will be putting on the PostgreSQL Wiki as well in due time. There will be a video coming along for the talk, but the training was not recorded.&lt;/p&gt;

&lt;p&gt;We also have two more talks coming up in North Carolina in Early May at FOSS4G NA 2016  - one on &lt;a href=&quot;https://2016.foss4g-na.org/session/postgis-spatial-tricks&quot; target=&quot;_blank&quot;&gt;PostGIS Spatial Tricks&lt;/a&gt; which has more of a GIS specialist focus than the top 10 talk we gave, but there will be some overlap.  The other talk is a topic a couple of people asked us in training and after our talk, on routing along constrained paths.   If you are attending FOSS4G NA 2016, you won&#039;t want to miss our talk &lt;a href=&quot;https://2016.foss4g-na.org/session/postgis-spatial-tricks&quot; target=&quot;_blank&quot;&gt;pgRouting: A Crash Course&lt;/a&gt; which is also the topic of our upcoming book.&lt;/p&gt;

&lt;p&gt;Just like FOSS4G NA 2015, there is a &lt;a href=&quot;https://2016.foss4g-na.org/pgday&quot; target=&quot;_blank&quot;&gt;pgDay track&lt;/a&gt; which is PostgreSQL specific material, useful to a spatial crowd, but not PostGIS focused.  &lt;/p&gt;


 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/366-PGConfUS-2016-PostGIS-slides-and-tutorial-material.html#extended&quot;&gt;Continue reading &quot;PGConfUS 2016 PostGIS slides and tutorial material&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 21 Apr 2016 13:04:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/366-guid.html</guid>
    
</item>
<item>
    <title>PostGIS 2.2 Windows users hold off on installing latest PostgreSQL patch release</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/364-PostGIS-2.2-Windows-users-hold-off-on-installing-latest-PostgreSQL-patch-release.html</link>
            <category>9.3</category>
            <category>9.4</category>
            <category>9.5</category>
            <category>ogr_fdw</category>
            <category>postgis</category>
            <category>postgresql versions</category>
            <category>q&amp;a</category>
            <category>www_fdw</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/364-PostGIS-2.2-Windows-users-hold-off-on-installing-latest-PostgreSQL-patch-release.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=364</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Someone reported recently on PostGIS mailing list, that they &lt;a href=&quot;https://lists.osgeo.org/pipermail/postgis-users/2016-March/041308.html&quot; target=&quot;_blank&quot;&gt;were unable to install PostGIS 2.2.1 bundle or PostGIS 2.2.2 binaries on a clean PostgreSQL 9.5.2 install&lt;/a&gt;.
Someone also complained about PostgreSQL 9.3 (though not clear the version) if that is a separate issue or the same.  I have tested on PostgreSQL 9.5.2 Windows 64-bit and confirmed the issue.  The issue does not affect PostgreSQL 9.5.1 and older.  I haven&#039;t confirmed its an issue with the 32-bit installs, but I suspect so too.  This 
issue will affect OGR_FDW users and people who used our compiled WWW_FDW.&lt;/p&gt;




 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/364-PostGIS-2.2-Windows-users-hold-off-on-installing-latest-PostgreSQL-patch-release.html#extended&quot;&gt;Continue reading &quot;PostGIS 2.2 Windows users hold off on installing latest PostgreSQL patch release&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 02 Apr 2016 11:34:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/364-guid.html</guid>
    
</item>
<item>
    <title>An almost idiot's guide to install PostgreSQL 9.5, PostGIS 2.2 and pgRouting 2.1.0 with Yum</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/362-An-almost-idiots-guide-to-install-PostgreSQL-9.5,-PostGIS-2.2-and-pgRouting-2.1.0-with-Yum.html</link>
            <category>9.5</category>
            <category>basics</category>
            <category>postgis</category>
            <category>postgresql versions</category>
            <category>yum</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/362-An-almost-idiots-guide-to-install-PostgreSQL-9.5,-PostGIS-2.2-and-pgRouting-2.1.0-with-Yum.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=362</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;If you already have a working PostgreSQL 9.5 install, and just want to skip to relevant sections, follow this list:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;#PostGIS&quot;&gt;Installing PostGIS binaries&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#pgRouting&quot;&gt;Installing pgRouting binaries&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#ogrfdw&quot;&gt;Installing ogrfdw binaries&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As a general note, these instructions are what I did for CentOS 7.  For lower versions ther are some differences in packages you&#039;ll get.
For example currently if you are installing on CentOS 6 (and I presume by extension other 6 family), you won&#039;t get SFCGAL and might have pgRouting 2.0 (instead of 2.1)&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/362-An-almost-idiots-guide-to-install-PostgreSQL-9.5,-PostGIS-2.2-and-pgRouting-2.1.0-with-Yum.html#extended&quot;&gt;Continue reading &quot;An almost idiot&#039;s guide to install PostgreSQL 9.5, PostGIS 2.2 and pgRouting 2.1.0 with Yum&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 29 Jan 2016 03:21:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/362-guid.html</guid>
    
</item>
<item>
    <title>Foreign Data Wrappers for PostgreSQL 9.5 and 9.6 windows</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/361-Foreign-Data-Wrappers-for-PostgreSQL-9.5-and-9.6-windows.html</link>
            <category>9.5</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>file_textarray_fdw</category>
            <category>ogr_fdw</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
            <category>www_fdw</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/361-Foreign-Data-Wrappers-for-PostgreSQL-9.5-and-9.6-windows.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=361</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;h3&gt;FDW binaries for PostgreSQL 9.5 windows 64-bit/32-bit&lt;/h3&gt;
&lt;p&gt;As you may have noticed we&#039;ve been building our favorite extensions which we&#039;ll use in our PostgreSQL 9.5 installs. Next on our list are the FDWS&lt;/p&gt;
&lt;p&gt;Below are the zip files that contain the binaries and dependency files for our favorite FDWs (that aren&#039;t normally available for windows)&lt;/p&gt;

&lt;p&gt;These packages contain &lt;a href=&quot;http://www.postgresonline.com/journal/categories/79-www_fdw&quot; target=&quot;_blank&quot;&gt;www_fdw&lt;/a&gt; and &lt;a href=&quot;/article_pfriendly/251.html&quot;&gt;file_textarray_fdw&lt;/a&gt;&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/361-Foreign-Data-Wrappers-for-PostgreSQL-9.5-and-9.6-windows.html#extended&quot;&gt;Continue reading &quot;Foreign Data Wrappers for PostgreSQL 9.5 and 9.6 windows&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 21 Jan 2016 03:49:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/361-guid.html</guid>
    
</item>
<item>
    <title>PLV8 binaries for PostgreSQL 9.5 windows both 32-bit and 64-bit</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/360-PLV8-binaries-for-PostgreSQL-9.5-windows-both-32-bit-and-64-bit.html</link>
            <category>9.5</category>
            <category>contrib spotlight</category>
            <category>plv8js</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/360-PLV8-binaries-for-PostgreSQL-9.5-windows-both-32-bit-and-64-bit.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=360</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;I&#039;ve built pl/v8 for PostgreSQL 9.5 both 32-bit and 64-bit.&lt;/p&gt;

&lt;p&gt;I built basically using these instructions on my gist &lt;a href=&quot;https://gist.github.com/robe2&quot; target=&quot;_blank&quot;&gt;gist page&lt;/a&gt;.&lt;/p&gt;

 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/360-PLV8-binaries-for-PostgreSQL-9.5-windows-both-32-bit-and-64-bit.html#extended&quot;&gt;Continue reading &quot;PLV8 binaries for PostgreSQL 9.5 windows both 32-bit and 64-bit&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 19 Jan 2016 17:31:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/360-guid.html</guid>
    
</item>
<item>
    <title>Import Foreign Schema for ogr_fdw for PostgreSQL 9.5</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/359-Import-Foreign-Schema-for-ogr_fdw-for-PostgreSQL-9.5.html</link>
            <category>9.5</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>ogr_fdw</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/359-Import-Foreign-Schema-for-ogr_fdw-for-PostgreSQL-9.5.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=359</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;PostgreSQL 9.5RC1 got released recently, and as with PostgreSQL 9.5beta2, the FDW API changed just enough so that the ogr_fdw I compiled for PostgreSQL 9.5beta2 no longer worked for PostgreSQL 9.5RC1.  While &lt;a href=&quot;https://github.com/pramsey/pgsql-ogr-fdw/issues/45&quot; target=&quot;_blank&quot;&gt;patching up ogr_fdw to make it work with PostgreSQL 9.5RC1&lt;/a&gt;, I took a study of &lt;a href=&quot;http://www.postgresql.org/docs/9.5/static/postgres-fdw.html&quot; target=&quot;_blank&quot;&gt;postgres_fdw&lt;/a&gt; to see how much effort it would be to implement this new PostgreSQL 9.5 Import Schema functionality for my favorite fdw ogr_fdw.  Took me about a day&#039;s work, 
and if I was more experienced, it would have been probably only an hour to graft the logic from postgres_fdw and the ogr_fdw_info that &lt;a href=&quot;http://blog.cleverelephant.ca&quot; target=&quot;_blank&quot;&gt;Paul Ramsey&lt;/a&gt; had already done, to achieve Import Foreign Schema nirvana.  Here&#039;s hoping my ogr_fdw patch gets accepted in some shape or form in time for PostgreSQL 9.5 release and in time to package for Windows PostGIS 2.2 Bundle for PostgreSQL 9.5.&lt;/p&gt;

&lt;div style=&quot;background-color:green;color:white&quot;&gt;UPDATE - ogr_fdw 1.0.1+ now includes the IMPORT FOREIGN SCHEMA functionality discussed here.&lt;/div&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/359-Import-Foreign-Schema-for-ogr_fdw-for-PostgreSQL-9.5.html#extended&quot;&gt;Continue reading &quot;Import Foreign Schema for ogr_fdw for PostgreSQL 9.5&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 31 Dec 2015 18:43:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/359-guid.html</guid>
    
</item>
<item>
    <title>PostGIS 2.2.0 windows bundle for PostgreSQL 9.5beta2 32 and 64 bit</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/358-PostGIS-2.2.0-windows-bundle-for-PostgreSQL-9.5beta2-32-and-64-bit.html</link>
            <category>9.5</category>
            <category>new in postgresql</category>
            <category>ogr_fdw</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/358-PostGIS-2.2.0-windows-bundle-for-PostgreSQL-9.5beta2-32-and-64-bit.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=358</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;We just pushed out installers for PostGIS 2.2.0 for PostgreSQL 9.5beta2 windows both 32-bit and 64-bit on Application Stackbuilder.  These installers are also available as standalone listed on &lt;a href=&quot;http://postgis.net/windows_downloads/&quot; target=&quot;_blank&quot;&gt;PostGIS windows page&lt;/a&gt;.  This is the first PostGIS 2.2.0 release for the PostgreSQL 9.5 32-bit and  a rerelease for PostgreSQL 9.5 x 64-bit (this time compiled against beta2 instead of beta1). &lt;/p&gt;

&lt;p&gt;On quick testing the PostGIS 2.2 beta1 release and pgRouting 2.1.0 worked fine on 9.5beta2, however you may want to reinstall anyway just to be safe.  You can just reinstall over your existing install, no need to uninstall first. Similarly just upgrading a PostgreSQL 9.5beta1 to 9.5beta2 seemed to not require pg_upgrade or dump/restore, so safe to just upgrade from 9.5beta1 to 9.5beta2.  Other notes about this 9.5beta2 PostGIS 2.2.0 release:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;The FDW API changed between PostgreSQL 9.5beta1 and PostgreSQL 9.5beta2, so the &lt;a href=&quot;https://github.com/pramsey/pgsql-ogr-fdw&quot; target=&quot;_blank&quot;&gt;OGR_FDW&lt;/a&gt;, if you don&#039;t reinstall the bundle, will crash and burn in PostgreSQL 9.5beta2 (using PostGIS 2.2. beta1 executables). Similarly this newly compiled OGR_FDW will not work on PostgreSQL 9.5beta1 (so upgrade to 9.5beta2 first). &lt;/li&gt;
&lt;li&gt;The PostgreSQL 9.5betas (that includes both beta1 and beta2), are compiled against the &lt;a href=&quot;https://github.com/pgpointcloud/pointcloud&quot; target=&quot;_blank&quot;&gt;pointcloud&lt;/a&gt; 1.1 master branch.  This was required because the released pointcloud 1.0.1, does not compile against PostgreSQL 9.5&lt;/li&gt;
&lt;li&gt;The PostgreSQL 9.5beta2 PostGIS 2.2.0 release comes packaged with SFCGAL 1.2.2 (instead of 1.2.0 like the others versions) which fixes a crasher with ST_StraightSkeleton as noted in ticket - &lt;a href=&quot;https://trac.osgeo.org/postgis/ticket/3324&quot; target=&quot;_blank&quot;&gt;https://trac.osgeo.org/postgis/ticket/3324&lt;/a&gt;.  Newer SFCGAL will be packaged with upcoming PostGIS 2.2.1, but if you are on an older edition and are using SFCGAL, you can always copy latest SFCGAL.dll binaries from the 2.2.1dev packages on PostGIS windows page &lt;a href=&quot;http://postgis.net/windows_downloads/&quot; target-&quot;_blank&quot;&gt;http://postgis.net/windows_downloads/&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
 
    </content:encoded>

    <pubDate>Sun, 22 Nov 2015 01:47:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/358-guid.html</guid>
    
</item>
<item>
    <title>PostgreSQL 9.5 Grouping Sets with PostGIS spatial aggregates</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/352-PostgreSQL-9.5-Grouping-Sets-with-PostGIS-spatial-aggregates.html</link>
            <category>9.5</category>
            <category>new in postgresql</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/352-PostgreSQL-9.5-Grouping-Sets-with-PostGIS-spatial-aggregates.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=352</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the features coming in PostgreSQL 9.5 is the triumvirate &lt;code&gt;GROUPING SETS&lt;/code&gt;, &lt;code&gt;CUBE&lt;/code&gt;, and &lt;code&gt;ROLLUP&lt;/code&gt; nicely covered in Bruce&#039;s recent &lt;a href=&quot;http://momjian.us/main/writings/pgsql/features.pdf&quot; target=&quot;_blank&quot;&gt;slide deck&lt;/a&gt;.  The neatest thing about PostgreSQL development is that when improvements happen, they don&#039;t just affect the core, but can be taken advantage of by extensions, without even lifting a finger. Such is the case with these features.&lt;/p&gt;

&lt;p&gt;One of the things I was curious about with these new set of predicates is &lt;em&gt;Would they work with any aggregate function?&lt;/em&gt;.  I assumed they would, so decided to put it to the test, by using it with PostGIS ST_Union function (using PostGIS 2.2.0 development). This feature was not something the PostGIS Development group planned on supporting, but by the magic of PostgreSQL, PostGIS accidentally supports it.  The grouping sets feature is particularly useful if you want to aggregate data multiple times, perhaps for display using the same dataset.  It allows you to do it with a single query that in other PostgreSQL versions would require a UNION query.  This is a rather boring example but hopefully you get the idea.&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/352-PostgreSQL-9.5-Grouping-Sets-with-PostGIS-spatial-aggregates.html#extended&quot;&gt;Continue reading &quot;PostgreSQL 9.5 Grouping Sets with PostGIS spatial aggregates&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 03 Aug 2015 03:01:26 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/352-guid.html</guid>
    
</item>

</channel>
</rss>
