<?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"
	>
<channel>
	<title>Comments for chrisspenblog</title>
	<atom:link href="http://www.chrisspen.com/blog/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chrisspen.com/blog</link>
	<description>knowledge through programming</description>
	<pubDate>Fri, 30 Jul 2010 15:56:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on Handling PostgreSQL Integrity Errors in Django by dbb</title>
		<link>http://www.chrisspen.com/blog/handling-postgresql-integrity-errors-in-django.html#comment-69</link>
		<dc:creator>dbb</dc:creator>
		<pubDate>Sat, 27 Mar 2010 07:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=14#comment-69</guid>
		<description>even after quitting and restarting the python shell... I was still unable to execute a query.. but this cleared it up..

django 1.2 dev</description>
		<content:encoded><![CDATA[<p>even after quitting and restarting the python shell&#8230; I was still unable to execute a query.. but this cleared it up..</p>
<p>django 1.2 dev</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enabling Implicit Cast From Integer To Boolean in PostgreSQL by Chris</title>
		<link>http://www.chrisspen.com/blog/enabling-implicit-cast-from-integer-to-boolean-in-postgresql.html#comment-67</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 26 Mar 2010 17:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=13#comment-67</guid>
		<description>@Stefan
PG contains an explicit path from int to char and char to int. However, even after I changed this to implicit mode, PG still throws the conversion error "operator does not exist: integer = character" for a simple query like: SELECT NULL WHERE 0=('0'::CHAR). I'm not sure why this path is being treated differently then int-to-bool.

However, it's important to note that based on your application, making this change could be dangerous. It might be safer (and easier) to just use the explicit ::int cast on a per-use basis instead of changing database-wide functionality.</description>
		<content:encoded><![CDATA[<p>@Stefan<br />
PG contains an explicit path from int to char and char to int. However, even after I changed this to implicit mode, PG still throws the conversion error &#8220;operator does not exist: integer = character&#8221; for a simple query like: SELECT NULL WHERE 0=(&#8217;0&#8242;::CHAR). I&#8217;m not sure why this path is being treated differently then int-to-bool.</p>
<p>However, it&#8217;s important to note that based on your application, making this change could be dangerous. It might be safer (and easier) to just use the explicit ::int cast on a per-use basis instead of changing database-wide functionality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enabling Implicit Cast From Integer To Boolean in PostgreSQL by Stefan Manastirliu</title>
		<link>http://www.chrisspen.com/blog/enabling-implicit-cast-from-integer-to-boolean-in-postgresql.html#comment-65</link>
		<dc:creator>Stefan Manastirliu</dc:creator>
		<pubDate>Fri, 26 Mar 2010 11:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=13#comment-65</guid>
		<description>Is it possible to do the same thing between text(widh defined length, or char) and int??

Thanks, Stefan</description>
		<content:encoded><![CDATA[<p>Is it possible to do the same thing between text(widh defined length, or char) and int??</p>
<p>Thanks, Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling PostgreSQL Integrity Errors in Django by Marcob</title>
		<link>http://www.chrisspen.com/blog/handling-postgresql-integrity-errors-in-django.html#comment-25</link>
		<dc:creator>Marcob</dc:creator>
		<pubDate>Sun, 10 Jan 2010 17:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=14#comment-25</guid>
		<description>This would have helped and saved me a lot of time  :-)

I discovered this solution independently and I tried with every combination of transaction, connection, ecc: this was the only workaround that worked.</description>
		<content:encoded><![CDATA[<p>This would have helped and saved me a lot of time  <img src='http://www.chrisspen.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I discovered this solution independently and I tried with every combination of transaction, connection, ecc: this was the only workaround that worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enabling Implicit Cast From Integer To Boolean in PostgreSQL by Chris</title>
		<link>http://www.chrisspen.com/blog/enabling-implicit-cast-from-integer-to-boolean-in-postgresql.html#comment-22</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 02 Dec 2009 05:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=13#comment-22</guid>
		<description>I'm glad you found it useful.

According to http://doxygen.postgresql.org/pg__cast_8h-source.html the three allowable values for pg_cast.castcontext are "e", "i", and "a", where "a" specifies "coercion in context of assignment".</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you found it useful.</p>
<p>According to <a href="http://doxygen.postgresql.org/pg__cast_8h-source.html" rel="nofollow">http://doxygen.postgresql.org/pg__cast_8h-source.html</a> the three allowable values for pg_cast.castcontext are &#8220;e&#8221;, &#8220;i&#8221;, and &#8220;a&#8221;, where &#8220;a&#8221; specifies &#8220;coercion in context of assignment&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enabling Implicit Cast From Integer To Boolean in PostgreSQL by GH</title>
		<link>http://www.chrisspen.com/blog/enabling-implicit-cast-from-integer-to-boolean-in-postgresql.html#comment-21</link>
		<dc:creator>GH</dc:creator>
		<pubDate>Wed, 02 Dec 2009 05:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=13#comment-21</guid>
		<description>Thanks for this post, I found it by googling an error message I got while trying to do exactly this type of implicit cast and your code worked like a charm. 

Besides "e" and "i" are there other options for "castcontext"?</description>
		<content:encoded><![CDATA[<p>Thanks for this post, I found it by googling an error message I got while trying to do exactly this type of implicit cast and your code worked like a charm. </p>
<p>Besides &#8220;e&#8221; and &#8220;i&#8221; are there other options for &#8220;castcontext&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Extract a Webpage&#8217;s Main Article Content by Gerard Gleeson</title>
		<link>http://www.chrisspen.com/blog/how-to-extract-a-webpages-main-article-content.html#comment-20</link>
		<dc:creator>Gerard Gleeson</dc:creator>
		<pubDate>Tue, 01 Dec 2009 11:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=6#comment-20</guid>
		<description>I implemeted a very similar idea in java a while ago, while not even nearly as this it might help people
http://www.redbrick.dcu.ie/~gleesog4/Projects/page.html#extractmainarticle</description>
		<content:encoded><![CDATA[<p>I implemeted a very similar idea in java a while ago, while not even nearly as this it might help people<br />
<a href="http://www.redbrick.dcu.ie/~gleesog4/Projects/page.html#extractmainarticle" rel="nofollow">http://www.redbrick.dcu.ie/~gleesog4/Projects/page.html#extractmainarticle</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling PostgreSQL Integrity Errors in Django by Stephen</title>
		<link>http://www.chrisspen.com/blog/handling-postgresql-integrity-errors-in-django.html#comment-17</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Tue, 06 Oct 2009 22:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=14#comment-17</guid>
		<description>Thanks, this helped me!</description>
		<content:encoded><![CDATA[<p>Thanks, this helped me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Extract a Webpage&#8217;s Main Article Content by a</title>
		<link>http://www.chrisspen.com/blog/how-to-extract-a-webpages-main-article-content.html#comment-14</link>
		<dc:creator>a</dc:creator>
		<pubDate>Fri, 02 Oct 2009 21:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=6#comment-14</guid>
		<description>seems to only pull out the comments for some pages. example:
http://www.cbsnews.com/blogs/2009/10/02/politics/politicalhotsheet/entry5359359.shtml</description>
		<content:encoded><![CDATA[<p>seems to only pull out the comments for some pages. example:<br />
<a href="http://www.cbsnews.com/blogs/2009/10/02/politics/politicalhotsheet/entry5359359.shtml" rel="nofollow">http://www.cbsnews.com/blogs/2009/10/02/politics/politicalhotsheet/entry5359359.shtml</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Extract a Webpage&#8217;s Main Article Content by Dave</title>
		<link>http://www.chrisspen.com/blog/how-to-extract-a-webpages-main-article-content.html#comment-10</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 22 May 2009 16:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisspen.com/blog/?p=6#comment-10</guid>
		<description>Yes it seems strange you would go to all this effort, but not publish the code. 

I too would appreciate looking at the code</description>
		<content:encoded><![CDATA[<p>Yes it seems strange you would go to all this effort, but not publish the code. </p>
<p>I too would appreciate looking at the code</p>
]]></content:encoded>
	</item>
</channel>
</rss>
