Problem with perl / postgres

From: Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Problem with perl / postgres
Date: 1999-06-17 08:02:54
Message-ID: 3768ABAD.F85AAD0F@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)tech(dot)com(dot)au
http://www.techphoto.org - Photography News, Stuff that Matters

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kaare Rasmussen 1999-06-17 08:58:11 Subject: [GENERAL] Problem with perl / postgres
Previous Message Kaare Rasmussen 1999-06-17 07:25:40 DBMaker