<?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/"
	>

<channel>
	<title>select * from depesz; &#187; ddl</title>
	<atom:link href="http://www.depesz.com/tag/ddl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.depesz.com</link>
	<description></description>
	<lastBuildDate>Mon, 07 May 2012 20:34:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Waiting for 9.2 &#8211; ALTER IF EXISTS</title>
		<link>http://www.depesz.com/2012/02/01/waiting-for-9-2-alter-if-exists/</link>
		<comments>http://www.depesz.com/2012/02/01/waiting-for-9-2-alter-if-exists/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 13:14:11 +0000</pubDate>
		<dc:creator>depesz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[alter]]></category>
		<category><![CDATA[conditional]]></category>
		<category><![CDATA[ddl]]></category>
		<category><![CDATA[if exists]]></category>
		<category><![CDATA[pg92]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.depesz.com/?p=2393</guid>
		<description><![CDATA[On 23th of January, Simon Riggs committed patch: ALTER &#60;thing&#62; [IF EXISTS] ... allows silent DDL if required, e.g. ALTER FOREIGN TABLE IF EXISTS foo RENAME TO bar &#160; Pavel Stehule This adds important capability &#8211; change object of it exists, and not raise exception if it doesn&#8217;t. Conditional DDL was always big point on [...]]]></description>
		<wfw:commentRss>http://www.depesz.com/2012/02/01/waiting-for-9-2-alter-if-exists/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Waiting for 9.1 &#8211; CREATE TABLE IF NOT EXISTS</title>
		<link>http://www.depesz.com/2010/07/28/waiting-for-9-1-create-table-if-not-exists/</link>
		<comments>http://www.depesz.com/2010/07/28/waiting-for-9-1-create-table-if-not-exists/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 12:06:23 +0000</pubDate>
		<dc:creator>depesz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[conditional]]></category>
		<category><![CDATA[create table]]></category>
		<category><![CDATA[ddl]]></category>
		<category><![CDATA[if not exists]]></category>
		<category><![CDATA[pg91]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.depesz.com/?p=1777</guid>
		<description><![CDATA[On 25th Robert Haas committed patch which adds first of &#8216;CREATE IF NOT EXISTS&#8217; commands: Log Message: ----------- CREATE TABLE IF NOT EXISTS. &#160; Reviewed by Bernd Helmle. Example is of course trivial: $ create table if not exists tesit (x text); CREATE TABLE &#160; $ create table if not exists tesit (x text); NOTICE: [...]]]></description>
		<wfw:commentRss>http://www.depesz.com/2010/07/28/waiting-for-9-1-create-table-if-not-exists/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Waiting for 8.5 &#8211; pgsql: DROP IF EXISTS for columns and constraints.</title>
		<link>http://www.depesz.com/2009/07/22/waiting-for-8-5-pgsql-drop-if-exists-for-columns-and-constraints/</link>
		<comments>http://www.depesz.com/2009/07/22/waiting-for-8-5-pgsql-drop-if-exists-for-columns-and-constraints/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 09:41:33 +0000</pubDate>
		<dc:creator>depesz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[conditional]]></category>
		<category><![CDATA[constraint]]></category>
		<category><![CDATA[ddl]]></category>
		<category><![CDATA[drop]]></category>
		<category><![CDATA[pg85]]></category>
		<category><![CDATA[pg90]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.depesz.com/?p=1467</guid>
		<description><![CDATA[On 205h of July Andrew Dunstan committed patch by Andres Freund : Log Message: ----------- DROP IF EXISTS for columns and constraints. Andres Freund. The functionality is self-explanatory, so let&#8217;s just show some usage examples: Test table: # create table test (a int4, b int4); CREATE TABLE Drop non-existing column old way: # alter table [...]]]></description>
		<wfw:commentRss>http://www.depesz.com/2009/07/22/waiting-for-8-5-pgsql-drop-if-exists-for-columns-and-constraints/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditional DDL?</title>
		<link>http://www.depesz.com/2008/06/18/conditional-ddl/</link>
		<comments>http://www.depesz.com/2008/06/18/conditional-ddl/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 12:53:23 +0000</pubDate>
		<dc:creator>depesz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[conditions]]></category>
		<category><![CDATA[ddl]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.depesz.com/?p=1217</guid>
		<description><![CDATA[Every now and then I see people ask the question &#8211; how to create table if it doesn&#8217;t exist yet, how to drop it, but only if it does exist and so on. Well, starting from 8.2 dropping should be not a problem anymore. But what about create? Alter? Let&#8217;s try to do it&#8230; First [...]]]></description>
		<wfw:commentRss>http://www.depesz.com/2008/06/18/conditional-ddl/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

