<?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 (Entries tagged as pgadmin)</title>
    <link>http://www.postgresonline.com/journal/</link>
    <description>an In depth look at the PostgreSQL open source database</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Mon, 21 May 2012 17:31:07 GMT</pubDate>

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

<item>
    <title>PostgreSQL 9.2 pg_dump enhancements</title>
    <link>http://www.postgresonline.com/journal/archives/252-PostgreSQL-9.2-pg_dump-enhancements.html</link>
            <category>9.2</category>
            <category>new in postgresql</category>
            <category>postgresql versions</category>
    
    <comments>http://www.postgresonline.com/journal/archives/252-PostgreSQL-9.2-pg_dump-enhancements.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=252</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the things I&#039;m excited about in PostgreSQL 9.2 are the new pg_dump &lt;b&gt;section&lt;/b&gt; - pre-data, data, and post-data options and the &lt;b&gt;exclude-table-data&lt;/b&gt; option.  Andrew Dunstan blogged about this briefly in &lt;a href=&quot;http://people.planetpostgresql.org/andrew/index.php?/archives/237-pg_dump-exclude-table-data.html&quot; target=&quot;_blank&quot;&gt;pg_dump exclude table data&lt;/a&gt;. What is also nice is that pgAdmin III 1.16 supports the section option via the graphical interface &lt;img src=&quot;/images/journal/pgAdmin_backup_opt2.png&quot; alt=&quot;pgAdmin backup options 2&quot; /&gt;.  I was a bit disappointed not to find the exclude-table-data option in pgAdmin III interface though.
The other nice thing about this feature is that you can use the PostgreSQL 9.2 dump even against a 9.1 or lower db and achieve the same benefit.&lt;/p&gt;

&lt;p&gt;The 9.2 pg_restore has similar functionality for restoring specific sections of a backup too.&lt;/p&gt;
&lt;p&gt; So what is all this section stuff for.  Well it comes in particularly handy for upgrade scripts.   I&#039;ll first explain what the sections mean and a concrete example of why you want this.&lt;/p&gt; 

&lt;ul&gt;&lt;li&gt;&lt;em&gt;pre-data&lt;/em&gt; -  this would be the table structures, functions etc without the constraints such as check and primary key and indexes.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;data&lt;/em&gt; -- it&#039;s uhm the data&lt;/li&gt;
&lt;li&gt;&lt;emp&gt;post-data&lt;/em&gt; -  This is all constraints, primary keys, indexes etc.&lt;/li&gt;
&lt;/ul&gt;

 &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/252-PostgreSQL-9.2-pg_dump-enhancements.html#extended&quot;&gt;Continue reading &quot;PostgreSQL 9.2 pg_dump enhancements&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 21 May 2012 04:41:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/252-guid.html</guid>
    <category>pg_dump</category>
<category>pg_restore</category>
<category>pgadmin</category>
<category>postgresql 9.2</category>

</item>
<item>
    <title>Using PgAdmin PLPgSQL Debugger</title>
    <link>http://www.postgresonline.com/journal/archives/214-Using-PgAdmin-PLPgSQL-Debugger.html</link>
            <category>8.3</category>
            <category>8.4</category>
            <category>9.0</category>
            <category>9.1</category>
            <category>basics</category>
            <category>gis</category>
            <category>intermediate</category>
            <category>pgadmin</category>
            <category>plpgsql</category>
    
    <comments>http://www.postgresonline.com/journal/archives/214-Using-PgAdmin-PLPgSQL-Debugger.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=214</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;I&#039;m one of those old-fashioned folks that debugs with print lines and raise notices.  They&#039;re nice.
They always work, you can put clock time stops in there and don&#039;t require any fancy configuration.  
At a certain point you do have to pull out a real debugger to see what is going on.  This often
happens when your one-liners are no longer good enough and now you have to write 20 liners of plpgsql code.&lt;/p&gt;

&lt;p&gt;Such is the case with geocoding and the &lt;a href=&quot;http://www.postgis.org/documentation/manual-svn/Extras.html#Tiger_Geocoder&quot; target=&quot;_blank&quot;&gt;PostGIS tiger geocoder&lt;/a&gt; specifically.  Lots of interest has revived
on that with people submitting bug reports and we&#039;ve got paying clients in need of a fairly easy and speedy drop-in geocoder
that can be molded to handle such things as road way locations, badly mis-spelled real estate data, or just simply
to get rid of their dependency on Google, Yahoo, MapQuest, ESRI and other online or pricey geocoding tools.
So I thought I&#039;d take this opportunity to supplement our old-fashioned debugging with plpgsqldebugger goodness.
In this article, we&#039;ll show you how to configure the plpgsql debugger integrated in PgAdmin and run with it.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/214-Using-PgAdmin-PLPgSQL-Debugger.html#extended&quot;&gt;Continue reading &quot;Using PgAdmin PLPgSQL Debugger&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 27 Jun 2011 01:49:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/214-guid.html</guid>
    <category>debugging</category>
