<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open Enterprise: The PostgreSQL Open Source Database Blog from EnterpriseDB &#187; Scott Mead</title>
	<atom:link href="http://blogs.enterprisedb.com/author/scott_mead/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.enterprisedb.com</link>
	<description>Commentary, tutorials, and announcements surrounding PostgreSQL, Postgres Plus, and open source.</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:53:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Postgres Plus Standard Server</title>
		<link>http://blogs.enterprisedb.com/2009/11/05/installing-postgres-plus-standard-server/</link>
		<comments>http://blogs.enterprisedb.com/2009/11/05/installing-postgres-plus-standard-server/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 22:23:23 +0000</pubDate>
		<dc:creator>Scott Mead</dc:creator>
				<category><![CDATA[Postgres Plus Standard Server]]></category>
		<category><![CDATA[Training/Education]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/?p=179</guid>
		<description><![CDATA[EnterpriseDB has taken Postgres to the next level with Postgres Plus Standard Server.  Standard Server delivers PostgreSQL 8.4, StackBuilder Plus with UpdateMonitor, pre-integrated enterprise modules, value-added enterprise module testing, and enterprise subscription, support, and packaged services. It&#8217;s a simple way to install the database engine and all the tools you need in order to get [...]]]></description>
			<content:encoded><![CDATA[<p>EnterpriseDB has taken Postgres to the next level with <a href="http://www.enterprisedb.com/products/postgres_plus/overview.do" target="_self">Postgres Plus Standard Server</a>.  Standard Server delivers <a href="http://www.postgresql.org" target="_self">PostgreSQL</a> 8.4, StackBuilder Plus with UpdateMonitor, pre-integrated enterprise modules, value-added enterprise module testing, and enterprise subscription, support, and packaged services.<strong> </strong>It&#8217;s a simple way to install the database engine and all the tools you need in order to get under way.</p>
<p><a href="http://www.scottrmead.com/blogs/scott/install-postgres-plus-standard">(more&#8230;)</a></p>
<a href='http://blogs.enterprisedb.com/2009/11/05/installing-postgres-plus-standard-server/' class='retweet vert' >Installing Postgres Plus Standard Server</a>]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2009/11/05/installing-postgres-plus-standard-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Install Postgres Binaries (in One Click)</title>
		<link>http://blogs.enterprisedb.com/2009/11/03/how-to-install-postgres-binaries-in-one-click/</link>
		<comments>http://blogs.enterprisedb.com/2009/11/03/how-to-install-postgres-binaries-in-one-click/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 13:32:31 +0000</pubDate>
		<dc:creator>Scott Mead</dc:creator>
				<category><![CDATA[Open Source Tools]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[download postgres]]></category>
		<category><![CDATA[how to install postgres]]></category>
		<category><![CDATA[install postgres]]></category>
		<category><![CDATA[postgre]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgres binary install]]></category>
		<category><![CDATA[postgresql 8.4]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/?p=174</guid>
		<description><![CDATA[In the Linux world, many people have come to rely on (for better or worse) their distribution package management.  Personally, I feel that until this is fixed, Linux will never be a mainstream desktop OS.  The problem with using your OS package manager for installing Postgres is that there are no real consistency [...]]]></description>
			<content:encoded><![CDATA[<p>In the Linux world, many people have come to rely on (for better or worse) their distribution package management.  Personally, I feel that until this is fixed, Linux will never be a mainstream desktop OS.  The problem with using your OS package manager for <a href="http://www.enterprisedb.com/products/postgres_plus/overview.do" target="_self">installing Postgres</a> is that there are no real consistency guidelines from vendor to vendor.  How do we get around this problem?  Simple!</p>
<p><a href="http://www.scottrmead.com/blogs/scott/howto-install-postgres-binaries">(more &#8230;)</a></p>
<a href='http://blogs.enterprisedb.com/2009/11/03/how-to-install-postgres-binaries-in-one-click/' class='retweet vert' >How to Install Postgres Binaries (in One Click)</a>]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2009/11/03/how-to-install-postgres-binaries-in-one-click/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scaling Postgres Plus Advanced Server in the Cloud</title>
		<link>http://blogs.enterprisedb.com/2009/10/23/scaling-postgresplus-advanced-server-in-the-cloud/</link>
		<comments>http://blogs.enterprisedb.com/2009/10/23/scaling-postgresplus-advanced-server-in-the-cloud/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 14:46:35 +0000</pubDate>
		<dc:creator>Scott Mead</dc:creator>
				<category><![CDATA[Product Features]]></category>
		<category><![CDATA[postgres plus advanced server]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[horizontal]]></category>
		<category><![CDATA[i-cache]]></category>
		<category><![CDATA[infinitecache]]></category>
		<category><![CDATA[scalability]]></category>
		<category><![CDATA[scaling]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/?p=131</guid>
		<description><![CDATA[The idea behind the &#8216;elastic&#8217; cloud is that you can simply &#8217;stretch&#8217; your wasteband by adding more junk in your trunk, i.e. putting more servers online to give you the ability to scale.  The biggest problem here, however, is the simple fact that Postgres really operates on a &#8217;shared-nothing&#8217; architecture, so how is it that [...]]]></description>
			<content:encoded><![CDATA[<p>The idea behind the &#8216;elastic&#8217; cloud is that you can simply &#8217;stretch&#8217; your wasteband by adding more junk in your trunk, i.e. putting more servers online to give you the ability to scale.  The biggest problem here, however, is the simple fact that Postgres really operates on a &#8217;shared-nothing&#8217; architecture, so how is it that we gain anything by simply adding more resources?  That is, how does Postgres become elastic without changing the application or doing massive architecture work?</p>
<p>Right off the bat, I&#8217;ll attempt to eliminate confusion.  The following describes a feature specific to EnterpriseDB&#8217;s proprietary product, <a href="http://www.enterprisedb.com/products/postgres_plus_as/overview.do" target="_self">Postgres Plus Advanced Server</a>, and, specifically, InfiniteCache.</p>
<p><a title="Elastic Scale with InfiniteCache" href="http://www.scottrmead.com/blogs/scott/elastic-scale-with-icache">(more&#8230;)</a></p>
<a href='http://blogs.enterprisedb.com/2009/10/23/scaling-postgresplus-advanced-server-in-the-cloud/' class='retweet vert' >Scaling Postgres Plus Advanced Server in the Cloud</a>]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2009/10/23/scaling-postgresplus-advanced-server-in-the-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Monitor a Postgres Warm Standby</title>
		<link>http://blogs.enterprisedb.com/2009/09/22/how-to-monitor-a-postgres-warm-standby/</link>
		<comments>http://blogs.enterprisedb.com/2009/09/22/how-to-monitor-a-postgres-warm-standby/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 16:28:39 +0000</pubDate>
		<dc:creator>Scott Mead</dc:creator>
				<category><![CDATA[postgresql]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[warm standby]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/?p=110</guid>
		<description><![CDATA[Warm standby with Postgres is all the rage nowadays, and the PostgreSQL team has done an incredible job of building an easy to use, robust log shipping / replay system.  Even the newest of users can build a warm standby in just minutes; however, documentation seems to lack questions to the standard set of &#8216;operational&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>Warm standby with Postgres is all the rage nowadays, and the <a href="http://ww.postgresql.org/">PostgreSQL</a> team has done an incredible job of building an easy to use, robust log shipping / replay system.  Even the newest of users can build a warm standby in just minutes; however, documentation seems to lack questions to the standard set of &#8216;operational&#8217; questions that users have.  Here, I will nose-dive &#8230;</p>
<p><a href="http://www.scottrmead.com/blogs/scott/warm-standby-monitoring" target="_blank">(more&#8230;)</a></p>
<a href='http://blogs.enterprisedb.com/2009/09/22/how-to-monitor-a-postgres-warm-standby/' class='retweet vert' >How to Monitor a Postgres Warm Standby</a>]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2009/09/22/how-to-monitor-a-postgres-warm-standby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick and Powerful Database with OpenOffice.org and Postgres</title>
		<link>http://blogs.enterprisedb.com/2009/07/26/quick-and-powerful-database-with-openofficeorg-and-postgres/</link>
		<comments>http://blogs.enterprisedb.com/2009/07/26/quick-and-powerful-database-with-openofficeorg-and-postgres/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 17:20:48 +0000</pubDate>
		<dc:creator>Scott Mead</dc:creator>
				<category><![CDATA[Open Source Tools]]></category>
		<category><![CDATA[Training/Education]]></category>
		<category><![CDATA[forms quick database design]]></category>
		<category><![CDATA[oo.org]]></category>
		<category><![CDATA[openoffice]]></category>
		<category><![CDATA[openoffice.org]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgres GUI]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://blogs.enterprisedb.com/?p=34</guid>
		<description><![CDATA[Unless you&#8217;ve been living under a rock for the past 3 years, you&#8217;ve heard of OpenOffice.org.  Like most people, I&#8217;ve used the software a few times to edit some documents and haven&#8217;t really given much thought to it.  During one of my last plane trips, I decided that the small database I keep (in PostgreSQL) [...]]]></description>
			<content:encoded><![CDATA[<p>Unless you&#8217;ve been living under a rock for the past 3 years, you&#8217;ve heard of OpenOffice.org.  Like most people, I&#8217;ve used the software a few times to edit some documents and haven&#8217;t really given much thought to it.  During one of my last plane trips, I decided that the small database I keep (in PostgreSQL) needed a facelift, err, well, a face actually.  I built the database completely on the CLI with the postgres &#8216;psql&#8217; utility and all my access to it is via the CLI.  This is nice, but I figured that there had to be something easier.  I fired up OO.org and started a &#8216;New Database&#8217; just to see what was possible.  The first screen up gives us the option:</p>
<p><img class="aligncenter size-medium wp-image-35" title="Connect to existing DB via JDBC" src="http://blogs.enterprisedb.com/wp-content/uploads/2009/07/picture-2-300x63.png" alt="Connect to existing DB via JDBC" width="300" height="63" /></p>
<p>I was immediately beside myself with excitement, if OpenOffice base had the ability to draw forms like MS Access, and will let me hook it up to my existing postgres DB, then I may be done with an interface before the flight deck signals &#8216;initial approach&#8217;.</p>
<p><span id="more-34"></span></p>
<p>First step was to get the JDBC driver registered with OpenOffice base, and then to get connected to my existing database.  I had a feeling that somewhere along the way, Alice and her long eared friend might be waiting, but I figured that company might be welcome so, what they heck, let&#8217;s go!</p>
<p>Choosing JDBC from the drop-down and hitting next took me to the &#8216;Database Wizard&#8217;</p>
<p><img class="aligncenter size-medium wp-image-36" title="DB Wizard" src="http://blogs.enterprisedb.com/wp-content/uploads/2009/07/picture-3-300x209.png" alt="DB Wizard" width="300" height="209" /></p>
<p>My first test, just adding the postgres jdbc driver class &#8216;org.postgresql.Driver&#8217; (note the capital &#8216;D&#8217;) was a failure, so I figured I&#8217;d have to get the postgres jdbc driver added to the classpath.</p>
<p>I canceled the wizard, and opened up OpenOffice writer, went to my options page (On the mac, this is &#8216;OpenOffice.org&#8217; menu -&gt; Preferences ; everywhere else, it&#8217;s &#8216;Tools -&gt; Options&#8217;).  Next, I went to &#8216;java&#8217; and clicked the &#8216;Class Path&#8217; button, the window that popped up let me add the postgres jdbc jar file without any problems:</p>
<p><img class="aligncenter size-medium wp-image-37" title="Add Class Path" src="http://blogs.enterprisedb.com/wp-content/uploads/2009/07/picture-4-300x167.png" alt="Add Class Path" width="300" height="167" /></p>
<p>I went back to &#8216;base&#8217; , and when I tested my driver again, the test was a success!</p>
<p>Now, continuing on our journey, I added the connection string for my database (as per the usual postgres connection string: http://jdbc.postgresql.org/documentation/83/connect.html)</p>
<p><img class="aligncenter size-medium wp-image-39" title="DBWizConnString" src="http://blogs.enterprisedb.com/wp-content/uploads/2009/07/picture-5-300x210.png" alt="DBWizConnString" width="300" height="210" />On the next screen, I entered my authentication information (for info on postgres authentication and the pg_hba.conf file, see http://www.postgresql.org/docs/8.3/static/auth-methods.html).  I successfully tested my connection, and on the last screen let OpenOffice register the database for me (aka &#8216;Saved an ODB file) and opened it for editing.</p>
<p>Once opened, I was amazed that not only did OpenOffice.org successfully get my existing tables, it organized them by postgres schema!  I was sure that my somewhat overly organizational nature (i.e. keeping all my tables grouped by postgres schema) would not translate well, but the OO.org team did not let me down, incredible!</p>
<p><img class="aligncenter size-medium wp-image-40" title="DB Opened" src="http://blogs.enterprisedb.com/wp-content/uploads/2009/07/picture-6-300x226.png" alt="DB Opened" width="300" height="226" /></p>
<p>So far, I&#8217;ve had some great luck, but my skeptical nature still told me that there would be some problem coming up, and as always, the universe didn&#8217;t disappoint.  I double clicked one of my tables and was ready to start entering data &#8216;Access style&#8217; and found that my tables were all read-only.</p>
<p><img class="aligncenter size-medium wp-image-43" title="Table R/O" src="http://blogs.enterprisedb.com/wp-content/uploads/2009/07/picture-72-300x140.png" alt="Table R/O" width="300" height="140" /></p>
<p>I always need that my head-first dive down the rabbit hole would end-up with me staring into the floating eyes of the cheshire cat, I just hoped that it wouldn&#8217;t be this time.  Oh well.  Needless to say, I didn&#8217;t meet the self-imposed deadline of &#8216;initial approach&#8217;, and I actually ended up receiving the &#8217;scorn of the flight attendant&#8217; when I did not swiftly stow the laptop until I felt the ka-chunk of the landing gear deploying.</p>
<p>Once on the ground at EWR, I found my way into the Terminal C food court, got my chicken nuggets and whipped out my good &#8216;ol air card.  Once online, my googling for the read-only table fiasco came about with mixed results.  It seemed that the majority of links dealt with some strange issue with the openoffice JDBC system needing to be instructed to &#8216;ignoreDriverPrivileges&#8217; (http://dba.openoffice.org/howto/IgnoreDriverPrivileges.html).  None of these magic &#8216;macros&#8217; seemed to work.  So, I posted in the OpenOffice forums (http://user.services.openoffice.org/en/forum/viewtopic.php?f=40&amp;t=21036) and within 45 minutes, had my answer, it seems that your external database (here, PostgreSQL) should have primary key on each table in order for it to be updateable via OO.org&#8217;s base.</p>
<p>I pulled up my psql window and ran:</p>
<pre>postgres=# alter table a.bob add primary key (id);
NOTICE:  ALTER TABLE / ADD PRIMARY KEY will create implicit index "bob_pkey" for table "bob"
ALTER TABLE</pre>
<p>I re-opened the a.bob table in OO.org (didn&#8217;t even have to close the ODB file) and voila!</p>
<p><img class="aligncenter size-medium wp-image-45" title="Voila!" src="http://blogs.enterprisedb.com/wp-content/uploads/2009/07/picture-8-300x180.png" alt="Voila!" width="300" height="180" /></p>
<p>I was slightly worried that I&#8217;d be required to have a surrogate key on each of my tables, which isn&#8217;t always bad, but in trying to stick with (http://hosting3.epresence.tv/fosslc/1/watch/125.aspx (use the TOC and go to slide 285)), I wanted to make sure that OO.org could deal with multi-column primary keys.  I ran the following through psql (yea, I could be using the designer at this point, but old habits&#8230;):</p>
<pre>        create table a.test (name varchar(25), data text);</pre>
<pre>        alter table a.test add primary key (name,data);</pre>
<p>I closed the odb file, re-opened it and sure enough,</p>
<p><img class="aligncenter size-medium wp-image-46" title="MultiColumn Keys work" src="http://blogs.enterprisedb.com/wp-content/uploads/2009/07/picture-9-300x215.png" alt="MultiColumn Keys work" width="300" height="215" /></p>
<p>it&#8217;s editable.  Great!  I&#8217;m connected</p>
<p>Hopefully the above is enough to get you started on your own chase.  Consider the above part I, I&#8217;ll eventually get around to a part II where I&#8217;ll talk about my forms and how I use them.  Happy context switching!</p>
<a href='http://blogs.enterprisedb.com/2009/07/26/quick-and-powerful-database-with-openofficeorg-and-postgres/' class='retweet vert' >Quick and Powerful Database with OpenOffice.org and Postgres</a>]]></content:encoded>
			<wfw:commentRss>http://blogs.enterprisedb.com/2009/07/26/quick-and-powerful-database-with-openofficeorg-and-postgres/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

