From: Fred Parkinson <FredP@abag.ca.gov>
To: pgsql-odbc@postgresql.org
Subject: Only fails when logging is off
Date: Thu, 20 Feb 2003 09:17:56 -0800
Message-ID: <se549d65.080@groupwise.abag.ca.gov> (raw)
Here is a problem that disappears when logging is on:
Attempting to issue the following SQL query from Access '97 against a postgres database:
SELECT tcompanies.company_id, CStr([tcompanies].[login_id]) & ": " & [tcompanies].[name] AS Expr1, tcompanies.name
FROM tcompanies
WHERE tcompanies.active
ORDER BY tcompanies.name;
column 'active' is boolean
2 messages ppear in succession
1. ODBC Call failed
2. ERROR: Unable to identify an operator "=" for types "boolean" and "integer"
You will have to retype this query using an explicit cast (#7)
Any ideas?
Fred Parkinson
Association of Bay Area Governments
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: FredP@abag.ca.gov
Subject: Re: Only fails when logging is off
In-Reply-To: <se549d65.080@groupwise.abag.ca.gov>
References: <se549d65.080@groupwise.abag.ca.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox