Problem with perl / postgres

Поиск
Список
Период
Сортировка
От Chris Bitmead
Тема Problem with perl / postgres
Дата
Msg-id 3768ABAD.F85AAD0F@bigfoot.com
обсуждение исходный текст
Ответ на Two questions about 6.5  (Christian Ullrich <ChrUllrich@gmx.de>)
Ответы Re: [GENERAL] Problem with perl / postgres
Список pgsql-general
I've got this simple query...

SELECT id, title, summary, datetime, datetime::date AS date FROM poll
WHERE id = ?

which works from psql but fails with "bad parameter" from perl. If I
take out the "datetime::date AS date" bit it starts working.

Why would a query work in psql but not perl?

--
Chris Bitmead
mailto:chris@tech.com.au
http://www.techphoto.org - Photography News, Stuff that Matters

В списке pgsql-general по дате отправления:

Предыдущее
От: Christian Ullrich
Дата:
Сообщение: Two questions about 6.5
Следующее
От: Michael
Дата:
Сообщение: Re: [GENERAL] PL/pgsql problem in 6.5