<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Display or show tables in a PostgreSQL/PgSQL database</title>
	<atom:link href="http://www.tech-recipes.com/rx/279/display-or-show-tables-in-a-postgresqlpgsql-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/279/display-or-show-tables-in-a-postgresqlpgsql-database/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Fri, 10 Feb 2012 12:22:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Taller de creación literaria cinco letras</title>
		<link>http://www.tech-recipes.com/rx/279/display-or-show-tables-in-a-postgresqlpgsql-database/comment-page-1/#comment-49692</link>
		<dc:creator>Taller de creación literaria cinco letras</dc:creator>
		<pubDate>Wed, 14 Sep 2011 21:43:57 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-49692</guid>
		<description>Never mind, I did´t selected the db</description>
		<content:encoded><![CDATA[<p>Never mind, I did´t selected the db</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taller de creación literaria cinco letras</title>
		<link>http://www.tech-recipes.com/rx/279/display-or-show-tables-in-a-postgresqlpgsql-database/comment-page-1/#comment-49691</link>
		<dc:creator>Taller de creación literaria cinco letras</dc:creator>
		<pubDate>Wed, 14 Sep 2011 21:39:41 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-49691</guid>
		<description>not working :s</description>
		<content:encoded><![CDATA[<p>not working :s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: runa</title>
		<link>http://www.tech-recipes.com/rx/279/display-or-show-tables-in-a-postgresqlpgsql-database/comment-page-1/#comment-33533</link>
		<dc:creator>runa</dc:creator>
		<pubDate>Wed, 13 Jul 2011 18:46:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-33533</guid>
		<description>Thanks :) It worked </description>
		<content:encoded><![CDATA[<p>Thanks :) It worked</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guest</title>
		<link>http://www.tech-recipes.com/rx/279/display-or-show-tables-in-a-postgresqlpgsql-database/comment-page-1/#comment-44584</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Wed, 08 Dec 2010 19:07:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-44584</guid>
		<description>    select 
      ordinal_position, 
      column_name, 
      data_type, 
      is_nullable,
      description.description as comment
  from 
      information_schema.columns columns
      left join pg_class class on (columns.table_name = class.relname)
      left join pg_description description on (class.oid = description.objoid)
      left join pg_attribute attrib on  (class.oid = attrib.attrelid and columns.column_name = attrib.attname and attrib.attnum = description.objsubid)
  where 
    table_name=&#039;{$tableName}&#039; 
  group by
    ordinal_position, column_name, data_type, is_nullable, description.description
</description>
		<content:encoded><![CDATA[<p>select<br />
      ordinal_position,<br />
      column_name,<br />
      data_type,<br />
      is_nullable,<br />
      description.description as comment<br />
  from<br />
      information_schema.columns columns<br />
      left join pg_class class on (columns.table_name = class.relname)<br />
      left join pg_description description on (class.oid = description.objoid)<br />
      left join pg_attribute attrib on  (class.oid = attrib.attrelid and columns.column_name = attrib.attname and attrib.attnum = description.objsubid)<br />
  where<br />
    table_name=&#8217;{$tableName}&#8217;<br />
  group by<br />
    ordinal_position, column_name, data_type, is_nullable, description.description</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.tech-recipes.com/rx/279/display-or-show-tables-in-a-postgresqlpgsql-database/comment-page-1/#comment-42266</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 09 Sep 2010 21:03:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-42266</guid>
		<description>So what? Still worked for me...</description>
		<content:encoded><![CDATA[<p>So what? Still worked for me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marek Pe</title>
		<link>http://www.tech-recipes.com/rx/279/display-or-show-tables-in-a-postgresqlpgsql-database/comment-page-1/#comment-41506</link>
		<dc:creator>Marek Pe</dc:creator>
		<pubDate>Fri, 13 Aug 2010 07:17:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-41506</guid>
		<description>You can receive column comments in SQL:

SELECT a.attname AS column, d.description AS COMMENT
FROM pg_class c 
JOIN pg_description d ON c.oid=d.objoid
JOIN pg_attribute a ON c.oid = a.attrelid
WHERE c.relname=&#039;monitors&#039;
AND a.attnum = d.objsubid</description>
		<content:encoded><![CDATA[<p>You can receive column comments in SQL:</p>
<p>SELECT a.attname AS column, d.description AS COMMENT<br />
FROM pg_class c<br />
JOIN pg_description d ON c.oid=d.objoid<br />
JOIN pg_attribute a ON c.oid = a.attrelid<br />
WHERE c.relname=&#8217;monitors&#8217;<br />
AND a.attnum = d.objsubid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: noMan</title>
		<link>http://www.tech-recipes.com/rx/279/display-or-show-tables-in-a-postgresqlpgsql-database/comment-page-1/#comment-39275</link>
		<dc:creator>noMan</dc:creator>
		<pubDate>Mon, 24 May 2010 10:45:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-39275</guid>
		<description>very old post :(</description>
		<content:encoded><![CDATA[<p>very old post :(</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 5/14 queries in 0.733 seconds using memcached
Object Caching 363/368 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-10 08:17:00 -->
