Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id ED4A4B5DF20 for ; Wed, 8 Jun 2011 14:04:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 23769-04 for ; Wed, 8 Jun 2011 17:04:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from pp-ag1.abag.ca.gov (pp-ag1.abag.ca.gov [198.31.87.11]) by mail.postgresql.org (Postfix) with ESMTP id D3714B5DF13 for ; Wed, 8 Jun 2011 14:04:29 -0300 (ADT) Received: from pps.filterd (pp-ag1 [127.0.0.1]) by pp-ag1.abag.ca.gov (8.14.4/8.14.4) with SMTP id p58GsOnr020282 for ; Wed, 8 Jun 2011 10:04:28 -0700 Received: from gwia1.abag.ca.gov ([172.16.1.27]) by pp-ag1.abag.ca.gov with ESMTP id wtbm7r14u-1 for ; Wed, 08 Jun 2011 10:04:28 -0700 Received: from d02-MTA by gwia1.abag.ca.gov with Novell_GroupWise; Wed, 08 Jun 2011 10:04:27 -0700 Message-Id: <4DEF492A020000A700017B55@gwia1.abag.ca.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Wed, 08 Jun 2011 10:04:26 -0700 From: "Fred Parkinson" To: Subject: Re: Logging attempt to connect with odbc Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__PartEBC7448A.0__=" X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813, 1.0.148, 0.0.0000 definitions=2011-06-08_07:2011-06-08, 2011-06-08, 1970-01-01 signatures=0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201106/7 X-Sequence-Number: 10665 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartEBC7448A.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I am using: postgres odbc version: 7.03.02.00 (been using this successfully for about = 10 years) server version 8.1.22 running on a (virtualized) Suse Linux 10.1 instance =20 Digging into the results of a search on 'log files' I figured out where = they are and how to configure server log output (mostly), but cannot = interpret the results =20 (new) postgresql.conf settings: log_error_verbosity =3D verbose log_connections =3D on log_line_prefix =3D '%t %d %u %r' log_min_error_statement =3D info log_min_duration_statement =3D 0 =20 Log results of trying to establish an odbc connection from a windos = machine: 2011-06-08 07:49:01 PDT [unknown] [unknown] LOG: 00000: connection = received: host=3D172.16.2.42 port=3D3534 (172.16.2.42 is my windows = intranet ip address) 2011-06-08 07:49:01 PDT [unknown] [unknown] LOCATION: BackendRun, = postmaster.c:2712 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:= 00000: connection authorized: user=3Dpostgres database=3Dtimecard_develop= ment 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCA= TION: BackendRun, postmaster.c:2782 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:= 00000: duration: 0.162 ms statement: =20 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCA= TION: exec_simple_query, postgres.c:1105 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:= 00000: duration: 0.689 ms statement: select version() 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCA= TION: exec_simple_query, postgres.c:1105 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:= 00000: duration: 0.139 ms statement: set DateStyle to 'ISO' 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCA= TION: exec_simple_query, postgres.c:1105 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:= 00000: duration: 0.028 ms statement: set geqo to 'OFF' 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCA= TION: exec_simple_query, postgres.c:1105 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:= 00000: duration: 0.058 ms statement: set extra_float_digits to 2 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCA= TION: exec_simple_query, postgres.c:1105 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:= 00000: duration: 1.584 ms statement: select oid from pg_type where = typname=3D'lo' 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCA= TION: exec_simple_query, postgres.c:1105 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:= 00000: duration: 0.130 ms statement: select pg_client_encoding() 2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCA= TION: exec_simple_query, postgres.c:1105=20 that's it. that's all I get before Windows reports that "a connection = could not be made (with) ... the connection parameters..." Perhaps there is another configuration parameter I can set to get more = information, or set the ones described above to something else? Or perhaps the information I need is here but I can't interpret it? All help is greatly appreciated. Fred =20 =20 >>> Craig Ringer 06/07/2011 9:57 PM >>> Please read: http://wiki.postgresql.org/wiki/Guide_to_reporting_problems and try again. Insufficient information. --=20 Craig Ringer Tech-related writing at http://soapyfrogs.blogspot.com/ --=20 Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc --=__PartEBC7448A.0__= Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Description: HTML I am using:
postgres odbc version: 7.03.02.00 (been using this successfully for = about 10 years)
server version 8.1.22
running on a (virtualized) Suse Linux 10.1 instance
 
