Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Odbc > Re: Access quer...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 2378 of 2443
Post > Topic >>

Re: Access query as executed by postgres

by aklaver@[EMAIL PROTECTED] (Adrian Klaver) Jun 11, 2008 at 08:28 PM

-------------- Original message ----------------------
From: "Fred Parkinson" <FredP@[EMAIL PROTECTED]
>
> 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

In postgresql.conf set:
log_statement = 'all'

This will log all statements sent to the server, assuming you have logging
turned on.



--
Adrian Klaver
aklaver@[EMAIL PROTECTED]
 

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
 




 1 Posts in Topic:
Re: Access query as executed by postgres
aklaver@[EMAIL PROTECTED]  2008-06-11 20:28:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 16:07:40 CST 2008.