X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E3C9152E2D for ; Fri, 19 Aug 2005 19:13:46 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70226-07 for ; Fri, 19 Aug 2005 22:13:41 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by svr1.postgresql.org (Postfix) with ESMTP id 6E8C952C57 for ; Fri, 19 Aug 2005 19:13:40 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id i4so655722wra for ; Fri, 19 Aug 2005 15:13:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cenXAAFz4L1HQmBo5EXTBZeuSJ4yCQWqdP3iKWVKje+aaevergEtpPd3VULp8qYFvG3Dorr/auqkBHmHbs++GkJuG4V75qjOEnx+9bO3zIgsfzbkcsrTAK2CEXnGQM7fxiXKtRcYhdhXvNKMN8ranmqf+4Ds/c6NA4AoSKGKkKc= Received: by 10.54.6.6 with SMTP id 6mr822120wrf; Fri, 19 Aug 2005 15:13:42 -0700 (PDT) Received: by 10.54.80.14 with HTTP; Fri, 19 Aug 2005 15:13:42 -0700 (PDT) Message-ID: Date: Fri, 19 Aug 2005 18:13:42 -0400 From: Timothy Reed To: pgsql-odbc@postgresql.org Subject: MS Access 2000 w/ PGSQL 8.0.x Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 required=5 tests=[RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200508/172 X-Sequence-Number: 5811 I am having some issues when trying to query for booleans from Access to Postgres 8.0.x. If I change to use Bools as Chars then I am unable to delete from a table with a boolean in it, as postgres cannot convert from boolean to char. If I do not use bools as chars then I get "cache lookup failed for function 0" I have followed what the tech docs have recommended to do with adding the new msaccessbool function and =3D operator (http://techdocs.postgresql.org/v2/Guides/Using%20Microsoft%20Access%20with= %20PostgreSQL/view#55) But to no avail! Any help would be greatly appreciated. ODBC Driver settings: Disable Genetic Optimizer: YES KSQO: YES Recognize Unique Indexes: YES Declare/Fetch : NO Parse Statements: NO Cancel As FreeStmt: NO Unknown Sizes: Max Text as LongVarChar: YES Unknows as LongVarChar: NO Bools as Char : NO Read Only: NO Show System Tables: NO LF <-> CR/LF: YES Updatable Cursors: NO bytea as LO: NO Row Versioning: NO Disallow Premature: NO True as -1: YES Server side prepare: NO Table Stucture: Column =09=09Type =09 Employee ID =09integer =09 First Name =09text =09 Last Name =09text =09 Clocker =09boolean =09 Labor Type ID =09bigint =09 PC Handle =09text =09 On Payroll =09boolean =09 Address 1 =09text =09 Address 2 =09text =09 City =09=09text =09 State =09=09text =09 Zip Code =09text =09 Hire Date =09timestamp without time zone =09 Pay Type =09text =09 Status =09=09text =09 Pay Rate Old =09money =09 Social Security =09text =09 Phone Number =09text =09 Shift Start =09text =09 Shift End =09text =09 Sign Off =09boolean =09 Hire Date Temp =09timestamp without time zone =09 Stop Date Temp =09timestamp without time zone =09 Stop Date =09timestamp without time zone =09 Rehire Date =09timestamp without time zone =09 Continuous Date =09timestamp without time zone =09 Direct Labor =09boolean =09 Agency =09=09boolean =09 Active =09=09boolean =09 Agency2 =09boolean =09 Payroll ID =09bigint =09 EMail =09=09text =09 ADP Employee ID =09integer =09 SQL STATEMENT: SELECT "public"."Employees"."Employee ID" FROM "public"."Employees" WHERE NOT ("Active" =3D 0) ORDER BY "public"."Employees"."Last Name" ,"public"."Employees"."First Name"; RESULT: ERROR: cache lookup failed for function 0 TIA, --=20 -------- Timothy Reed tareed@gmail.com "I reject your reality, and substitue my own" - Adam Savage