<?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.4</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.4 - 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>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>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>Import Foreign Schema hack with OGR_FDW and reading LibreOffice calc workbooks</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/345-Import-Foreign-Schema-hack-with-OGR_FDW-and-reading-LibreOffice-calc-workbooks.html</link>
            <category>9.4</category>
            <category>contrib spotlight</category>
            <category>ogr_fdw</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/345-Import-Foreign-Schema-hack-with-OGR_FDW-and-reading-LibreOffice-calc-workbooks.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=345</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;PostgreSQL 9.4 and below doesn&#039;t support importing whole set of tables from a FOREIGN server, but PostgreSQL 9.5 does with the upcoming &lt;a href=&quot;http://michael.otacoo.com/postgresql-2/postgres-9-5-feature-highlight-import-foreign-schema/&quot; target=&quot;_blank&quot;&gt;Import Foreign Schema&lt;/a&gt;.  To use will require FDW wrapper designers to be aware of this feature and use the plumbing in their wrappers.  &lt;a href=&quot;https://github.com/pramsey/pgsql-ogr-fdw/issues/10&quot; target=&quot;_blank&quot;&gt;IMPORT FOREIGN SCHEMA for ogr_fdw come PostgreSQL 9.5 release&lt;/a&gt; is on the features ticket list. &lt;/p&gt;

&lt;div style=&quot;background-color:yellow&quot;&gt;UPDATE: If you are using PostgreSQL 9.5+, you can use the IMPORT FOREIGN SCHEMA feature which is available in ogr_fdw 1.0.1+. We demonstrate this in: &lt;a href=&quot;https://www.postgresonline.com/journal/archives/359-Import-Foreign-Schema-for-ogr_fdw-for-PostgreSQL-9.5.html&quot; target=&quot;_blank&quot;&gt;ogr fdw IMPORT FOREIGN SCHEMA&lt;/a&gt;.&lt;/div&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/pramsey/pgsql-ogr-fdw&quot; target=&quot;_blank&quot;&gt;ogr_fdw&lt;/a&gt; comes with this &lt;i&gt;to die for commandline&lt;/i&gt; utility called &lt;code&gt;ogr_fdw_info&lt;/code&gt; that does generate the table structures for you and will also list all the tables in the Foreign data source if you don&#039;t give it a specific table name. So with this utility I wrote a little hack involving using PostgreSQL &lt;code&gt;COPY PROGRAM&lt;/code&gt; feature to call out to the &lt;code&gt;ogr_fdw_info&lt;/code&gt; commandline tool to figure out the table names and some DO magic to create the tables.&lt;/p&gt;

&lt;p&gt;Though ogr_fdw is designed to be a spatial foreign data wrapper, it&#039;s turning out to be a pretty nice non-spatial FDW as well especially for reading spreadsheets which we seem to get a lot of. This hack I am about to demonstrate I am demonstrating with LibreOffice/OpenOffice workbook, but works equally well with Excel workbooks and most any data source that OGR supports.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/345-Import-Foreign-Schema-hack-with-OGR_FDW-and-reading-LibreOffice-calc-workbooks.html#extended&quot;&gt;Continue reading &quot;Import Foreign Schema hack with OGR_FDW and reading LibreOffice calc workbooks&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 07 Jan 2016 02:59:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/345-guid.html</guid>
    
