<?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.3</title>
    <link>https://www.postgresonline.com/journal/</link>
    <description>Tips and tricks for PostgreSQL</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.6.0 - http://www.s9y.org/</generator>
    <pubDate>Sat, 02 Jul 2016 03:15:33 GMT</pubDate>

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

<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>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>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>Installing PostGIS packaged address_standardizer on Ubuntu</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/343-Installing-PostGIS-packaged-address_standardizer-on-Ubuntu.html</link>
            <category>9.3</category>
            <category>contrib spotlight</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/343-Installing-PostGIS-packaged-address_standardizer-on-Ubuntu.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=343</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the changes coming to you in PostGIS 2.2 are additional extensions.  Two ones close to my heart are the &lt;a href=&quot;http://postgis.net/docs/manual-dev/postgis_installation.html#installing_pagc_address_standardizer&quot; target=&quot;_blank&quot;&gt;address_standardizer&lt;/a&gt; (which was a separate project before, but folded into PostGIS in upcoming 2.2) and the SFCGAL extension for doing very advanced 3D stuff (was just an sql script in older versions, but made an extension in 2.2 and new functions added). We had a need to have address standardizer running on our Ubuntu box, 
but since PostGIS 2.2 isn&#039;t released yet, you can&#039;t get it without some compiling.  Luckily the steps are fairly trivial if you are already running PostGIS 2.1.
In this article, I&#039;ll walk thru just building and installing the address_standardizer extension from the PostGIS 2.2 code base.  Though I&#039;m doing this on Ubuntu,
the instructions are pretty much the same on any Linux, just replacing with your Linux package manager.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/343-Installing-PostGIS-packaged-address_standardizer-on-Ubuntu.html#extended&quot;&gt;Continue reading &quot;Installing PostGIS packaged address_standardizer on Ubuntu&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 22 Jan 2015 21:54:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/343-guid.html</guid>
    
</item>
<item>
    <title>Updated Foreign Data Wrappers for PostgreSQL 9.3 Windows</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/342-Updated-Foreign-Data-Wrappers-for-PostgreSQL-9.3-Windows.html</link>
            <category>9.3</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>ogr_fdw</category>
            <category>postgis</category>
            <category>postgresql versions</category>
            <category>winextensions</category>
            <category>www_fdw</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/342-Updated-Foreign-Data-Wrappers-for-PostgreSQL-9.3-Windows.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=342</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=342</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.3 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 Vc++ built PostgreSQL windows installs and work fine with those.&lt;/p&gt;

&lt;p&gt;This package is an updated list from ones we&#039;ve distributed before that includes ogr_fdw and recompiled with latests source from www_fdw and file_textarray&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/342-Updated-Foreign-Data-Wrappers-for-PostgreSQL-9.3-Windows.html#extended&quot;&gt;Continue reading &quot;Updated Foreign Data Wrappers for PostgreSQL 9.3 Windows&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 03 Jan 2015 17:05:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/342-guid.html</guid>
    
</item>
<item>
    <title>Oracle FDW 1.1.0 with SDO_Geometry PostGIS spatial support</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/338-Oracle-FDW-1.1.0-with-SDO_Geometry-PostGIS-spatial-support.html</link>
            <category>9.1</category>
            <category>9.2</category>
            <category>9.3</category>
            <category>9.4</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/338-Oracle-FDW-1.1.0-with-SDO_Geometry-PostGIS-spatial-support.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=338</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Oracle FDW is a &lt;a href=&quot;http://www.postgresql.org/docs/current/static/sql-createforeigndatawrapper.html&quot; target=&quot;_blank&quot;&gt;foreign data wrapper PostgreSQL&lt;/a&gt; extension that allows you to read and write to Oracle database tables  from a PostgreSQL database. You can get it via the &lt;a href=&quot;http://pgxn.org/dist/oracle_fdw/&quot;&gt;PGXN network&lt;/a&gt; or the main website &lt;a href=&quot;http://laurenz.github.io/oracle_fdw/&quot; target=&quot;_blank&quot;&gt;http://laurenz.github.io/oracle_fdw/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What is new about the latest 1.1.0 release is that there is now support for the Oracle SDO_GEOMETRY type that allows you to map the most common geometry types POINT, LINE, POLYGON, MULTIPOINT, MULTILINE and MULTIPOLYGON to PostGIS geometry type.  Much of the spatial plumbing work was done by Vincent Mora of &lt;a href=&quot;http://oslandia.com/&quot; target=&quot;_blank&quot;&gt;Oslandia&lt;/a&gt;. If we have any Windows Oracle users out there, yes there are &lt;a href=&quot;https://github.com/laurenz/oracle_fdw/releases/tag/ORACLE_FDW_1_1_0&quot; target=&quot;_blank&quot;&gt;binaries available for windows for PostgreSQL 9.1- 9.4 for both 32-bit and 64-bit&lt;/a&gt;. The FDW does have a dependency on the OCI.dll which I think comes shipped with Oracle products.  Unfortunately, we are not Oracle users so can&#039;t kick the tires.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sat, 06 Dec 2014 12:33:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/338-guid.html</guid>
    