<category>pgadmin</category>

</item>
<item>
    <title>Navigating PostgreSQL 9.1 beta 1 with PgAdmin III 1.14.0 Beta 1</title>
    <link>http://www.postgresonline.com/journal/archives/206-Navigating-PostgreSQL-9.1-beta-1-with-PgAdmin-III-1.14.0-Beta-1.html</link>
            <category>9.1</category>
            <category>basics</category>
            <category>beginner</category>
            <category>pgadmin</category>
            <category>postgis</category>
    
    <comments>http://www.postgresonline.com/journal/archives/206-Navigating-PostgreSQL-9.1-beta-1-with-PgAdmin-III-1.14.0-Beta-1.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=206</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;We&#039;ve started to play with PostgreSQL 9.1beta and the PgAdmin III 1.14.0 Beta 1.  We&#039;ll briefly go over the cool gems 
found in PgAdmin III beta 1.  Most of the new features are for navigating the upcoming PostgreSQL 9.1.  Well first obstacle we ran into
was we can&#039;t get our favorite extension, PostGIS, to compile against PostgreSQL 9.1beta though it did with the alphas, so you won&#039;t be seeing any windows experimental builds until we resolve this issue.
Details of ticket here? &lt;a href=&quot;http://trac.osgeo.org/postgis/ticket/940&quot; target=&quot;_blank&quot;&gt;PostGIS 2.0 won&#039;t compile for  PostgreSQL 9.1 beta1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Despite that minor set back, we decided to push on and navigate the new features by using PgAdmin III 1.14.0 as our Tour Guide. Below is a list of new features you can experience
via PgAdmin III 1.14.0 Beta 1.  I&#039;m sure there are more we missed, but these are the ones that were most flashing.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/206-Navigating-PostgreSQL-9.1-beta-1-with-PgAdmin-III-1.14.0-Beta-1.html#extended&quot;&gt;Continue reading &quot;Navigating PostgreSQL 9.1 beta 1 with PgAdmin III 1.14.0 Beta 1&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 06 May 2011 23:45:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/206-guid.html</guid>
    <category>pgadmin</category>
<category>postgresql 9.1</category>
<category>sql med</category>

</item>
<item>
    <title>PostgreSQL 9.0 pg_dump, pg_dumpall, pg_restore cheatsheet overview</title>
    <link>http://www.postgresonline.com/journal/archives/186-PostgreSQL-9.0-pg_dump,-pg_dumpall,-pg_restore-cheatsheet-overview.html</link>
            <category>9.0</category>
            <category>beginner</category>
            <category>special feature</category>
    
    <comments>http://www.postgresonline.com/journal/archives/186-PostgreSQL-9.0-pg_dump,-pg_dumpall,-pg_restore-cheatsheet-overview.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=186</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Backup and Restore is probably the most important thing to know how to do when you have a database with data you care about.&lt;/p&gt;

&lt;p&gt;The utilities in PostgreSQL that accomplish these tasks are pg_restore, pg_dump, pg_dumpall, and for restore of plain text dumps - psql.  &lt;/p&gt;
&lt;p&gt;A lot of the switches used by pg_dump, pg_restore, pg_dumpall are common to all three.  You use pg_dump to do backups of a single database or select database objects and pg_restore to restore it either to another database or to recover portions of a database.  You use pg_dumpall to dump all your databases in plain text format.  &lt;/p&gt;

