<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>RockDeveloper: Desarrollo Web y Programaci&#243;n &#187; snippet</title>
	<atom:link href="http://blog.rockdeveloper.com/tag/snippet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rockdeveloper.com</link>
	<description>Articulos y noticias sobre desarrollo web, programaci&#243;n y sistemas</description>
	<lastBuildDate>Fri, 13 Aug 2010 16:22:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>2006-2007 </copyright>
		<managingEditor>info@rockdeveloper.com (Rock Developer)</managingEditor>
		<webMaster>info@rockdeveloper.com (Rock Developer)</webMaster>
		<category>posts</category>
		<ttl>1440</ttl>
		<itunes:keywords>desarollo, desarrollo web, java, .net, ruby, spring, hibernate</itunes:keywords>
		<itunes:subtitle>Expresion de las mejores formas de desarrollar software. Cause Software Matters</itunes:subtitle>
		<itunes:summary>Expresion de las mejores formas de desarrollar software. Cause Software Matters</itunes:summary>
		<itunes:author>Rock Developer</itunes:author>
		<itunes:category text="Technology"/>
		<itunes:owner>
			<itunes:name>Rock Developer</itunes:name>
			<itunes:email>info@rockdeveloper.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://blog.rockdeveloper.com/wp-content/uploads/2009/09/Picture_11.png" />
		<image>
			<url>http://blog.rockdeveloper.com/wp-content/uploads/2009/09/Picture_1.png</url>
			<title>RockDeveloper: Desarrollo Web y Programaci&#243;n</title>
			<link>http://blog.rockdeveloper.com</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Mostrar información de la estructura de una tabla en postgresql</title>
		<link>http://blog.rockdeveloper.com/2010/02/19/mostrar-informacion-de-la-estructura-de-una-tabla-en-postgresql/</link>
		<comments>http://blog.rockdeveloper.com/2010/02/19/mostrar-informacion-de-la-estructura-de-una-tabla-en-postgresql/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 05:22:32 +0000</pubDate>
		<dc:creator>Cesar Reyes</dc:creator>
				<category><![CDATA[Articulos y Noticias]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://blog.rockdeveloper.com/?p=315</guid>
		<description><![CDATA[
			
				
			
		
No posteo demasiado, creo que pienso un post elaborado, lo dejo en draft y nunca lo publico, así que estaré posteando algunos fragmentos de código, comandos, tips cortos.
Simple comando en postgresql para mostrar informacion de la estructura de una tabla
Ya estando en la consola ejecutamos:

postgres=# \d nombre_tabla
         [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.rockdeveloper.com%2F2010%2F02%2F19%2Fmostrar-informacion-de-la-estructura-de-una-tabla-en-postgresql%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.rockdeveloper.com%2F2010%2F02%2F19%2Fmostrar-informacion-de-la-estructura-de-una-tabla-en-postgresql%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>No posteo demasiado, creo que pienso un post elaborado, lo dejo en draft y nunca lo publico, así que estaré posteando algunos fragmentos de código, comandos, tips cortos.</p>
<p>Simple comando en postgresql para mostrar informacion de la estructura de una tabla</p>
<p>Ya estando en la consola ejecutamos:</p>
<pre class="brush: plain;">
postgres=# \d nombre_tabla
                 Table &quot;public.nombre_tabla&quot;
     Column     |          Type           | Modifiers
----------------+-------------------------+-----------
 id             | bigint                  | not null
 version        | bigint                  | not null
 description    | character varying(1500) | not null
 name           | character varying(150)  | not null
 columna       | integer                 | not null
Indexes:
    &quot;nombre_tabla_pkey&quot; PRIMARY KEY, btree (id)
</pre>
<p>Para eliminar un constraint de &#8220;not null&#8221; a una columna:</p>
<pre class="brush: plain;">
postgres=# alter table nombre_tabla alter column columna drop not null;
ALTER TABLE
</pre>
<p>Saludos&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rockdeveloper.com/2010/02/19/mostrar-informacion-de-la-estructura-de-una-tabla-en-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