</item>
<item>
    <title>psql watch for batch processing</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/332-psql-watch-for-batch-processing.html</link>
            <category>9.3</category>
            <category>9.4</category>
            <category>gis</category>
            <category>intermediate</category>
            <category>postgis</category>
            <category>postgresql versions</category>
            <category>q&amp;a</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/332-psql-watch-for-batch-processing.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=332</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;A while back, we discussed using &lt;a href=&quot;https://www.postgresonline.com/journal/archives/181-pgAdmin-pgScript.html&quot; target=&quot;_blank&quot;&gt;pgAdmin pgScript&lt;/a&gt; as a quicky way for
running a repetitive update script where you want each loop to commit right away. Since stored functions have to commit as a whole, you can&#039;t use stored functions alone for this kind of processing. &lt;/p&gt;

&lt;b&gt;Question: Can you do similar easily with psql?&lt;/b&gt;
&lt;br /&gt;
&lt;b&gt;Answer:&lt;/b&gt; yes with the &lt;a href=&quot;http://michael.otacoo.com/postgresql-2/postgres-9-3-feature-highlight-watch-in-psql&quot; target=&quot;_blank&quot;&gt;\watch command described nicely by Michael Paquier&lt;/a&gt; a while back.&lt;br /&gt;
&lt;p&gt;If you are using the psql client packaged with PostgreSQL 9.3 or above,
then you can take advantage of the &lt;code&gt;\watch&lt;/code&gt; command that was introduced in that version of psql.  We&#039;ll demonstrate that
by doing a batch geocoding exercise with PostGIS tiger geocoder and also revise our example from the prior article to use the more efficient and terser LATERAL  construct introduced in PostgreSQL 9.3.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/332-psql-watch-for-batch-processing.html#extended&quot;&gt;Continue reading &quot;psql watch for batch processing&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 30 May 2014 23:24:41 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/332-guid.html</guid>
    
</item>
<item>
    <title>An almost idiot's guide to install PostgreSQL 9.3, PostGIS 2.1 and pgRouting with Yum</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/329-An-almost-idiots-guide-to-install-PostgreSQL-9.3,-PostGIS-2.1-and-pgRouting-with-Yum.html</link>
            <category>9.3</category>
            <category>basics</category>
            <category>gis</category>
            <category>pgRouting</category>
            <category>postgis</category>
            <category>postgresql versions</category>
            <category>yum</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/329-An-almost-idiots-guide-to-install-PostgreSQL-9.3,-PostGIS-2.1-and-pgRouting-with-Yum.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=329</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;In this exercise, we&#039;ll go thru installing PostgreSQL 9.3 on a CentOS 6 64-bit box.  We&#039;ll cover upgrading in a later article. For the rest of this article, we&#039;ll go over configuring yum to use the PostgreSQL PGDG Yum repository found at &lt;a href=&quot;http://yum.postgresql.org&quot; target=&quot;_blank&quot;&gt;http://yum.postgresql.org&lt;/a&gt;
, which has the latest and greatest of 9.3. It&#039;s been a while since we wrote step by step instructions for installing with Yum.&lt;/p&gt;

&lt;div style=&quot;background-color:yellow&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; PostGIS 2.1.2 release is eminent, so you might want to wait till we release and Yum is updated before you install/upgrade.&lt;/div&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/329-An-almost-idiots-guide-to-install-PostgreSQL-9.3,-PostGIS-2.1-and-pgRouting-with-Yum.html#extended&quot;&gt;Continue reading &quot;An almost idiot&#039;s guide to install PostgreSQL 9.3, PostGIS 2.1 and pgRouting with Yum&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 26 Mar 2014 01:38:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/329-guid.html</guid>
    
</item>
<item>
    <title>Using wget directly from PostgreSQL using COPY FROM PROGRAM</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/325-Using-wget-directly-from-PostgreSQL-using-COPY-FROM-PROGRAM.html</link>
            <category>9.3</category>
            <category>basics</category>
            <category>intermediate</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/325-Using-wget-directly-from-PostgreSQL-using-COPY-FROM-PROGRAM.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=325</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the features new to PostgreSQL 9.3 is the &lt;code&gt;COPY FROM PROGRAM&lt;/code&gt; sql construct and in psql the equivalent &lt;code&gt;\copy from program&lt;/code&gt;.  Michael Paquier covered the COPY TO/FROM PROGRAM in hist &lt;a href=&quot;http://michael.otacoo.com/postgresql-2/postgres-9-3-feature-highlight-copy-tofrom-program&quot; target=&quot;_blank&quot;&gt;Postgres 9.3 feature highlight: COPY TO/FROM PROGRAM&lt;/a&gt;.  Depesz covered the companion psql construction in 
&lt;a href=&quot;http://www.depesz.com/2013/02/28/waiting-for-9-3-add-support-for-piping-copy-tofrom-an-external-program&quot; target=&quot;_blank&quot;&gt;Support for piping copy to from an external program&lt;/a&gt;.

Michael demonstrated an example using &lt;b&gt;curl&lt;/b&gt;.  I wanted to try something similar using wget since I have wget readily available on all my Linux and Unix boxes.  For this example I&#039;ll demonstrate doing it on windows, but doing it on Linux is much the same and simpler since the wget and curl are generally already in Linux default path.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/325-Using-wget-directly-from-PostgreSQL-using-COPY-FROM-PROGRAM.html#extended&quot;&gt;Continue reading &quot;Using wget directly from PostgreSQL using COPY FROM PROGRAM&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 21 Dec 2013 23:12:38 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/325-guid.html</guid>
    
</item>
<item>
    <title>Migrating from SQL Server to PostgreSQL</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/323-Migrating-from-SQL-Server-to-PostgreSQL.html</link>
            <category>9.2</category>
            <category>9.3</category>
            <category>basics</category>
            <category>other dbms</category>
            <category>postgresql versions</category>
            <category>sql server</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/323-Migrating-from-SQL-Server-to-PostgreSQL.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=323</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&quot;http://sqlblog.com/blogs/alexander_kuznetsov&quot; target=&quot;_blank&quot;&gt;Alexander Kuznetsov&lt;/a&gt; on SQLblog.com
has an interesting series going entitled with &lt;b&gt;Learning PostgreSQL&lt;/b&gt;.  In the series he focuses on what it takes to move
a SQL Server database and App to PostgreSQL and highlights some of the key differences between the two platforms that you should watch out for.
I recommend it to any SQL Server developer planning to make the switch to PostgreSQL or any PostgreSQL consultant tasked with the job
and not familiar with the intricacies of SQL Server.&lt;/p&gt;

&lt;p&gt;His PostgreSQL feed can be found here &lt;a href=&quot;http://sqlblog.com/blogs/alexander_kuznetsov/archive/tags/PostgreSql/default.aspx&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So far on his list of articles in the series:&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/323-Migrating-from-SQL-Server-to-PostgreSQL.html#extended&quot;&gt;Continue reading &quot;Migrating from SQL Server to PostgreSQL&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 09 Nov 2013 12:53:00 -0500</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/323-guid.html</guid>
    
