Re: Date variables in psql - Mailing list pgsql-general

From Francisco Reyes
Subject Re: Date variables in psql
Date
Msg-id 20041007133623.E64843@zoraida.natserv.net
Whole thread Raw
In response to Re: Date variables in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Thu, 7 Oct 2004, Tom Lane wrote:

> It's fairly painful to get single quotes into a psql variable;
> AFAIK you have to do it like this:
> \set proc_date '\'6/30/2004\''


Thanks that worked.
I figure I needed to escape the single quotes, but I had tried
\'6/30/2004\', which did not work.

pgsql-general by date:

Previous
From: Scott Frankel
Date:
Subject: Re: interfaces for python -- thanks
Next
From: Artem Litvinovich
Date:
Subject: 8.0 questions