<?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>Conexao Python &#187; python</title>
	<atom:link href="http://conexaopython.wordpress.com/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://conexaopython.wordpress.com</link>
	<description>Um blog de TI</description>
	<lastBuildDate>Wed, 17 Sep 2008 16:39:46 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='conexaopython.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/3927b2a8e2add7a4b375f5b6f4fbc8af?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Conexao Python &#187; python</title>
		<link>http://conexaopython.wordpress.com</link>
	</image>
			<item>
		<title>Python module for PostgreSQL</title>
		<link>http://conexaopython.wordpress.com/2008/07/02/python-module-for-postgresql/</link>
		<comments>http://conexaopython.wordpress.com/2008/07/02/python-module-for-postgresql/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 05:07:48 +0000</pubDate>
		<dc:creator>conexaopython</dc:creator>
				<category><![CDATA[instalação]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[postreSQL]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://conexaopython.wordpress.com/?p=8</guid>
		<description><![CDATA[
Para instalação de suporte do python ao postgreSQL, atualize o através do apt-get, no ambiente debian :

Primeiro passo a Instalação do banco postegreSQL
apt-get install postgresql-8.1
Instalação de modulo de conectividade, python + postgreSQL
apt-get install python-psycopg2
Para complementar a instalação e poder ser utilizada pelo django, criar um exemplo conforme descrição abaixo:
Altere o usuário corrente para o usuário [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=conexaopython.wordpress.com&blog=4120463&post=8&subd=conexaopython&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><ul>
<li>Para instalação de suporte do python ao postgreSQL, atualize o através do apt-get, no ambiente debian :</li>
</ul>
<p>Primeiro passo a Instalação do banco postegreSQL</p>
<blockquote><p>apt-get install postgresql-8.1</p></blockquote>
<p>Instalação de modulo de conectividade, python + postgreSQL</p>
<blockquote><p>apt-get install python-psycopg2</p></blockquote>
<p>Para complementar a instalação e poder ser utilizada pelo django, criar um exemplo conforme descrição abaixo:</p>
<p>Altere o usuário corrente para o usuário postgres , através do comando &#8220;<strong>s</strong>wicth <strong>u</strong>ser&#8221; , abreviado por &#8220;<strong>su</strong>&#8220;.</p>
<blockquote><p><strong>su</strong> postgres</p>
<p>psql</p>
<p>create user djangouser;</p>
<p>create database djangodb;</p>
<p>grant all on database djangodb to djangouser;</p>
<p>ALTER USER djangouser WITH ENCRYPTED PASSWORD &#8216;123&#8242;;</p>
<p>\q</p></blockquote>
<p>Editar o arquivo &#8220;pg_hba.conf&#8221;</p>
<p>entrar no diretório :</p>
<blockquote><p>cd /etc/postgresql/8.1/main</p>
<p>vi pg_hba.conf</p></blockquote>
<p>acrescentar, a linha , conforme figura abaixo</p>
<blockquote><p><em>local   djangodb    djangouser                        md5</em></p></blockquote>
<p><a href="http://conexaopython.files.wordpress.com/2008/07/postgresql-djangodb.png"><img class="aligncenter size-medium wp-image-10" src="http://conexaopython.files.wordpress.com/2008/07/postgresql-djangodb.png?w=300&#038;h=188" alt="Alteraçao do arquivo \&quot;pg_hba.conf\&quot;" width="300" height="188" /></a></p>
<p>Sair da ediçao do arquivo e depois da sessão do usuário postres.</p>
<blockquote><p>exit</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/conexaopython.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/conexaopython.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/conexaopython.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/conexaopython.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/conexaopython.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/conexaopython.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/conexaopython.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/conexaopython.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/conexaopython.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/conexaopython.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/conexaopython.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/conexaopython.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=conexaopython.wordpress.com&blog=4120463&post=8&subd=conexaopython&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://conexaopython.wordpress.com/2008/07/02/python-module-for-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f294ace6bc0800e6c66b071b11c64ac?s=96&#38;d=identicon" medium="image">
			<media:title type="html">conexaopython</media:title>
		</media:content>

		<media:content url="http://conexaopython.files.wordpress.com/2008/07/postgresql-djangodb.png?w=300" medium="image">
			<media:title type="html">Alteraçao do arquivo \&#34;pg_hba.conf\&#34;</media:title>
		</media:content>
	</item>
	</channel>
</rss>