Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZv8k-0003al-Cd for pgsql-odbc@arkaria.postgresql.org; Sat, 04 Feb 2017 07:52:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cZv8j-0005lJ-8C for pgsql-odbc@arkaria.postgresql.org; Sat, 04 Feb 2017 07:52:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cZv8N-0005Mx-1K for pgsql-odbc@postgresql.org; Sat, 04 Feb 2017 07:51:47 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cZv8K-0004vS-1J for pgsql-odbc@postgresql.org; Sat, 04 Feb 2017 07:51:46 +0000 Received: by mail-wm0-x235.google.com with SMTP id c85so62537145wmi.1 for ; Fri, 03 Feb 2017 23:51:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=sBz2QTt/1YUyTB5OODaR2NeWuyBq+WM+u/Dcw3EUK+o=; b=ihfIIE9wB1DTW9hTVlLqMD8as08lM5CCYsezJf5CJIeoTmxt1ONEDO5S3oNu5fIQGk 28GLdEcx4kURcugHvqjoAkRLv/Yw2eBKoHQu4SC50A7OXTj7k+DpiGhXuz831staM2vS 2t83Jwq+rGhRZfPEm2SsY25baL/42a4xY9ETXx+0UgZlAW0OnT6ggMxBbM8PtE8tvvzk inyQZGs32jaoIMCf1yrRiHOC3LNV92k20bPUCdX9khYuOD+3TwxIj9UOOiiw+Lrv9PeC VoKeWtXDcv9kOgtpvm4sf8B010cJe/lTKFbpivGPU0nsGhktgGDIcI0MKs8VogAAunS4 qYoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=sBz2QTt/1YUyTB5OODaR2NeWuyBq+WM+u/Dcw3EUK+o=; b=t4bwTbaV7/Ol/yHNm9rVCJxJ5smw0dovq07a8885M8bsl+bItV/zEaqFDnXM+CzOo3 +BRY7OTWIGAmoxXBOtUkHeUmRjnm3VquqZyiD5zFk6CoWDRqxkqGhKhSw7CL/KlGgHt8 yn+z3B+e/evwHPoWVvbiiHQlo3vxF6rm9jr/5oWZe3vqlttcbyQGP3RudjR5p5MEYinG s98QVIHIRXX5S5s+4s81zGjnS93fPXVFbocVwpNTYgW+F393qQ6xNnA8vxSjCp1M54ZT tcX4U80/zoiqExPtxf3D/TZbLI1r5Te+xG3YjhM8agwOUMv2+xf0scNDilqbHEBpqWFo cgNw== X-Gm-Message-State: AIkVDXKSIGjEyMFjDYIvJ4YBg8glzOYz9FsxwMfEuxjPmbiyokpsLNDHNIw+genEDR63PA== X-Received: by 10.223.139.142 with SMTP id o14mr955007wra.6.1486194702147; Fri, 03 Feb 2017 23:51:42 -0800 (PST) Received: from minibagroff.mega ([88.201.150.44]) by smtp.gmail.com with ESMTPSA id e72sm1325496wma.16.2017.02.03.23.51.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2017 23:51:41 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: MyLog and CommLog options From: Daniil Megrabyan In-Reply-To: Date: Sat, 4 Feb 2017 10:51:40 +0300 Cc: pgsql-odbc@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <7C1F2298-B33F-4083-86D7-9F0F57AB1C04@gmail.com> References: <6CCB1DAA-442A-4DA5-B8D7-739CB7B24734@gmail.com> <9FDECBB3-18DD-44C0-BA1D-6191EA5F9855@gmail.com> To: "Inoue, Hiroshi" X-Mailer: Apple Mail (2.3259) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org > 4 =D1=84=D0=B5=D0=B2=D1=80. 2017 =D0=B3., =D0=B2 10:45, Inoue, Hiroshi =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0= ): >=20 > Hmm, odbc.ini exists for datasource description whereas odbcinst.ini exis= ts for driver description. > How do you call ODBC, via DSN or DSNless? I=E2=80=99m trying both. The latest attempt: miniBagroff:odbc danilabagroff$ cat /usr/local/etc/odbc.ini=20 [pg_abra1] Driver =3D PostgreSQL Host =3D localhost Port =3D 5432 Protocol =3D 6.4 FetchBufferSize =3D 99 Database =3D abra1 ReadOnly =3D no MyLog =3D /tmp/mylog2.log miniBagroff:odbc danilabagroff$ cat /usr/local/etc/odbcinst.ini=20 [ODBC] Trace =3D Yes TraceFile =3D /usr/local/var/log/odbc/trace.log [ODBC Drivers] PostgreSQL =3D Installed [PostgreSQL] Description =3D PostgreSQL ODBC Driver Driver =3D /usr/local/lib/psqlodbcw.so Setup =3D /usr/local/lib/psqlodbcw.so Protocol =3D 6.4 FetchBufferSize =3D 99 ReadOnly =3D no MyLog =3D /tmp/mylog1.log miniBagroff:odbc danilabagroff$ isql pg_abra1 abra cadabra -v +---------------------------------------+ | Connected! | | | | sql-statement | | help [tablename] | | quit | | | +---------------------------------------+ SQL> SELECT 1; +------------+ | ?column? | +------------+ | 1 | +------------+ SQLRowCount returns 1 1 rows fetched SQL> quit miniBagroff:odbc danilabagroff$ ls /tmp/mylog* ls: /tmp/mylog*: No such file or directory =E2=80=94 Daniil A Megrabyan =E2=80=94 --=20 Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc