<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/dfetter/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://people.planetpostgresql.org/dfetter/index.php?/feeds/atom.xml" rel="self" title="David Fetter's blog" type="application/atom+xml" />
    <link href="http://people.planetpostgresql.org/dfetter/"                        rel="alternate"    title="David Fetter's blog" type="text/html" />
    <link href="http://people.planetpostgresql.org/dfetter/rss.php?version=2.0"     rel="alternate"    title="David Fetter's blog" type="application/rss+xml" />
    <title type="html">David Fetter's blog</title>
    <subtitle type="html">My little place on the web...</subtitle>
    <icon>http://people.planetpostgresql.org/dfetter/templates/bulletproof/img/s9y_banner_small.png</icon>
    <id>http://people.planetpostgresql.org/dfetter/</id>
    <updated>2010-07-24T16:18:11Z</updated>
    <generator uri="http://www.s9y.org/" version="1.4.1">Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/61-MVC-Backups.html" rel="alternate" title="MVC Backups" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-07-24T16:18:11Z</published>
        <updated>2010-07-24T16:18:11Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=61</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/61-guid.html</id>
        <title type="html">MVC Backups</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Since Josh Drake has failed to allow comments on his very excellent blog, especially <a href="http://www.commandprompt.com/blogs/joshua_drake/2010/07/a_better_backup_with_postgresql_using_pg_dump/" title="this post">this post</a>,I have to respond below. <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/61-MVC-Backups.html#extended">Continue reading "MVC Backups"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/60-Tablespaces-in-a-nutshell.html" rel="alternate" title="Tablespaces in a (nut)shell" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-06-09T17:16:37Z</published>
        <updated>2010-06-09T17:16:37Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=60</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=60</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/60-guid.html</id>
        <title type="html">Tablespaces in a (nut)shell</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Sometimes, you run across traces of LarryDB.  One typical one is a profusion of tablespaces.<br />
<br />
Until you solve that problem, you'll need to deal with them.  Let's take setting up a warm standby.<br />
<br />
 <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/60-Tablespaces-in-a-nutshell.html#extended">Continue reading "Tablespaces in a (nut)shell"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/59-Partitioning-Glances.html" rel="alternate" title="Part(ition)ing Glances" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-05-04T23:24:24Z</published>
        <updated>2010-05-05T17:30:21Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=59</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=59</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/59-guid.html</id>
        <title type="html">Part(ition)ing Glances</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                In <a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/51-Partitioning-Is-Such-Sweet-Sorrow.html" title="Part(ition)ing Is Such Sweet Sorrow">an earlier installment</a>, we learned about how to partition a<br />
referenced table, which was good as far as it went.  A commenter very<br />
astutely pointed out that this didn't work with RETURNING, so I set<br />
to work fixing that problem.<br />
<br />
Here's what I came up with.<br />
 <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/59-Partitioning-Glances.html#extended">Continue reading "Part(ition)ing Glances"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/58-psql,-Paste,-Perl-Pefficiency!.html" rel="alternate" title="psql, Paste, Perl: Pefficiency!" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-04-27T04:38:45Z</published>
        <updated>2010-04-29T15:23:03Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=58</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=58</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/58-guid.html</id>
        <title type="html">psql, Paste, Perl: Pefficiency!</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Enough alliteration already!<br />
<br />
I was looking at Regina Obe's <a href="http://www.postgresonline.com/journal/index.php?/archives/157-Import-fixed-width-data-into-PostgreSQL-with-just-PSQL.html" title="excellent piece">excellent piece</a> on how to use psql to do an import on fixed-width data, and thought to myself, "self, how would you do this with fewer copies, just in case you happened across a few hundred gigs of data?"<br />
<br />
Here's what I came up with:<br />
 <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/58-psql,-Paste,-Perl-Pefficiency!.html#extended">Continue reading "psql, Paste, Perl: Pefficiency!"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/57-File-driven-Include-and-Exclude-for-pg_dump.html" rel="alternate" title="File-driven Include and Exclude for pg_dump" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-04-22T23:06:34Z</published>
        <updated>2010-04-22T23:12:41Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=57</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=57</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/57-guid.html</id>
        <title type="html">File-driven Include and Exclude for pg_dump</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                So you're about to start replicating part of a database using Slony, and you'd rather not set up your replicas with all the extra cruft.  You've made your list, but what to do with it?<br />
 <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/57-File-driven-Include-and-Exclude-for-pg_dump.html#extended">Continue reading "File-driven Include and Exclude for pg_dump"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/56-The-Cloud-Under-the-Lamp-Post.html" rel="alternate" title="The Cloud Under the Lamp Post" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-04-14T19:12:57Z</published>
        <updated>2010-04-14T19:12:57Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=56</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=56</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/56-guid.html</id>
        <title type="html">The Cloud Under the Lamp Post</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                A drunk is under a lamp post.  It's late at night, and he is crawling<br />
