<?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>imitatio creatio &#187; psql</title>
	<atom:link href="http://filip.rembialkowski.net/tag/psql/feed/" rel="self" type="application/rss+xml" />
	<link>http://filip.rembialkowski.net</link>
	<description>co we łbie piszczy</description>
	<lastBuildDate>Tue, 15 Jun 2010 12:11:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>psql variables &#8211; quoting and more</title>
		<link>http://filip.rembialkowski.net/psql-variables-quoting-and-more/</link>
		<comments>http://filip.rembialkowski.net/psql-variables-quoting-and-more/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 20:40:27 +0000</pubDate>
		<dc:creator>filip</dc:creator>
				<category><![CDATA[all]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[hint]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[psql]]></category>

		<guid isPermaLink="false">http://filip.rembialkowski.net/?p=183</guid>
		<description><![CDATA[psql, postgreSQL powerful command line interface, has it's variables system. I do use it sometimes but... how many single quotes should I put there?
I have puzzled over this so many times, that I decided to put it here as a memo.
Proper quoting of text variables
Variable declaration:

\set d1 '''2008-01-01 00:00:00.000'''
\set d2 '''2008-12-31 23:59:59.999'''

Variable usage:

SELECT something FROM [...]]]></description>
		<wfw:commentRss>http://filip.rembialkowski.net/psql-variables-quoting-and-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