&lt;p&gt;Rather than trying to keep track of which switch works with which, we decided to combine all into a single cheat sheet with a column denoting which utility the switch is supported in.
Pretty much all the text is compiled from the --help switch of each.&lt;/p&gt;
&lt;P&gt;We created a similar &lt;a href=&quot;http://www.postgresonline.com/journal/archives/63-PostgreSQL-8.3-Pg_dump-Pg_Restore-Cheatsheet-Overview.html&quot; target=&quot;_blank&quot;&gt;Backup and Restore cheatsheet for PostgreSQL 8.3&lt;/a&gt; and since then some new features have been added such as the jobs parallel restore feature in 8.4.  We have now created an updated sheet to comprise all features present in PostgreSQL 9.0 packaged pg_dump, pg_restore, pg_dumpall command line utilities.
&lt;/P&gt;
&lt;P&gt;PDF Portrait version 8.5 x 11&quot; of this cheatsheet is available at &lt;a href=&quot;/special_feature.php?sf_name=postgresql90_pg_dumprestore_cheatsheet&amp;outputformat=pdf&quot; target=&quot;_blank&quot;&gt;PostgreSQL 9.0 Dump Restore 8.5 x 11&lt;/a&gt; and also available in
&lt;a href=&quot;/special_feature.php?sf_name=postgresql90_pg_dumprestore_cheatsheet&amp;outputformat=a4pdf&quot; target=&quot;_blank&quot;&gt;PDF A4 format&lt;/a&gt; and &lt;a href=&quot;/special_feature.php?sf_name=postgresql90_pg_dumprestore_cheatsheet&amp;outputformat=html&quot; target=_blank&gt;HTML&lt;/a&gt;.
&lt;/P&gt;

&lt;p&gt;As usual please let us know if you find any errors or omissions and we&#039;ll be happy to correct.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 21 Nov 2010 20:35:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/186-guid.html</guid>
    <category>backup</category>
<category>pg_dump</category>
<category>pg_restore</category>
<category>pgadmin</category>
<category>postgresql 9.0</category>
<category>restore</category>

</item>
<item>
    <title>pgAdmin pgScript</title>
    <link>http://www.postgresonline.com/journal/archives/181-pgAdmin-pgScript.html</link>
            <category>basics</category>
            <category>intermediate</category>
            <category>pgadmin</category>
            <category>postgis</category>
            <category>sql server</category>
    
    <comments>http://www.postgresonline.com/journal/archives/181-pgAdmin-pgScript.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=181</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;pgAdmin has this feature called a pgScript.  Its a very simple scripting language for running
tasks in a pgAdmin SQL window. The documentation is &lt;a href=&quot;http://www.pgadmin.org/docs/dev/pgscript.html&quot; target=&quot;_blank&quot;&gt;PgScript manual&lt;/a&gt;.&lt;/p&gt;

&lt;h4&gt;Why would you use it over say writing a plpgsql function?&lt;/h4&gt;
&lt;p&gt;One main reason we use it is to run quick ad-hoc batch jobs such as geocoding addresses and so forth.  The
benefit it has over running a stored function is that you don&#039;t have to run it as a single transaction.&lt;/p&gt;
&lt;p&gt;This is important for certain kinds of tasks where you just want to run something in a loop and have each loop commit
separately. To us the syntax with the @ resembles SQL Server Transact-SQL more than it does any PostgreSQL language. WhenI first
saw pgScript I thought &lt;em&gt;Wow PgAdmin talks Transact-SQL; now -- what will they think of next :)&lt;/em&gt;.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/181-pgAdmin-pgScript.html#extended&quot;&gt;Continue reading &quot;pgAdmin pgScript&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 29 Oct 2010 03:52:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/181-guid.html</guid>
    <category>geocoding</category>
<category>pgadmin</category>
<category>postgis</category>

</item>
<item>
    <title>PgAdmin III 1.13 - change in plugin architecture and PostGIS Plugins</title>
    <link>http://www.postgresonline.com/journal/archives/180-PgAdmin-III-1.13-change-in-plugin-architecture-and-PostGIS-Plugins.html</link>
            <category>9.1</category>
            <category>basics</category>
            <category>beginner</category>
            <category>gis</category>
            <category>oracle</category>
            <category>pgadmin</category>
            <category>postgis</category>
    
    <comments>http://www.postgresonline.com/journal/archives/180-PgAdmin-III-1.13-change-in-plugin-architecture-and-PostGIS-Plugins.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=180</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the neat changes already present in the PgAdmin III 1.13dev, is the change in plugin architecture.  Version 1.13 dev allows for multiple plugin*.ini files. How does this work.
Well if you have a plugins.d folder in your PgAdmin III version folder, it will read all the inis in that folder and load them as plugins.&lt;/p&gt;

&lt;p&gt;Recall in &lt;a href=&quot;http://www.postgresonline.com/journal/archives/145-PgAdmin-III-Plug-in-Registration-PostGIS-Shapefile-and-DBF-Loader.html&quot; target=&quot;_blank&quot;&gt;PgAdmin III Plug-in Registration: PostGIS Shapefile and DBF Loader&lt;/a&gt;,
we demonstrated how to load the PostGIS shapefile and dbf loader as a plugin in PgAdmin III, well this time we will demonstrate how to do it using PgAdmin version 1.13. Better yet, we&#039;ll show you the new and improved
PgAdmin III Shapefile and DBF Loader in the works for PostGIS 2.0.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/180-PgAdmin-III-1.13-change-in-plugin-architecture-and-PostGIS-Plugins.html#extended&quot;&gt;Continue reading &quot;PgAdmin III 1.13 - change in plugin architecture and PostGIS Plugins&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 11 Oct 2010 03:16:31 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/180-guid.html</guid>
    <category>pgadmin</category>
<category>postgis</category>

</item>
<item>
    <title>Explain Plans PostgreSQL 9.0 - Part 2: JSON and JQuery Plan Viewer</title>
    <link>http://www.postgresonline.com/journal/archives/174-Explain-Plans-PostgreSQL-9.0-Part-2-JSON-and-JQuery-Plan-Viewer.html</link>
            <category>9.0</category>
            <category>application development</category>
            <category>intermediate</category>
            <category>jquery</category>
            <category>pgadmin</category>
            <category>postgresql versions</category>
    
    <comments>http://www.postgresonline.com/journal/archives/174-Explain-Plans-PostgreSQL-9.0-Part-2-JSON-and-JQuery-Plan-Viewer.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=174</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;In &lt;a href=&quot;http://www.postgresonline.com/journal/archives/171-pgexplain90formats_part1.html&quot; target=&quot;_blank&quot;&gt;part 1 of this series&lt;/a&gt; on PostgreSQL 9.0 planner outputs, we demonstrated how to render explain plans in YAML, JSON, and XML using the new explain features in PostgreSQL 9.0. In this second part,
we&#039;ll demonstrate how to build a user interface that allows you input a JSON formatted explain plan and have it render into a printable, navigateable display using JQuery, javascript and a little bit of HTML coding.  
In part 3 we&#039;ll do something similar using XML and XSLT programming.
&lt;/p&gt;
&lt;p&gt;For those who aren&#039;t familiar with JQuery, it is an MIT licensed javascript library that is fairly light weight and allows you to inspect and change html elements with fairly intuitive syntax, has some nice ajax methods and tools for converting xml/json to native objects that can be manipulated. 
You can check it out at &lt;a href=&quot;http://jquery.com/&quot; target=&quot;_blank&quot;&gt;JQUERY&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We are not experts in JQuery, but from what we have used of it, we really like it and the fact the base package is MIT licensed, fairly light weight and lots of plugins available for it are real pluses.&lt;/p&gt;


&lt;p&gt;The most difficult thing I think most people find about reading explain plans is that they are upside down; it starts with a conclusion and backtracks how to arrive at it.  Humans by nature think about planning steps from start to finish.
In order to make an explain plan understandable to mere mortals, we generally display them upside down or having the child-nodes shown left most.  We shall follow that approach.&lt;/p&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/174-Explain-Plans-PostgreSQL-9.0-Part-2-JSON-and-JQuery-Plan-Viewer.html#extended&quot;&gt;Continue reading &quot;Explain Plans PostgreSQL 9.0 - Part 2: JSON and JQuery Plan Viewer&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 26 Aug 2010 04:13:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/174-guid.html</guid>
    <category>explain plan</category>
<category>imagemagick</category>
<category>jquery</category>
<category>json</category>
<category>pgadmin</category>
<category>postgresql 9.0</category>

</item>
<item>
    <title>Explain Plans PostgreSQL 9.0 Text, JSON, XML, YAML - Part 1: You Choose</title>
    <link>http://www.postgresonline.com/journal/archives/171-Explain-Plans-PostgreSQL-9.0-Text,-JSON,-XML,-YAML-Part-1-You-Choose.html</link>
            <category>9.0</category>
            <category>basics</category>
            <category>beginner</category>
            <category>gis</category>
            <category>hstore</category>
            <category>pgadmin</category>
            <category>postgis</category>
    
    <comments>http://www.postgresonline.com/journal/archives/171-Explain-Plans-PostgreSQL-9.0-Text,-JSON,-XML,-YAML-Part-1-You-Choose.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=171</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the new features of PostgreSQL 9.0 is the ability to specify the format of an explain plan.
In prior versions your only choice was text (and graphic explain with tools like PgAdmin III and other GUIS), but in 9.0 on, you have the additional options of
Javascript Object Notation (JSON) which &lt;a href=&quot;http://lin-ear-th-inking.blogspot.com/2010/07/is-json-csv-of-21st-century.html&quot; target=&quot;_blank&quot;&gt;some people have a thing or two to say about them&lt;/a&gt;,  YAML Ain&#039;t Markup Language (YAML) or eXtended Markup Language (XML). The new explain options are itemized in &lt;a href=&quot;http://www.postgresql.org/docs/9.0/static/sql-explain.html&quot; target=&quot;_blank&quot;&gt;PostgreSQL 9.0 EXPLAIN&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;The main benefit of the JSON, XML, YAML formats is that they are easier
to machine parse than the default text version. This will allow for creative renderings of planner trees with minimal coding.&lt;/p&gt;

&lt;p&gt;In Part 1 of this series, we&#039;ll demonstrate how to output the plans in these various formats and what they look like.
In later parts of this series -- we&#039;ll demonstrate how to use Javascript, XSL and other scripting/markup languages
to transform these into works of art you can hang on your wall.&lt;/p&gt;

-- START POSTGIS IN ACTION ASIDE --
&lt;p&gt;We just submitted the third major revision of &lt;a href=&quot;http://www.postgis.us/chapter_03&quot; target=&quot;_blank&quot;&gt;Chapter 3 Data Modeling&lt;/a&gt;
of our upcoming &lt;a href=&quot;http://www.postgis.us&quot; target=&quot;_blank&quot;&gt;PostGIS in Action&lt;/a&gt; book. 
The second major revision we never submitted and threw it out because it wasn&#039;t worldly enough and was too involved. We may
use it later on for an example.
Chapter 3 should be up on Manning Early Access Program (MEAP) soon. If you haven&#039;t bought the book yet &lt;a href=&quot;http://www.postgis.us/page_buy_book&quot;&gt;Buy now&lt;/a&gt;.
You don&#039;t want to miss out on a major masterpiece in the making. Okay we exaggerate a bit.&lt;/p&gt;
-- END POSTGIS IN ACTION ASIDE -- &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/171-Explain-Plans-PostgreSQL-9.0-Text,-JSON,-XML,-YAML-Part-1-You-Choose.html#extended&quot;&gt;Continue reading &quot;Explain Plans PostgreSQL 9.0 Text, JSON, XML, YAML - Part 1: You Choose&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 29 Jul 2010 17:58:03 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/171-guid.html</guid>
    <category>book writing</category>
<category>explain plan</category>
<category>jquery</category>
<category>json</category>
<category>pgadmin</category>
<category>postgis</category>
<category>postgresql 9.0</category>
<category>xml</category>
<category>xslt</category>
<category>yaml</category>

</item>
<item>
    <title>What is new in PgAdmin III 1.12.0</title>
    <link>http://www.postgresonline.com/journal/archives/168-What-is-new-in-PgAdmin-III-1.12.0.html</link>
            <category>9.0</category>
            <category>basics</category>
            <category>beginner</category>
            <category>pgadmin</category>
            <category>postgresql versions</category>
    
    <comments>http://www.postgresonline.com/journal/archives/168-What-is-new-in-PgAdmin-III-1.12.0.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=168</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;Gathering from the number of hits we got from our &lt;a href=&quot;http://www.postgresonline.com/journal/archives/164-What-is-new-in-PostgreSQL-9.0.html&quot; target=&quot;_blank&quot;&gt;What&#039;s new in PostgreSQL 9.0&lt;/a&gt;,
and the large number of &lt;a href=&quot;http://developers.slashdot.org/story/10/06/09/1612246/What-Is-New-In-PostgreSQL-90&quot; target=&quot;_blank&quot;&gt;slashdot&lt;/a&gt; responses we got
as well as the fair number of &lt;a href=&quot;http://www.reddit.com/r/programming/comments/ccyqh/what_is_new_in_postgresql_90/&quot; target=&quot;_blank&quot;&gt;reddit responses&lt;/a&gt;,
I guess a lot of people are really excited about the upcoming PostgreSQL 9.0 or at least 
have a lot of opinions about what is still missing in it.&lt;/p&gt;

&lt;p&gt;For this discussion, we would like to point out one of the companion adminstration tools that
will be packaged in with PostgreSQL 9.0 (and currently packaged in beta 2).  This is PgAdmin III, which
we will affectionately refer to as &lt;em&gt;the Administrative tool for mere mortals&lt;/em&gt;.  It is the first administrative
tool that most users new to PostgreSQL use and gives them a user-friendly interface to the
power behind PostgreSQL.  I would say if it were not for this tool and its web cousin &lt;a href=&quot;http://phppgadmin.sourceforge.net/&quot; target=&quot;_blank&quot;&gt;PhpPgAdmin&lt;/a&gt;, many 
a scared newbie user would be running away at the vast unencumbered freedom that PostgreSQL/psql and sibling commandline tools  offer.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/168-What-is-new-in-PgAdmin-III-1.12.0.html#extended&quot;&gt;Continue reading &quot;What is new in PgAdmin III 1.12.0&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 05 Jul 2010 03:19:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/168-guid.html</guid>
    <category>pgadmin</category>

</item>
<item>
    <title>PgAdmin III Plug-in Registration: PostGIS Shapefile and DBF Loader</title>
    <link>http://www.postgresonline.com/journal/archives/145-PgAdmin-III-Plug-in-Registration-PostGIS-Shapefile-and-DBF-Loader.html</link>
            <category>beginner</category>
            <category>contrib spotlight</category>
            <category>pgadmin</category>
            <category>postgis</category>
    
    <comments>http://www.postgresonline.com/journal/archives/145-PgAdmin-III-Plug-in-Registration-PostGIS-Shapefile-and-DBF-Loader.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=145</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;PgAdmin 1.9+ has a simple Plug-In architecture which makes it relatively simple to introduce new plugins. It is pretty much all controlled by the file &lt;em&gt;plugins.ini&lt;/em&gt;. In that file you can register any executable you want in there.  If you want the executable to get passed database configuration settings, there is an option for that and you just have to build your executable to accept commandline switches.&lt;/p&gt;

&lt;p&gt;You can download the windows version from &lt;a href=&quot;http://postgis.net/windows_downloads&quot; target=&quot;_blank&quot;&gt;http://postgis.net/windows_downloads&lt;/a&gt;. If you just want it without the PostGIS 1.5 binaries -- just download the one labeled &lt;em&gt;PostGIS ESRI Shapefile GUI&lt;/em&gt;.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/145-PgAdmin-III-Plug-in-Registration-PostGIS-Shapefile-and-DBF-Loader.html#extended&quot;&gt;Continue reading &quot;PgAdmin III Plug-in Registration: PostGIS Shapefile and DBF Loader&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 24 Dec 2009 14:19:16 -0500</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/145-guid.html</guid>
    <category>pgadmin</category>

</item>
<item>
    <title>Database Administration, Reporting, and Light application development</title>
    <link>http://www.postgresonline.com/journal/archives/133-Database-Administration,-Reporting,-and-Light-application-development.html</link>
            <category>beginner</category>
            <category>db2</category>
            <category>Dbase</category>
            <category>firebird</category>
            <category>informix</category>
            <category>ms access</category>
            <category>mysql</category>
            <category>oobase</category>
            <category>oracle</category>
            <category>other dbms</category>
            <category>pgadmin</category>
            <category>product showcase</category>
            <category>sql server</category>
            <category>sqlite</category>
    
    <comments>http://www.postgresonline.com/journal/archives/133-Database-Administration,-Reporting,-and-Light-application-development.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=133</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;One of the most common questions people ask is &lt;b&gt;Which tools work with PostgreSQL&lt;/b&gt;. In a sense the measure of a database&#039;s
maturity/popularity are the number of vendors willing to produce management and development tools for it.  Luckily there are a lot of vendors producing tools for PostgreSQL and the list is growing.
One set of tools people are interested in are Database administration, ER diagramming, Query tools, and quickie application generators (RAD).&lt;/p&gt;
&lt;p&gt;
For this issue of our product showcase,  we will not talk about one product, but several that fit in the aforementioned category.
All the listed products work with PostgreSQL and can be used for database administration and/or architecting or provide some sort of
light reporting/rapid application building suite.  By light reporting/application building, we mean
a tool with a simple wizard that a novice can use to build somewhat functional applications in minutes or days.  This rules out all-purpose development
things like raw PHP, .NET, Visual Studio, database drivers etc.  Things we consider in this realm are things like  OpenOffice Base and
MS Access.  Most of these tools are either free or have 30-day try before you buy options. &lt;/p&gt;
&lt;p&gt;You can&#039;t really say one tool is absolutely better than another since each has its own strengths and caters to slightly different audiences and also
you may like the way one tool does one important thing really well, though it may be mediocre in other respects.  We also left out a lot of products we are not familiar with and may have gotten
some things wrong.
&lt;/p&gt;

&lt;p&gt;If we left out your favorite product and you feel it meets these criteria, or you feel we made any errors, please let us know, and we&#039;ll add or correct it.
We will be including Free open source as well as proprietary products in this mix.  If we left out what you consider an
important criteria, please let us know and we&#039;ll try to squeeze it in somewhere.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/133-Database-Administration,-Reporting,-and-Light-application-development.html#extended&quot;&gt;Continue reading &quot;Database Administration, Reporting, and Light application development&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 07 Sep 2009 01:54:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/133-guid.html</guid>
    <category>msaccess</category>
<category>oobase</category>
<category>pgadmin</category>

</item>
<item>
    <title>Yum addendum for 8.3.5 and PgAgent</title>
    <link>http://www.postgresonline.com/journal/archives/86-Yum-addendum-for-8.3.5-and-PgAgent.html</link>
            <category>8.3</category>
            <category>basics</category>
            <category>beginner</category>
            <category>pgadmin</category>
            <category>pgagent</category>
            <category>yum</category>
    
    <comments>http://www.postgresonline.com/journal/archives/86-Yum-addendum-for-8.3.5-and-PgAgent.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=86</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;We had the pleasure of doing a fresh install of PostgreSQL 8.3.5 on RedHat EL4 box and when using the Yum repository, we noticed a couple of changes from last time we did this.
This could have been an oversight in our documentation before.&lt;/p&gt;

&lt;h5&gt;Changes to Yum Install for 8.3.5?&lt;/h5&gt;
&lt;p&gt;In our April 2008 issue we had &lt;a href=&quot;http://www.postgresonline.com/journal/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html&quot; target=&quot;_blank&quot;&gt;An Almost Idiot&#039;s Guide to PostgreSQL YUM&lt;/a&gt;
and that article still seems to be surprisingly popular.&lt;/p&gt;

&lt;p&gt;In the first step we had: 

&lt;br /&gt;
&lt;code&gt;yum install postgresql&lt;/code&gt;
&lt;br /&gt;
and that as I recall installed the postgresql server in addition to some client libraries.

&lt;/p&gt;

&lt;p&gt;For 8.3.5 fresh install it seems they are separated and to get the postgresql server you need to do: &lt;br /&gt;
&lt;pre&gt;
&lt;code&gt;yum install postgresql
yum install postgresql-server
&lt;/code&gt;
&lt;/pre&gt;
&lt;/p &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/86-Yum-addendum-for-8.3.5-and-PgAgent.html#extended&quot;&gt;Continue reading &quot;Yum addendum for 8.3.5 and PgAgent&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 26 Nov 2008 21:09:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/86-guid.html</guid>
    <category>pgadmin</category>

</item>
<item>
    <title>PgAdmin III 1.9 First Glance</title>
    <link>http://www.postgresonline.com/journal/archives/73-PgAdmin-III-1.9-First-Glance.html</link>
            <category>basics</category>
            <category>beginner</category>
            <category>ms access</category>
            <category>oobase</category>
            <category>pgadmin</category>
            <category>sql server</category>
    
    <comments>http://www.postgresonline.com/journal/archives/73-PgAdmin-III-1.9-First-Glance.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=73</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;p&gt;We&#039;ve been playing around with the snapshot builds of PgAdmin III 1.9 and would like to summarize some 
of the new nice features added.  PgAdmin III 1.9 has not been released yet, but has a couple of neat features brewing.&lt;/p&gt;

&lt;p&gt;For those interested in experimenting with the snapshot builds and src tarballs,  you can download them from &lt;a href=&quot;http://www.pgadmin.org/snapshots/&quot; target=&quot;_blank&quot;&gt;http://www.pgadmin.org/snapshots/&lt;/a&gt;&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/73-PgAdmin-III-1.9-First-Glance.html#extended&quot;&gt;Continue reading &quot;PgAdmin III 1.9 First Glance&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 24 Sep 2008 14:26:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/73-guid.html</guid>
    <category>pgadmin</category>

</item>
<item>
    <title>How to Inherit,  Unherit and Merge Inherit</title>
    <link>http://www.postgresonline.com/journal/archives/59-How-to-Inherit,-Unherit-and-Merge-Inherit.html</link>
            <category>intermediate</category>
            <category>pgadmin</category>
            <category>q&amp;a</category>
    
    <comments>http://www.postgresonline.com/journal/archives/59-How-to-Inherit,-Unherit-and-Merge-Inherit.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=59</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;P&gt;A lot of this information is nicely tucked away in the PostgreSQL docs in &lt;a href=&quot;http://www.postgresql.org/docs/8.3/interactive/ddl-inherit.html&quot; target=_blank&gt;http://www.postgresql.org/docs/8.3/interactive/ddl-inherit.html&lt;/a&gt;, 
