Re: Date variables in psql

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Date variables in psql
Дата
Msg-id 20041007133623.E64843@zoraida.natserv.net
обсуждение исходный текст
Ответ на Re: Date variables in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Scott Frankel
Дата:
Сообщение: Re: interfaces for python -- thanks
Следующее
От: Artem Litvinovich
Дата:
Сообщение: 8.0 questions