</item>
<item>
    <title>Generating Create Foreign Table Statements for postgres_fdw</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/322-Generating-Create-Foreign-Table-Statements-for-postgres_fdw.html</link>
            <category>9.3</category>
            <category>contrib spotlight</category>
            <category>fdws</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/322-Generating-Create-Foreign-Table-Statements-for-postgres_fdw.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=322</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;In &lt;a href=&quot;https://www.postgresonline.com/journal/archives/294-PostgreSQL-9.3-postgres_fdw-a-Test-Drive.html&quot; target=&quot;_blank&quot;&gt;PostgreSQL 9.3 Postgres_FDW: A Test Drive&lt;/a&gt;
we talked about taking Postgres Foreign Data Wrapper for a test drive.  One downside of the Postgres FDW and actually most PostgreSQL FDWs is that
the foreign table structure can&#039;t be inspected from the source and the fields have to be explicitly stated in the foreign table definition.  If you have a lot of tables to script, this can 
quickly become tedious.  For our planned used cases, we plan to script Foreign tables from a source database for tables that are bulky and rarely change
and then build materialized views against those for faster performance where needed. To help in this end, we wrote a quick
SQL function that you install on the source database and when run will generate foreign table creation statements to install on a target database.&lt;/p&gt;
&lt;p&gt;One thing that was important to us was that the function properly handle views and typmod types since PostGIS now uses typmod heavily and many of our databases have spatial data
and complex views we&#039;d like to link in as foreign tables.&lt;/p&gt; &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/322-Generating-Create-Foreign-Table-Statements-for-postgres_fdw.html#extended&quot;&gt;Continue reading &quot;Generating Create Foreign Table Statements for postgres_fdw&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 02 Nov 2013 13:51:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/322-guid.html</guid>
    
</item>
<item>
    <title>PostGIS 2.1 Bundle for PostgreSQL 9.3 Windows Stackbuilder</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/320-PostGIS-2.1-Bundle-for-PostgreSQL-9.3-Windows-Stackbuilder.html</link>
            <category>9.3</category>
            <category>pgRouting</category>
            <category>postgis</category>
            <category>postgresql versions</category>
            <category>product showcase</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/320-PostGIS-2.1-Bundle-for-PostgreSQL-9.3-Windows-Stackbuilder.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=320</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;PostGIS 2.1 bundle for PostgreSQL 9.3 Windows is now available on StackBuilder for windows users.  You will find both the 32-bit and 64-bit versions. The bundle includes the following features:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;PostGIS 2.1 with extensions support for postgis (which has geometry/geography/raster), postgis_tiger_geocoder, and postgis_topology.&lt;/li&gt;
&lt;li&gt;pgRouting 2.0.0 with extension support -- just do &lt;code&gt;CREATE EXTENSION pgRouting&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;address_standardizer, which is needed for better tiger geocoding normalizing.  Installed with &lt;codE&gt;CREATE EXTENSION address_standardizer&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One thing that is different with this packaging is that we are no longer providing a template_postgis database.  However if you want your database created for you,
you can check the &lt;b&gt;Create spatial database&lt;/b&gt; option which will create a regular old database with all the packaged extensions under the sun created for you.&lt;/p&gt;

 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/320-PostGIS-2.1-Bundle-for-PostgreSQL-9.3-Windows-Stackbuilder.html#extended&quot;&gt;Continue reading &quot;PostGIS 2.1 Bundle for PostgreSQL 9.3 Windows Stackbuilder&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 28 Sep 2013 09:47:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/320-guid.html</guid>
    
</item>
<item>
    <title>PostGIS 2.1 windows bundle</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/319-PostGIS-2.1-windows-bundle.html</link>
            <category>9.0</category>
            <category>9.1</category>
            <category>9.2</category>
            <category>9.3</category>
            <category>new in postgresql</category>
            <category>pgRouting</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/319-PostGIS-2.1-windows-bundle.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=319</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;PostgreSQL 9.3 came out today and we are excited to start using the new features.  &lt;a href=&quot;http://postgis.net/2013/08/17/postgis-2-1-0&quot; target=&quot;_blank&quot;&gt;PostGIS 2.1.0&lt;/a&gt; came out about 2 weeks ago and pgRouting just cut the RC 3 release. For windows PostGIS users who are impatient to try the new suite, binaries
can be found on the &lt;em&gt;Unreleased&lt;/em&gt; versions of &lt;a href=&quot;http://postgis.net/windows_downloads&quot; target=&quot;_blank&quot;&gt;PostGIS.net windows page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We are planning an official release sometime probably next week on StackBuilder. We are waiting for release of pgRouting 2.0 before we do which should be out next week.  This new 2.1 release will be dubbed the &lt;b&gt;PostGIS 2.1 Bundle&lt;/b&gt; since it will have more than just PostGIS. It will  include postgis extensions (postgis which includes geometry,raster, geography) , postgis_topology, postgis_tiger_geocoder), address_standardizer extension (a companion to tiger geocoder), and pgRouting 2.0.&lt;/p&gt;

&lt;p&gt;For those people running PostGIS 2.0 and PostgreSQL 9.0+, especially (raster and geography) users, I highly recommend you jump to PostGIS 2.1.  PostGIS 2.1 is a soft upgrade from 2.0. For raster there are enormous speed improvements and new functions. The ones we are most excited about in raster are the much much much faster ST_Clip and ST_Union functions (which now does multi-band in addition to being faster). These two functions are highly important since they are generally the first step in many raster workflows.  Geography has speed improvements for point in poly and a ST_Segmentize function done on the spheroid (important for long range). Geometry has a couple of new functions.  The Enhanced 3D functionality provided by &lt;a href=&quot;http://oslandia.github.io/SFCGAL&quot; target=&quot;_blank&quot;&gt;SFCGAL&lt;/a&gt; is brand new and probably won&#039;t be distributed by many package maintainers until PostGIS 2.2 where it will garner a few more features and stability improvements.&lt;/p&gt;


 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/319-PostGIS-2.1-windows-bundle.html#extended&quot;&gt;Continue reading &quot;PostGIS 2.1 windows bundle&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 09 Sep 2013 15:35:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/319-guid.html</guid>
    
</item>
<item>
    <title>CREATE SCHEMA IF NOT EXISTS in 9.3 and tiger geocoder</title>
    <link>https://www.postgresonline.com/journal/index.php?/archives/317-CREATE-SCHEMA-IF-NOT-EXISTS-in-9.3-and-tiger-geocoder.html</link>
            <category>9.3</category>
            <category>contrib spotlight</category>
            <category>postgis</category>
            <category>postgresql versions</category>
    
    <comments>https://www.postgresonline.com/journal/index.php?/archives/317-CREATE-SCHEMA-IF-NOT-EXISTS-in-9.3-and-tiger-geocoder.html#comments</comments>
    <wfw:comment>https://www.postgresonline.com/journal/wfwcomment.php?cid=317</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://www.postgresonline.com/journal/rss.php?version=2.0&amp;type=comments&amp;cid=317</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.3 is &lt;code&gt;&lt;a href=&quot;http://www.postgresql.org/docs/9.3/static/sql-createschema.html&quot; target=&quot;_blank&quot;&gt;CREATE SCHEMA IF NOT EXISTS someschema;&lt;/code&gt;&lt;/a&gt;.  We were so excited about this new feature that we started using it in the tiger geocoder loader routine.  For some reason we thought it was available since 9.1 which gained &lt;code&gt;CREATE TABLE IF NOT EXISTS sometable;&lt;/code&gt;
which we noted in &lt;a href=&quot;https://www.postgresonline.com/journal/archives/223-Sweat-the-small-stuff,-it-really-matters.html&quot; target=&quot;_blank&quot;&gt;Sweat the small stuff, it really matters&lt;/a&gt;&lt;/p&gt;

 &lt;a class=&quot;block_level&quot; href=&quot;https://www.postgresonline.com/journal/index.php?/archives/317-CREATE-SCHEMA-IF-NOT-EXISTS-in-9.3-and-tiger-geocoder.html#extended&quot;&gt;Continue reading &quot;CREATE SCHEMA IF NOT EXISTS in 9.3 and tiger geocoder&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 23 Aug 2013 01:21:00 -0400</pubDate>
    <guid isPermaLink="false">https://www.postgresonline.com/journal/index.php?/archives/317-guid.html</guid>
    
</item>

</channel>
</rss>
