Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 5F77863309D for ; Tue, 29 Sep 2009 17:20:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 43954-09 for ; Tue, 29 Sep 2009 20:20:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f186.google.com (mail-qy0-f186.google.com [209.85.221.186]) by mail.postgresql.org (Postfix) with ESMTP id 4B590632D41 for ; Tue, 29 Sep 2009 17:20:42 -0300 (ADT) Received: by qyk16 with SMTP id 16so4653793qyk.15 for ; Tue, 29 Sep 2009 13:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=qA5QIiKDF9+xyJvnxvi2T+PJnOkJDIhaK3+eFmaCh7M=; b=b+gfdFItmyYllwMolNwWGOMPVWAhDXXfyWQsfj/y7Yu7UqiD1MbKJhnv/vBUIUWnKP EhoEwTSr5tzm9B31dxS5Z9KoZVEhfD3r8YASR9TcCznGMUFblmBwq1O9EuPNQbYDVzUh QADYEOm8wv5k+rGCXE8AkKYKjhQX/RfXCLPl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PhJZbUErVGVeAll7CzqyX97FYv6JCS7e/PgSIPRoPOI1cuwmV8silv9W5REKtNp3kY 4hZYSZuelaLnBJkGN9rNClmvQ3Lw1ueDSxkb/7hIr1cRVGY7DF10KWXhHiZd2/zCuWv3 KQU0T6/scM36bC/1RYDW1OAEU+BN7qwJZ8ufo= MIME-Version: 1.0 Received: by 10.224.100.134 with SMTP id y6mr4348394qan.283.1254255640938; Tue, 29 Sep 2009 13:20:40 -0700 (PDT) Date: Tue, 29 Sep 2009 13:20:40 -0700 Message-ID: <396486430909291320p37bcc55cl5edd3d49f2401ff5@mail.gmail.com> Subject: ODBC( true = -1) and MS-Access From: Richard Broersma To: pgsql-odbc Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=AWL=0.000, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200909/35 X-Sequence-Number: 10021 I've configure the ODBC drawing to use true as -1. However, I get the following error message when Access tries to use -1 as true. 2009-09-29 13:12:15 PDTLOG: statement: SELECT "MS1"."buildingnbr","MS1"."drawingnbr" FROM "public"."buildingdrawings" "MS1" WHERE (("buildingnbr" = 'B-1085' ) AND ("haspressurization" = -1 ) ) ORDER BY "MS1"."drawingnbr" 2009-09-29 13:12:15 PDTERROR: operator does not exist: boolean = integer at character 146 2009-09-29 13:12:15 PDTHINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. The version of the odbc driver is 8.04.01.00. Is this a bug? -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug