Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 2AA932E0040 for ; Wed, 11 Jun 2008 15:38:24 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 02099-02 for ; Wed, 11 Jun 2008 15:38:16 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from iserver.abag.ca.gov (iserver.abag.ca.gov [198.31.87.3]) by developer.postgresql.org (Postfix) with ESMTP id B9C172E002E for ; Wed, 11 Jun 2008 15:38:17 -0300 (ADT) Received: from groupwise.abag.ca.gov (groupwise.abag.ca.gov [198.31.87.26]) by iserver.abag.ca.gov (8.14.2/8.14.2) with ESMTP id m5BIcCHi027115 for ; Wed, 11 Jun 2008 11:38:12 -0700 (PDT) Received: from D01-MTA by groupwise.abag.ca.gov with Novell_GroupWise; Wed, 11 Jun 2008 11:38:11 -0700 Message-Id: <484FB90D020000A700007EA0@groupwise.abag.ca.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.1 Date: Wed, 11 Jun 2008 11:37:49 -0700 From: "Fred Parkinson" To: Subject: Access query as executed by postgres Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/17 X-Sequence-Number: 9547 When I create a query in MS Access and execute via ODBC, is there a way to = tell exactly what query is executed by postgres? When I create and execute a query in Access I get what I want, but when I = run the same query at the pgsql command prompt I get syntax and 'function = not found' errors. Clearly Access is translating my query, but into what? I have turned ODBC logging on but it doesn't seem to log the query sent to = postgres. Thanks Fred