<?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/"
	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>Comments on: PostgreSQL is Powerful, Confuses Newbies</title>
	<atom:link href="http://alexhochberger.com/2009/08/12/postgresql-is-powerful-confuses-newbies/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexhochberger.com/2009/08/12/postgresql-is-powerful-confuses-newbies/</link>
	<description>Using Technology in Business Communications</description>
	<lastBuildDate>Mon, 31 Jan 2011 15:29:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: alexhochberger</title>
		<link>http://alexhochberger.com/2009/08/12/postgresql-is-powerful-confuses-newbies/#comment-140</link>
		<dc:creator><![CDATA[alexhochberger]]></dc:creator>
		<pubDate>Mon, 31 Jan 2011 15:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://alexhochberger.com/?p=96#comment-140</guid>
		<description><![CDATA[Because removing row 2 doesn&#039;t create a reason to eliminate row 3.  The only rule is that the numbers are unique.

If you had 15 Billion lines in a table, and you removed one of them, you want the database to renumber 15 billion lines?

If you want to know the number of rows, do, SELECT count(*) FROM tablename; and you&#039;ll get the count.  If you want the last inserted one that isn&#039;t deleted, you do SELECT max(no) FROM tablename, and those results may not be the same.]]></description>
		<content:encoded><![CDATA[<p>Because removing row 2 doesn&#8217;t create a reason to eliminate row 3.  The only rule is that the numbers are unique.</p>
<p>If you had 15 Billion lines in a table, and you removed one of them, you want the database to renumber 15 billion lines?</p>
<p>If you want to know the number of rows, do, SELECT count(*) FROM tablename; and you&#8217;ll get the count.  If you want the last inserted one that isn&#8217;t deleted, you do SELECT max(no) FROM tablename, and those results may not be the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Afrihar</title>
		<link>http://alexhochberger.com/2009/08/12/postgresql-is-powerful-confuses-newbies/#comment-120</link>
		<dc:creator><![CDATA[Afrihar]]></dc:creator>
		<pubDate>Thu, 16 Dec 2010 09:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://alexhochberger.com/?p=96#comment-120</guid>
		<description><![CDATA[I have a question, why if I delete a row, then auto_increment (serial) not re-number,

example :

no &#124; name
_________ 
1  &#124; jack
2  &#124; smith
3  &#124; less

then I delete row number 2, why column no became like this :

no &#124; name
_________ 
1  &#124; jack
3  &#124; less


thanks]]></description>
		<content:encoded><![CDATA[<p>I have a question, why if I delete a row, then auto_increment (serial) not re-number,</p>
<p>example :</p>
<p>no | name<br />
_________<br />
1  | jack<br />
2  | smith<br />
3  | less</p>
<p>then I delete row number 2, why column no became like this :</p>
<p>no | name<br />
_________<br />
1  | jack<br />
3  | less</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

