From: Michael Glaesemann <grzm@seespotcode.net>
To: Rommel the iCeMAn <icecrew@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Error: Input string was not in a correct format
Date: Mon, 7 May 2007 18:46:07 -0500
Message-ID: <0CAAE637-6249-47E9-AB46-11DB650E0902@seespotcode.net> (raw)
In-Reply-To: <000301c790fd$dd095350$b364a8c0@theport.com>
References: <000301c790fd$dd095350$b364a8c0@theport.com>
On May 7, 2007, at 18:17 , Rommel the iCeMAn wrote:
> Is there a way that I can see
> the actual SQL query that is being sent to postgresql?
From within PostgreSQL you can put the SQL queries in the logs.
http://www.postgresql.org/docs/8.2/interactive/runtime-config-
logging.html#RUNTIME-CONFIG-LOGGING-WHAT
Check out the log_statement paramenter (and possibly others).
You might also have some logging options within .NET, but as I'm
unfamiliar with the framework, I really can't help you there.
Michael Glaesemann
grzm seespotcode net
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: grzm@seespotcode.net, icecrew@gmail.com
Subject: Re: Error: Input string was not in a correct format
In-Reply-To: <0CAAE637-6249-47E9-AB46-11DB650E0902@seespotcode.net>
* 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