<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>transfixed but not dead! &#187; PostgreSQL</title>
	<atom:link href="http://transfixedbutnotdead.com/tag/postgresql/feed/" rel="self" type="application/rss+xml" />
	<link>http://transfixedbutnotdead.com</link>
	<description>my ramblings on life, work &#38; anything left in-between</description>
	<lastBuildDate>Tue, 08 May 2012 09:57:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='transfixedbutnotdead.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/0a317653027efb1ab2bf8adde3dcb067?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>transfixed but not dead! &#187; PostgreSQL</title>
		<link>http://transfixedbutnotdead.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://transfixedbutnotdead.com/osd.xml" title="transfixed but not dead!" />
	<atom:link rel='hub' href='http://transfixedbutnotdead.com/?pushpress=hub'/>
		<item>
		<title>PostgreSQL &amp; Perl videos on Vimeo</title>
		<link>http://transfixedbutnotdead.com/2009/05/13/postgresql-perl-videos-on-vimeo/</link>
		<comments>http://transfixedbutnotdead.com/2009/05/13/postgresql-perl-videos-on-vimeo/#comments</comments>
		<pubDate>Wed, 13 May 2009 12:05:04 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[catalyst]]></category>
		<category><![CDATA[DBIx::Class]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[talks]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vimeo]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=321</guid>
		<description><![CDATA[Came across a PostgreSQL channel on Vimeo the other day. This is a new channel containing video posts from the last PostgreSQL conference. Among them was a Perl talk by Matt Trout: Perl Catalyst and DBIx::Class from Joshua Drake on Vimeo. Matt comes to blows with the slideshow in above talk so you may prefer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&#038;blog=351142&#038;post=321&#038;subd=draegtun&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Came across a <a href="http://vimeo.com/channels/postgres">PostgreSQL channel</a> on Vimeo the other day.  This is a new channel containing video posts from the last PostgreSQL conference.  Among them was a Perl talk by Matt Trout:</p>
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/4535841' width='400' height='300' frameborder='0'></iframe></div>
<p><a href="http://vimeo.com/4535841">Perl Catalyst and DBIx::Class</a> from <a href="http://vimeo.com/user1177559">Joshua Drake</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Matt comes to blows with the slideshow in above talk so you may prefer to watch a <a href="http://yapc.tv/2008/lpw/matt-trout-dbix-postgres/">shortened version</a> of this talk from the London Perl Workshop November 2008.   </p>
<p>The slides can be found on <a href="http://www.shadowcat.co.uk/catalyst/talks/postgresql-WEST-2008/-files/catalyst-dbic-pg.xul">Shadowcat&#8217;s website</a> (requires Firefox).</p>
<p><a href="http://vimeo.com/tag:perl">More Perl videos</a> are available though this tag does mix in some non related stuff but you can watch Giles Bowkett attempt:<br />
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/1471410' width='400' height='300' frameborder='0'></iframe></div></p>
<p><a href="http://vimeo.com/1471410">Lightbulb Joke: Perl</a> from <a href="http://vimeo.com/giles">giles goat boy</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>or instead watch something that is really funny:    <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/1424008' width='400' height='300' frameborder='0'></iframe></div></p>
<p><a href="http://vimeo.com/1424008">YAPC::EU Promo</a> from <a href="http://vimeo.com/ovid">Curtis Poe</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>/I3az/</p>
<p>PS.  I did try embedded the vimeo videos in post but WordPress decided to spit them out and just leave the placeholders ;-(</p>
<p>PPS.  Now fixed!  Use (vimeo ####) where #### is the video id from the vimeo URL and replace parenthesis with square brackets!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&#038;blog=351142&#038;post=321&#038;subd=draegtun&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/05/13/postgresql-perl-videos-on-vimeo/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>Compiling PostgreSQL on Tiger</title>
		<link>http://transfixedbutnotdead.com/2007/01/24/compiling-postgresql-on-tiger/</link>
		<comments>http://transfixedbutnotdead.com/2007/01/24/compiling-postgresql-on-tiger/#comments</comments>
		<pubDate>Wed, 24 Jan 2007 17:08:01 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Tiger]]></category>
		<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://draegtun.wordpress.com/2007/01/24/compiling-postgresql-on-tiger/</guid>
		<description><![CDATA[I&#8217;ve compiled Postgres many times on Linux and never had an issue&#8230; so fingers crossed it would be just as easy on MacOSX. A good place to start is an article on Apple&#8217;s developers site&#8230;. Postgres on Mac OS X However I&#8217;ll be using DarwinPorts (or MacPorts as its now known) instead of fink. In [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&#038;blog=351142&#038;post=13&#038;subd=draegtun&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve compiled Postgres many times on Linux and never had an issue&#8230; so fingers crossed it would be just as easy on MacOSX.</p>
<p>A good place to start is an article on Apple&#8217;s developers site&#8230;. <a href="http://developer.apple.com/internet/opensource/postgres.html">Postgres on Mac OS X</a></p>
<p>However I&#8217;ll be using DarwinPorts (or MacPorts as its now known) instead of fink.  In fact you may ask why don&#8217;t I just install the Darwin port of Postgres?   When it comes to critical apps which are important to me I always prefer to use the source and therefore can apply any compilation settings that I may need.</p>
<p>Here&#8217;s the steps I went thru (via Terminal session).  DarwinPorts being installed is a prerequisite&#8230;.</p>
<p>First off u must become root.    You can do this from an admin account with just &#8220;<code>sudo -s</code>&#8220;.</p>
<p>Next we must install some ports that Postgres will need&#8230;.<br />
<code><br />
    &nbsp;&nbsp;&nbsp;&nbsp;port install readline<br />
    &nbsp;&nbsp;&nbsp;&nbsp;port install gmake<br />
    &nbsp;&nbsp;&nbsp;&nbsp;port install bison<br />
</code></p>
<p>Then we need to create a /usr/local directory (<code>mkdir /usr/local</code>).   Within this we need a &#8220;src&#8221; directory where we can download the Postgres source code to (<code>cd /usr/local ; mkdir src ; cd src</code>).</p>
<p>Download the latest stable PostgreSQL source from www.postgresql.org and unpack it&#8230;. <code>gzcat postgres-source.tar.gz | tar xvf -</code></p>
<p>Now you in a position to compile the source code.   Go into the Postgres directory that was unpacked and do the following steps&#8230;.<br />
<code><br />
&nbsp;&nbsp;&nbsp;&nbsp;./configure --with-includes=/opt/local/include/ --with-libraries=/opt/local/lib --with-bonjour<br />
&nbsp;&nbsp;&nbsp;&nbsp;gmake<br />
&nbsp;&nbsp;&nbsp;&nbsp;gmake install<br />
</code></p>
<p>PostgreSQL as now been compiled and installed.   Next step is to initiate the database storage area.  For this you will need to create a &#8220;postgres&#8221; account on your Mac.  (If unclear then read instructions in the article on how to do this).  Then do this&#8230;..<br />
<code><br />
&nbsp;&nbsp;&nbsp;&nbsp;mkdir /usr/local/pgsql/data<br />
&nbsp;&nbsp;&nbsp;&nbsp;chown postgres /usr/local/pgsql/data<br />
&nbsp;&nbsp;&nbsp;&nbsp;su -l postgres<br />
&nbsp;&nbsp;&nbsp;&nbsp;/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data<br />
</code></p>
<p>We now have a fully working PostgreSQL RDBMS on your Mac.</p>
<p>Next you want to put the following in your login .profile (for the postgres account)&#8230;.</p>
<p><code><br />
        &nbsp;&nbsp;&nbsp;&nbsp;export PGDATA=/usr/local/pgsql/data<br />
        &nbsp;&nbsp;&nbsp;&nbsp;export PATH=$PATH:/usr/local/pgsql/bin<br />
</code></p>
<p>If you now source this profile with you now have the Postgres commands in your $PATH ( <code>. .profile</code> ).</p>
<p>To start the Postgres DB server (postmaster) in the background&#8230;.</p>
<p><code><br />
       &nbsp;&nbsp;&nbsp;&nbsp;pg_ctl -l logfile start<br />
</code></p>
<p>and to stop it&#8230;..</p>
<p><code><br />
       &nbsp;&nbsp;&nbsp;&nbsp;pg_ctl stop<br />
</code></p>
<p>You can now go ahead and create a database in PostgreSQL.</p>
<p>That&#8217;s it for now but will touch on security &amp; auto launching at later date.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/draegtun.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/draegtun.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&#038;blog=351142&#038;post=13&#038;subd=draegtun&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2007/01/24/compiling-postgresql-on-tiger/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
	</channel>
</rss>
