odbc error

From: "Samuele Brignoli" <samuele(dot)brignoli(at)darpha(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: odbc error
Date: 2002-01-18 11:45:19
Message-ID: CNEDLAJNHCDEGDBGOHHCMEJECJAA.samuele.brignoli@darpha.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-odbc

When trying to execute this :

select select DOC_MAST.MVNUMREG,DOC_MAST.MVDATREG from TESTDOC_MAST
DOC_MAST where DOC_MAST.MVNUMDOC = 57 AND DOC_MAST.MVSERIAL <> '0000000343'
AND DOC_MAST.MVALFDOC = ' ' AND EXTRACT(YEAR FROM DOC_MAST.MVDATDOC) =
EXTRACT(YEAR FROM {d '2001-11-26'}) AND DOC_MAST.MVPRD = 'DV' AND
DOC_MAST.MVANNDOC = '2001'

with psqlodbc 7.01.00.09, it sends me an error 'cause the type casting {d
'2001-11-26'} doesn't work.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-01-18 14:59:07 Re: libpq not reentrant
Previous Message Federico Di Gregorio 2002-01-18 09:28:54 libpq not reentrant

Browse pgsql-odbc by date

  From Date Subject
Next Message Bruce Momjian 2002-01-18 18:12:19 Re: Rep:Re: Error Writing/Reading Encrypted Values
Previous Message Cedar Cox 2002-01-18 10:27:16 Re: Rep:Re: Error Writing/Reading Encrypted Values