</item>
<item>
    <title>PostgreSQL OGR FDW update and PostGIS 2.2 news</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/351-PostgreSQL-OGR-FDW-update-and-PostGIS-2.2-news.html</link>
            <category>9.3</category>
            <category>9.4</category>
            <category>contrib spotlight</category>
            <category>ogr_fdw</category>
            <category>postgis</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/351-PostgreSQL-OGR-FDW-update-and-PostGIS-2.2-news.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=351</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&quot;https://lists.osgeo.org/pipermail/postgis-devel/2015-June/025016.html&quot;&gt;PostGIS 2.2&lt;/a&gt; is planned to reach feature freeze June 30th 2015 so we can make the September PostgreSQL 9.5 curtain call with confidence.  Great KNN enhancements for PostgreSQL 9.5 only users.  I&#039;ve been busy getting all my ducks lined up.  A lot on tiger geocoder and address standardizer extension to be shipped with windows builds, story for later.  One other feature we plan to ship with the windows PostGIS 2.2 builds is the &lt;a href=&quot;https://github.com/pramsey/pgsql-ogr-fdw&quot; target=&quot;_blank&quot;&gt;ogr_fdw&lt;/a&gt; ogr_fdw Foreign data wrapper extension.  I&#039;ve been nagging &lt;a href=&quot;http://blog.cleverelephant.ca/&quot; target=&quot;_blank&quot;&gt;Paul Ramsey&lt;/a&gt; a lot about issues with it, this in particular &lt;a href=&quot;https://github.com/pramsey/pgsql-ogr-fdw/issues/25&quot; target=&quot;_blank&quot;&gt;https://github.com/pramsey/pgsql-ogr-fdw/issues/25&lt;/a&gt;, and after some prodding, he finally put his nose in and fixed them and pinged &lt;a href=&quot;http://www.spatialys.com/en/about&quot; target=&quot;_blank&quot;&gt;Even Rouault&lt;/a&gt; for some help on a &lt;a href=&quot;https://github.com/pramsey/pgsql-ogr-fdw/issues/29&quot; target=&quot;blank&quot;&gt;GDAL specific item&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Needless to say, I&#039;ve been super happy with the progress and support I&#039;ve gotten with ogr_fdw development and really enjoying my ogr_fdw use. The XLSX reading a file saved after the connection was open required a fix in GDAL 2.0 branch (which missed GDAL 2.0.0 release, so because of this, this new package contains a GDAL 2.0.1ish library.  Hopeful GDAL 2.0.1 will be out before PostGIS 2.2.0 comes out so I can release without guilt with this fix. &lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/351-PostgreSQL-OGR-FDW-update-and-PostGIS-2.2-news.html#extended&quot;&gt;Continue reading &quot;PostgreSQL OGR FDW update and PostGIS 2.2 news&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 29 Jun 2015 05:24:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/351-guid.html</guid>
    
</item>
<item>
    <title>Adding properties to existing JSON object with PLV8</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/349-Adding-properties-to-existing-JSON-object-with-PLV8.html</link>
            <category>9.4</category>
            <category>plv8js</category>
            <category>postgresql versions</category>
            <category>q&amp;a</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/349-Adding-properties-to-existing-JSON-object-with-PLV8.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=349</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Lately I&#039;ve been experimenting with building semi-schemaless apps.  These are apps 