but since the docs are so huge and rich, one may tend to miss
these things.&lt;/P&gt;

&lt;P&gt;While there are numerous interesting use cases for the PostgreSQL inheritance structure,  one of the key reasons people use it is for table partitioning strategies.
&lt;/P&gt;

&lt;h4&gt;How do you make a stand-alone table a child of another table?&lt;/h4&gt;
&lt;P&gt;The first question that comes to mind is why would you ever need a table to adopt another table. There are 2 reasons that come to mind.&lt;/P&gt;
&lt;UL&gt;
	&lt;LI&gt;When you are loading huge amounts of data especially of a read only nature - its often convenient to not have that table be visible to your applications until 
		you are done with the loading process.  So you may want to make it a child after the loading.&lt;/LI&gt;
	&lt;LI&gt;Your tables seemed fairly unrelated when you started out and then one day you realized you really were talking about apples and apples and need to report on them together at a higher level.
		One situation like this to give a somewhat real-world perspective - lets say you developed a timesheet app for an organization and each department insisted on having their own version of the app and each along with 
		the basic fields needed to track some additional ones of their own.  Then higher forces
		came in and said &lt;em&gt;I need to know what everyone is doing, but I don&#039;t need to see all that other crap they keep track of.&lt;/em&gt;.  Two options come to mind - create a bunch of views
			that union stuff together or institute a &lt;em&gt;round-up-the-children-and-adopt-them&lt;/em&gt; program.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;This fits into one of the categories of things that PostgreSQL lets you do that PgAdmin III doesn&#039;t have a graphical way to let you do it.
If you try to inherit in PgAdmin III from a table that already exists, that option is just greyed out. So you have to resort to DDL SQL statements.  Luckily its fairly trivial. Well this really only works
for PostgreSQL 8.2+.  I don&#039;t think PostgreSQL 8.1 and below supported INHERIT/NO INHERIT in the ALTER TABLE statement.&lt;/P&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/59-How-to-Inherit,-Unherit-and-Merge-Inherit.html#extended&quot;&gt;Continue reading &quot;How to Inherit,  Unherit and Merge Inherit&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 02 Jul 2008 03:37:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/59-guid.html</guid>
    <category>pgadmin</category>

</item>
<item>
    <title>How to SELECT  ALL EXCEPT some columns in a table</title>
    <link>http://www.postgresonline.com/journal/archives/41-How-to-SELECT-ALL-EXCEPT-some-columns-in-a-table.html</link>
            <category>beginner</category>
            <category>pgadmin</category>
            <category>postgis</category>
            <category>q&amp;a</category>
    
    <comments>http://www.postgresonline.com/journal/archives/41-How-to-SELECT-ALL-EXCEPT-some-columns-in-a-table.html#comments</comments>
    <wfw:comment>http://www.postgresonline.com/journal/wfwcomment.php?cid=41</wfw:comment>

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

    <author>nospam@example.com (Leo Hsu and Regina Obe)</author>
    <content:encoded>
    &lt;P&gt;People have asked us on several occasions if there is such a construct
&lt;CODE&gt;SELECT * EXCEPT(...list) FROM sometable&lt;/CODE&gt;.  Sadly we do not think such a
thing exists in the ANSI SQL Specs nor in PostgreSQL. 
&lt;/P&gt;
&lt;P&gt;The above feature would come in handy when you have certain fields in your tables that are common 
across tables, but you need to leave them out in your query. A common case of this is when you have PostGIS tables loaded using &lt;em&gt;shp2pgsql&lt;/em&gt;
with a fields called gid and the_geom which are not terribly useful for simple data queries.&lt;/P&gt;

&lt;P&gt;There are 2 common ways we use to achieve this result.  
&lt;UL&gt;&lt;LI&gt;Using PgAdmin&#039;s CREATE SELECT  script feature.  This exists in other GUI tools as well.&lt;/LI&gt;
&lt;LI&gt;Using an Information Schema script hack to construct the SELECT statement&lt;/LI&gt;
&lt;/UL&gt; &lt;br /&gt;&lt;a href=&quot;http://www.postgresonline.com/journal/archives/41-How-to-SELECT-ALL-EXCEPT-some-columns-in-a-table.html#extended&quot;&gt;Continue reading &quot;How to SELECT  ALL EXCEPT some columns in a table&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 05 Apr 2008 18:53:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.postgresonline.com/journal/archives/41-guid.html</guid>
    <category>pgadmin</category>

</item>

</channel>
</rss>