Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 3C95A2E00C1 for ; Wed, 11 Jun 2008 18:51:36 -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 01271-01 for ; Wed, 11 Jun 2008 18:51:28 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by developer.postgresql.org (Postfix) with ESMTP id 582C22E00C6 for ; Wed, 11 Jun 2008 18:51:32 -0300 (ADT) Received: by rv-out-0506.google.com with SMTP id b25so3973195rvf.43 for ; Wed, 11 Jun 2008 14:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=loHbrpYp60Tu3gGA8AurYV7bfeb52yuOD9709uLgXQg=; b=OqEIJTWC2GYhUCviuzP6EPr3gRTXZxOzWNi2sparGNKbMDHY963YrXkTvtnUEPwTRI 1FwH920IsOzU0GfxFXvL68Vy1brmllzisrER5CX1TscIf9DXqJVXd2/uv5Tk/WIFoZzq cJ8UwL7DpiRrGwpMGIULa8P3z+wJ8oOM6NuX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Ijoa0HpU5lycmXJwFbTfsXSVBkKuZpaSA/TmdFi6h5mAvRWONBvovZ033tZX3spQfz BRr1lpZJ6XImg+5s8/fr7wKzWlVac+ybfvhpg5H8ivAiC6wF4KAG3BTNZQcNrsUXeAeQ 1swB0H+SVLyfoFj8UL9g3OdufgrPxG+Cjk9fE= Received: by 10.141.23.7 with SMTP id a7mr418688rvj.5.1213221091013; Wed, 11 Jun 2008 14:51:31 -0700 (PDT) Received: by 10.140.165.8 with HTTP; Wed, 11 Jun 2008 14:51:30 -0700 (PDT) Message-ID: <396486430806111451k6baeea7dgca1cb39eabce35e5@mail.gmail.com> Date: Wed, 11 Jun 2008 14:51:30 -0700 From: "Richard Broersma" To: "Fred Parkinson" Subject: Re: Access query as executed by postgres Cc: pgsql-odbc@postgresql.org In-Reply-To: <484FB90D020000A700007EA0@groupwise.abag.ca.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <484FB90D020000A700007EA0@groupwise.abag.ca.gov> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/21 X-Sequence-Number: 9551 On Wed, Jun 11, 2008 at 11:37 AM, Fred Parkinson wrote: > I have turned ODBC logging on but it doesn't seem to log the query sent to postgres. Here is what I like to do: log_destination = 'stderr' redirect_stderr = on log_statement = 'all' -- Regards, Richard Broersma Jr. Visit the Los Angles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug