<?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>Leonardo Borda &#187; postgresql</title>
	<atom:link href="http://www.leonardoborda.com/blog/tag/postgresql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leonardoborda.com/blog</link>
	<description>A bit of everything and answers that really work!</description>
	<lastBuildDate>Thu, 15 Jul 2010 16:14:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enable PostgreSQL access through the Network</title>
		<link>http://www.leonardoborda.com/blog/enable-postgresql-access-through-the-network/</link>
		<comments>http://www.leonardoborda.com/blog/enable-postgresql-access-through-the-network/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 03:52:06 +0000</pubDate>
		<dc:creator>Leo</dc:creator>
				<category><![CDATA[Knowledge Base]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.leonardoborda.com/blog/?p=129</guid>
		<description><![CDATA[Most wanted question:
1. How do I access PostgreSQL through the network?
1.1. Open postgresql.conf (in Ubuntu 8.04 at /etc/postgresql/8.3/main/postgresql.conf) and change  listen_addresses = &#8216;localhost&#8217; to listen_addresses = &#8216;*&#8217;.
1.2. Uncomment password_encryption = on.
1.3. Open /etc/postgresql/8.3/main/pg_hba.conf
host    all         all         [...]]]></description>
			<content:encoded><![CDATA[<p>Most wanted question:<br />
1. How do I access PostgreSQL through the network?<br />
1.1. Open postgresql.conf (in Ubuntu 8.04 at /etc/postgresql/8.3/main/postgresql.conf) and change <span style="font-weight: bold;"> <span style="font-style: italic;">listen_addresses = &#8216;localhost&#8217;</span></span> to <span style="font-weight: bold; font-style: italic;">listen_addresses = &#8216;*&#8217;</span>.<br />
1.2. Uncomment <span style="font-style: italic;">password_encryption = on.</span><br />
1.3. Open /etc/postgresql/8.3/main/pg_hba.conf<br />
<span style="font-style: italic;">host    all         all         /        trust</span><br />
eg. <span style="font-style: italic;">host    all         all         192.168.2.0/24        trust</span><br />
1.4. Restart PostgreSQL<br />
<span style="font-style: italic;"> /etc/init.d/postgresql-8.3</span></p>
<p>Yes! That works fine!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leonardoborda.com/blog/enable-postgresql-access-through-the-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change PostgreSQL Password</title>
		<link>http://www.leonardoborda.com/blog/change-postgresql-password/</link>
		<comments>http://www.leonardoborda.com/blog/change-postgresql-password/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 03:51:24 +0000</pubDate>
		<dc:creator>Leo</dc:creator>
				<category><![CDATA[Knowledge Base]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.leonardoborda.com/blog/?p=127</guid>
		<description><![CDATA[From linux command prompt:
su - postgres
psql -d template1 -U postgres
alter user postgres with password 'postgres_password';
ctrl+d
]]></description>
			<content:encoded><![CDATA[<p><tt>From linux command prompt:</p>
<p>su - postgres<br />
psql -d template1 -U postgres</tt><br />
<tt>alter user postgres with password '</tt><span class="note">postgres_password</span><tt>';</tt><br />
ctrl+d</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leonardoborda.com/blog/change-postgresql-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
