pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Daniil Megrabyan <danil.megrabjan@gmail.com>
Cc: pgsql-odbc <pgsql-odbc@postgresql.org>
Subject: Re: [HY000] no error information; Error while preparing parameters
Date: Tue, 7 Feb 2017 07:52:26 -0800
Message-ID: <c554a0f1-4666-0eef-c022-eb231b62d8e7@aklaver.com> (raw)
In-Reply-To: <B0FD1121-5389-4AA1-B850-0BAE2ED021C8@gmail.com>
References: <AA343437-E0AD-4939-9B7E-C539E8AA392D@gmail.com>
	<FBB46514-C539-4929-8FB1-B75E2E895FF7@gmail.com>
	<a0be924d-03f2-267e-b83e-505ca95f531f@dream.email.ne.jp>
	<73DCCC79-F070-4E60-BFE9-C8E700850986@gmail.com>
	<bea7518f-ef0e-b385-e6f1-fdf7bfc531e2@dream.email.ne.jp>
	<2D1939A7-F3E8-4936-B94E-094B9B455E11@gmail.com>
	<f657925b-9a5c-7aee-3cfd-f59496b555ad@dream.email.ne.jp>
	<967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com>
	<52da143b-49ee-bf17-61db-f75fad365dd3@dream.email.ne.jp>
	<66CB48EB-4358-46FF-8E0C-2448519E11E4@gmail.com>
	<dcaf2976-5309-cc00-991d-a83c62cf7833@dream.email.ne.jp>
	<7b18ca09-43ff-d3a4-dbaf-b3a974b84f1d@dream.email.ne.jp>
	<00e180dc-bef6-ffad-7486-1b16bdb167b1@aklaver.com>
	<959A13E2-FB1C-41D6-A07D-BD52F694FE03@gmail.com>
	<57f9b541-ad4f-d9a1-f499-c194d889d432@aklaver.com>
	<E67A5027-68C4-46BA-932A-C2DD0E8672F4@gmail.com>
	<9d708bb7-99fd-b182-2869-6c694b1fbcbf@aklaver.com>
	<B0FD1121-5389-4AA1-B850-0BAE2ED021C8@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 02/06/2017 11:14 PM, Daniil Megrabyan wrote:

Please reply to the list also.
Ccing list
>
>> 6 февр. 2017 г., в 23:57, Adrian Klaver <adrian.klaver@aklaver.com> написал(а):

>> These are Postgres versions. What I am talking about is the libpq library that psqlodbc uses to communicate with Postgres.
>>
>> Should have asked earlier, how did you install psqlodbc?
>>
>> Find the psqlodbc file, on my machine(openSUSE 42.2 psqlodbc built from source) it is:
>>
>> /usr/local/lib64/psqlodbcw.so
>>
>> From this post:
>>
>> http://dba.stackexchange.com/questions/120309/psql-invalid-client-encoding-error-on-os-x-postgresql-...
>>
>> on OS X you would need to do:
>>
>> otool -L /path/to/psqlodbcw
>>
>> This should show what libpq it is using.
>

miniBagroff:psqlodbc-09.06.0100 danilabagroff$ otool -L 
/usr/local/lib/psqlodbcw.so
/usr/local/lib/psqlodbcw.so:
	/usr/local/opt/postgresql/lib/libpq.5.dylib (compatibility version 
5.0.0, current version 5.8.0)
  	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1238.0.0)
  	/usr/local/opt/unixodbc/lib/libodbcinst.2.dylib (compatibility 
version 3.0.0, current version 3.0.0)

> — Daniil A Megrabyan —
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


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



view thread (20+ messages)  latest in thread

Message-ID: <c554a0f1-4666-0eef-c022-eb231b62d8e7@aklaver.com>
Permalink:  ../c554a0f1-4666-0eef-c022-eb231b62d8e7@aklaver.com/
Also on:    postgresql.org/message-id/c554a0f1-4666-0eef-c022-eb231b62d8e7@aklaver.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: adrian.klaver@aklaver.com, danil.megrabjan@gmail.com
  Subject: Re: [HY000] no error information; Error while preparing parameters
  In-Reply-To: <c554a0f1-4666-0eef-c022-eb231b62d8e7@aklaver.com>
  References: <AA343437-E0AD-4939-9B7E-C539E8AA392D@gmail.com> <FBB46514-C539-4929-8FB1-B75E2E895FF7@gmail.com> <a0be924d-03f2-267e-b83e-505ca95f531f@dream.email.ne.jp> <73DCCC79-F070-4E60-BFE9-C8E700850986@gmail.com> <bea7518f-ef0e-b385-e6f1-fdf7bfc531e2@dream.email.ne.jp> <2D1939A7-F3E8-4936-B94E-094B9B455E11@gmail.com> <f657925b-9a5c-7aee-3cfd-f59496b555ad@dream.email.ne.jp> <967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com> <52da143b-49ee-bf17-61db-f75fad365dd3@dream.email.ne.jp> <66CB48EB-4358-46FF-8E0C-2448519E11E4@gmail.com> <dcaf2976-5309-cc00-991d-a83c62cf7833@dream.email.ne.jp> <7b18ca09-43ff-d3a4-dbaf-b3a974b84f1d@dream.email.ne.jp> <00e180dc-bef6-ffad-7486-1b16bdb167b1@aklaver.com> <959A13E2-FB1C-41D6-A07D-BD52F694FE03@gmail.com> <57f9b541-ad4f-d9a1-f499-c194d889d432@aklaver.com> <E67A5027-68C4-46BA-932A-C2DD0E8672F4@gmail.com> <9d708bb7-99fd-b182-2869-6c694b1fbcbf@aklaver.com> <B0FD1121-5389-4AA1-B850-0BAE2ED021C8@gmail.com> <c554a0f1-4666-0eef-c022-eb231b62d8e7@aklaver.com>

* 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