around on his hands and knees, searching frantically all over the tiny<br />
pool of brilliant light it casts.  A passer-by asks him, "what are you<br />
doing?"  He answers, "I'm looking for my keys."  Pointing out into the<br />
darkness, he continues, "I dropped them over there, but the light's<br />
much better over here."<br />
<br />
The joke is an old one, and illustrates an interesting truth about<br />
human psychology.<br />
<br />
What does this have to do with The Cloud, you ask?<br />
<br />
Read on.<br />
 <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/56-The-Cloud-Under-the-Lamp-Post.html#extended">Continue reading "The Cloud Under the Lamp Post"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/55-Partly-Cloudy,-with-a-Very-High-Chance-of-FAIL.html" rel="alternate" title="Partly Cloudy, with a Very High Chance of FAIL" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-04-06T01:48:19Z</published>
        <updated>2010-04-09T06:10:52Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=55</wfw:comment>
    
        <slash:comments>8</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=55</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/55-guid.html</id>
        <title type="html">Partly Cloudy, with a Very High Chance of FAIL</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Everywhere you turn, it's "<a href="http://en.wikipedia.org/wiki/Cloud_computing" title="cloud">cloud</a>" this, "cloud" that, "cloud" the other.<br />
<a href="http://en.wikipedia.org/wiki/Cloud_computing#Deployment_models" title="Public clouds">Public clouds</a>, private clouds, hybrid<br />
clouds, fluffy clouds...but somewhere in all that billowing haze,<br />
there's an actual use case.<br />
<br />
The people who designed cloud computing made certain explicit<br />
trade-offs, some of which have been lost in all the hype.  Given those<br />
explicit trade-offs, your application is a candidate for "the cloud" in<br />
general only if it has all of the following characteristics:<br />
<br />
- Embarrassingly parallelizable<br />
- Does not have bounded latency requirements<br />
- Needs CPU much more than I/O<br />
- Tolerant to partial data loss<br />
<br />
<br />
 <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/55-Partly-Cloudy,-with-a-Very-High-Chance-of-FAIL.html#extended">Continue reading "Partly Cloudy, with a Very High Chance of FAIL"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/54-Free-Your-DBI-Link,-and-the-Rest-Will-Follow.html" rel="alternate" title="Free Your DBI-Link, and the Rest Will Follow" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-03-10T17:46:57Z</published>
        <updated>2010-03-11T19:38:58Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=54</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=54</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/54-guid.html</id>
        <title type="html">Free Your DBI-Link, and the Rest Will Follow</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                DBI-Link is now on Github!<br />
<br />
Here's how I did it: <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/54-Free-Your-DBI-Link,-and-the-Rest-Will-Follow.html#extended">Continue reading "Free Your DBI-Link, and the Rest Will Follow"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/53-Git-+-bash-win.html" rel="alternate" title="Git + bash = win" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-03-03T18:38:26Z</published>
        <updated>2010-03-05T16:38:03Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=53</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=53</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/53-guid.html</id>
        <title type="html">Git + bash = win</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Modern git comes with a great way to improve your life: git-completion.bash.  To use it, just add the following to your .bashrc:<br />
<br />
<pre>if [ -f /etc/bash_completion ]; then<br />
    . /etc/bash_completion<br />
    export PS1='\h:\u:\w $(__git_ps1 "(%s) ")'<br />
fi</pre><br />
Once you've done this, any time you're in a git subdirectory, the branch name will appear in your PS1.<br />
Any time you're not, it won't.<br />
Simple! 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/52-Scripting-psql-for-Fun-and-Profit.html" rel="alternate" title="Scripting psql for Fun and Profit" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-03-01T21:09:22Z</published>
        <updated>2010-03-01T21:09:22Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=52</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=52</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/52-guid.html</id>
        <title type="html">Scripting psql for Fun and Profit</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Profit?<br />
<br />
Yes! <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/52-Scripting-psql-for-Fun-and-Profit.html#extended">Continue reading "Scripting psql for Fun and Profit"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/51-Partitioning-Is-Such-Sweet-Sorrow.html" rel="alternate" title="Part(ition)ing Is Such Sweet Sorrow" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-02-19T04:21:41Z</published>
        <updated>2010-02-19T04:21:41Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=51</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=51</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/51-guid.html</id>
        <title type="html">Part(ition)ing Is Such Sweet Sorrow</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                There are excellent references on partitioning tables that depend on one table, but what happens when you need to partition the referenced table?<br />
<br />
Let's find out! <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/51-Partitioning-Is-Such-Sweet-Sorrow.html#extended">Continue reading "Part(ition)ing Is Such Sweet Sorrow"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/50-PostgreSQL-Weekly-News-vs.-Casa-Donde.html" rel="alternate" title="PostgreSQL Weekly News vs. Casa Donde" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-02-07T09:32:04Z</published>
        <updated>2010-02-07T23:41:15Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=50</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=50</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/50-guid.html</id>
        <title type="html">PostgreSQL Weekly News vs. Casa Donde</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                This week's PostgreSQL Weekly news may be rescheduled to Wednesday February 10, evening PST.<br />
<br />
Thanks very much to whatever component failed at my home for this. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/49-FOSDEM-Starting.html" rel="alternate" title="FOSDEM Starting" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-02-05T07:10:07Z</published>
        <updated>2010-02-05T07:10:07Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=49</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=49</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/49-guid.html</id>
        <title type="html">FOSDEM Starting</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                The herd of blue elephants is gathering for FOSDEM, including several talks in the main track.<br />
<br />
I'd like to thank the FOSDEM for making it possible for me to attend this year.<br />
<br />
More on this soon... 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/48-Adding-Only-New-Rows-INSERT-IGNORE,-Done-Right.html" rel="alternate" title="Adding Only New Rows (INSERT IGNORE, Done Right)" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-02-01T03:04:08Z</published>
        <updated>2010-02-02T05:48:30Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=48</wfw:comment>
    
        <slash:comments>11</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=48</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/48-guid.html</id>
        <title type="html">Adding Only New Rows (INSERT IGNORE, Done Right)</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Let's say you have a table and a data set, and would like to add only those rows in your data set that aren't already in the table.  There are hard ways, but here's an easy one. <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/48-Adding-Only-New-Rows-INSERT-IGNORE,-Done-Right.html#extended">Continue reading "Adding Only New Rows (INSERT IGNORE, Done Right)"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://people.planetpostgresql.org/dfetter/index.php?/archives/47-ORDER-BY-column_header.html" rel="alternate" title="ORDER BY column_header" />
        <author>
            <name>David Fetter</name>
                    </author>
    
        <published>2010-01-30T19:02:38Z</published>
        <updated>2010-01-30T19:02:38Z</updated>
        <wfw:comment>http://people.planetpostgresql.org/dfetter/wfwcomment.php?cid=47</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://people.planetpostgresql.org/dfetter/rss.php?version=atom1.0&amp;type=comments&amp;cid=47</wfw:commentRss>
    
    
        <id>http://people.planetpostgresql.org/dfetter/index.php?/archives/47-guid.html</id>
        <title type="html">ORDER BY column_header</title>
        <content type="xhtml" xml:base="http://people.planetpostgresql.org/dfetter/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Ever wondered why you can't "just sort" by column when you're looking at an HTML table? <br /><a href="http://people.planetpostgresql.org/dfetter/index.php?/archives/47-ORDER-BY-column_header.html#extended">Continue reading "ORDER BY column_header"</a>
            </div>
        </content>
        
    </entry>

</feed>