where much of the data may never be used for reporting aside from story telling and also that as time goes by some of these may be revisited
and converted to more structured fields for easier roll-up and reporting. For the front-end UI, I&#039;m using &lt;a href=&quot;https://angularjs.org/&quot; target=&quot;_blank&quot;&gt;AngularJS&lt;/a&gt; which naturally spits out data as JSON and can autobind to JSON data of any complexity. 
My stored functions in PostgreSQL take JSON blobs as inputs spit it out into various tables and throws the whole thing in a jsonb field for later consumption (it&#039;s a bit redundant). Similarly they return JSON back.  One of the things I wanted to be able to do was take this jsonb blob and tack on additional properties from well-structured fields or even a whole set of data like sub recordsets to feed back to my app in JSON.
While there are lots of functions in PostgreSQL 9.3/9.4 that can easily build json objects from records, aggregate rows, etc.  I couldn&#039;t find a function that allowed me to just add a property to an existing JSON object, so I went to my tried and true old-pal PL/V8 for some comfort.  Here is a quickie function I created in PL/V8 that did what I needed.  Hopefully it will be of use to others or others might have other ideas of doing this that I missed.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/349-Adding-properties-to-existing-JSON-object-with-PLV8.html#extended&quot;&gt;Continue reading &quot;Adding properties to existing JSON object with PLV8&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 04 May 2015 01:45:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/349-guid.html</guid>
    
</item>
<item>
    <title>LATERAL WITH ORDINALITY - numbering sets</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/347-LATERAL-WITH-ORDINALITY-numbering-sets.html</link>
            <category>9.4</category>
            <category>postgresql versions</category>
            <category>q&amp;a</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/347-LATERAL-WITH-ORDINALITY-numbering-sets.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=347</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the neat little features that arrived at PostgreSQL 9.4 is the &lt;code&gt;WITH ORDINALITY&lt;/code&gt; ANSI-SQL construct.  What this construct does is to tack an additional column called &lt;code&gt;ordinality&lt;/code&gt; as an additional column when you use a set returning function in the &lt;code&gt;FROM&lt;/code&gt; part of an SQL Statement.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/347-LATERAL-WITH-ORDINALITY-numbering-sets.html#extended&quot;&gt;Continue reading &quot;LATERAL WITH ORDINALITY - numbering sets&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 01 Mar 2015 18:35:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/347-guid.html</guid>
    
</item>
<item>
    <title>Querying MS Access and other ODBC data sources with OGR_FDW</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/346-Querying-MS-Access-and-other-ODBC-data-sources-with-OGR_FDW.html</link>
            <category>9.4</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/346-Querying-MS-Access-and-other-ODBC-data-sources-with-OGR_FDW.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=346</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;If you have the OGR_FDW we discussed in &lt;a href=&quot;journal/archives/339-OGR-foreign-data-wrapper-on-Windows-first-taste.html&quot; target=&quot;_blank&quot;&gt;OGR FDW Windows first taste&lt;/a&gt; built with ODBC support,
then you can access most any ODBC datasource from PostgreSQL.  This is especially useful for Windows users.  Two of the data sources I&#039;ve been experimenting with are SQL Server
and MS Access.  In this article, I&#039;ll demonstrate how to connect to MS Access with PostgreSQL running on a windows box. I think there is an Access driver for Unix/Linux most robust utilizes java. I won&#039;t go there.&lt;/p&gt;

&lt;div style=&#039;background-color:green;color:white&#039;&gt;Registry hack should no longer be needed for PostGIS 2.2 ogr_fdw bundle and up since these come packaged with newer GDAL libraries that have the fix.&lt;/div&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/346-Querying-MS-Access-and-other-ODBC-data-sources-with-OGR_FDW.html#extended&quot;&gt;Continue reading &quot;Querying MS Access and other ODBC data sources with OGR_FDW&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 10 Feb 2015 01:30:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/346-guid.html</guid>
    
</item>
<item>
    <title>Using SSL https connections with www_fdw on windows</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/344-Using-SSL-https-connections-with-www_fdw-on-windows.html</link>
            <category>9.3</category>
            <category>9.4</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>postgresql versions</category>
            <category>www_fdw</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/344-Using-SSL-https-connections-with-www_fdw-on-windows.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=344</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the foreign data wrappers I included in the &lt;a href=&quot;https://www.postgresonline.com/journal/archives/342-Updated-Foreign-Data-Wrappers-for-PostgreSQL-9.3-Windows.html&quot; target=&quot;_blank&quot;&gt;PostgreSQL 9.3 Windows FDW bag&lt;/a&gt; and &lt;a href=&quot;https://www.postgresonline.com/journal/archives/340-Foreign-Data-Wrappers-for-PostgreSQL-9.4-Windows.html&quot; target=&quot;_blank&quot;&gt;PostgreSQL 9.4 Windows FDW bag&lt;/a&gt; is the &lt;a href=&quot;https://github.com/cyga/www_fdw&quot; target=&quot;_blank&quot;&gt;www_fdw&lt;/a&gt; extension used for querying web services.  Someone asked that since I didn&#039;t build curl with SSL support,
they are unable to use it with https connections. The main reason I didn&#039;t is that the EDB installs come with ssleay32.dll and libeay32.dll (even the 64-bit) which 
are dependencies of curl when built with SSL support.  I wanted to minimize the issue of distributing dlls that are packaged with Windows PostgreSQL installers already.&lt;/p&gt;

&lt;p&gt;Though this article is specific to using www_fdw on Windows systems, many of the issues are equally applicable to other platforms, so may be worth a read if you are running into similar issues with using specialty SSL certificates on Linux/Unix/Mac.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/344-Using-SSL-https-connections-with-www_fdw-on-windows.html#extended&quot;&gt;Continue reading &quot;Using SSL https connections with www_fdw on windows&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 24 Jan 2015 13:35:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/344-guid.html</guid>
    
</item>
<item>
    <title>PLV8 binaries for PostgreSQL 9.4 windows both 32-bit and 64-bit</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/341-PLV8-binaries-for-PostgreSQL-9.4-windows-both-32-bit-and-64-bit.html</link>
            <category>9.4</category>
            <category>pl programming</category>
            <category>plv8js</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/341-PLV8-binaries-for-PostgreSQL-9.4-windows-both-32-bit-and-64-bit.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=341</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;I&#039;m still in the middle of building packages for our clients for the packages that aren&#039;t normally distributed for windows to make upgrading to PostgreSQL 9.4 smooth.  One of those is PL/V8 which we use for some custom functions.
I had mentioned &lt;a href=&quot;https://www.postgresonline.com/journal/archives/261-building-plv8js-and-plcoffee-for-windows-using-mingw64-w64-w32.html&quot; target=&quot;_blank&quot;&gt;how I build PL/V8 for PostgreSQL windows&lt;/a&gt;, and the instructions are a bit out of date., but I put more up to date instructions on my &lt;a href=&quot;https://gist.github.com/robe2&quot; target=&quot;_blank&quot;&gt;gist page&lt;/a&gt;.  I tend to use gist a lot as a public scrap book with hopes someone else can learn from my toils and save them some trouble. At some point I should probably get more organized with my scrapbooks.&lt;/p&gt;

 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/341-PLV8-binaries-for-PostgreSQL-9.4-windows-both-32-bit-and-64-bit.html#extended&quot;&gt;Continue reading &quot;PLV8 binaries for PostgreSQL 9.4 windows both 32-bit and 64-bit&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 06 Jan 2015 00:53:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/341-guid.html</guid>
    
</item>
<item>
    <title>Foreign Data Wrappers for PostgreSQL 9.4 Windows</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/340-Foreign-Data-Wrappers-for-PostgreSQL-9.4-Windows.html</link>
            <category>9.4</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>file_textarray_fdw</category>
            <category>postgis</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/340-Foreign-Data-Wrappers-for-PostgreSQL-9.4-Windows.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=340</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;As stated in &lt;a href=&quot;https://www.postgresonline.com/journal/archives/339-OGR-foreign-data-wrapper-on-Windows-first-taste.html&quot; target=&quot;_blank&quot;&gt;last article&lt;/a&gt;, I&#039;ve packaged FDW binaries for PostgreSQL 9.4 windows 32-bit and 64-bit and added in the &lt;a href=&quot;https://github.com/pramsey/pgsql-ogr-fdw&quot; target=&quot;_blank&quot;&gt;ogr_fdw&lt;/a&gt; one.  These we&#039;ve tested with the standard EDB VS built PostgreSQL windows installs and work fine with those.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/340-Foreign-Data-Wrappers-for-PostgreSQL-9.4-Windows.html#extended&quot;&gt;Continue reading &quot;Foreign Data Wrappers for PostgreSQL 9.4 Windows&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 28 Dec 2014 06:02:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/340-guid.html</guid>
    
</item>

</channel>
</rss>