Digging into the results of a search on 'log files' I figured out = where they are and how to configure server log output (mostly), but cannot = interpret the results
 
(new) postgresql.conf settings:
log_error_verbosity =3D verbose
log_connections =3D on
log_line_prefix =3D '%t %d %u %r'
log_min_error_statement =3D info
log_min_duration_statement =3D 0
 
Log results of trying to establish an odbc connection from a windos = machine:
2011-06-08 07:49:01 PDT [unknown] [unknown] LOG:  = 00000: connection received: host=3D172.16.2.42 port=3D3534  (172.16.2.= 42 is my windows intranet ip address)
2011-06-08 07:49:01 PDT [unknown] = [unknown] LOCATION:  BackendRun, postmaster.c:2712
2011-06-08 = 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:  = 00000: connection authorized: user=3Dpostgres database=3Dtimecard_developme= nt
2011-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(353= 4)LOCATION:  BackendRun, postmaster.c:2782
2011-06-08 07:49:01 PDT = timecard_development postgres 172.16.2.42(3534)LOG:  00000: duration: = 0.162 ms  statement:  
2011-06-08 07:49:01 PDT timecard_develo= pment postgres 172.16.2.42(3534)LOCATION:  exec_simple_query, = postgres.c:1105
2011-06-08 07:49:01 PDT timecard_development postgres = 172.16.2.42(3534)LOG:  00000: duration: 0.689 ms  statement: = select version()
2011-06-08 07:49:01 PDT timecard_development postgres = 172.16.2.42(3534)LOCATION:  exec_simple_query, postgres.c:1105
2011= -06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOG:&nbs= p; 00000: duration: 0.139 ms  statement: set DateStyle to 'ISO'
201= 1-06-08 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCATIO= N:  exec_simple_query, postgres.c:1105
2011-06-08 07:49:01 PDT = timecard_development postgres 172.16.2.42(3534)LOG:  00000: duration: = 0.028 ms  statement: set geqo to 'OFF'
2011-06-08 07:49:01 PDT = timecard_development postgres 172.16.2.42(3534)LOCATION:  exec_simple_= query, postgres.c:1105
2011-06-08 07:49:01 PDT timecard_development = postgres 172.16.2.42(3534)LOG:  00000: duration: 0.058 ms  = statement: set extra_float_digits to 2
2011-06-08 07:49:01 PDT = timecard_development postgres 172.16.2.42(3534)LOCATION:  exec_simple_= query, postgres.c:1105
2011-06-08 07:49:01 PDT timecard_development = postgres 172.16.2.42(3534)LOG:  00000: duration: 1.584 ms  = statement: select oid from pg_type where typname=3D'lo'
2011-06-08 = 07:49:01 PDT timecard_development postgres 172.16.2.42(3534)LOCATION: = exec_simple_query, postgres.c:1105
2011-06-08 07:49:01 PDT timecard_dev= elopment postgres 172.16.2.42(3534)LOG:  00000: duration: 0.130 = ms  statement: select pg_client_encoding()
2011-06-08 07:49:01 PDT = timecard_development postgres 172.16.2.42(3534)LOCATION:  exec_simple_= query, postgres.c:1105
 
 that's it. that's all I get before Windows reports that "a = connection could not be made (with) ... the connection parameters..."
Pe= rhaps there is another configuration parameter I can set to get more = information, or set the ones described above to something else?
Or perhaps the information I need is here but I can't interpret it?

=
 All help is greatly appreciated.

Fred
 
 

>>> Craig Ringer <craig@postnewspapers.com.au> = 06/07/2011 9:57 PM >>>
Please read: http://wiki.postgresql.org/wik= i/Guide_to_reporting_problems
and try again. Insufficient informatio= n.

--
Craig Ringer

Tech-related writing at http://soapyfrogs.blogspot.com/

--=
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To = make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
<= /div> --=__PartEBC7448A.0__=--