pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Inoue, Hiroshi <inoue@tpf.co.jp>
To: rohtodeveloper <rohtodeveloper@outlook.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: This may be a bug: odbc's function"check_client_encoding" have the same name with postgres's function.
Date: Wed, 29 Oct 2014 18:02:21 +0900
Message-ID: <5450AD1D.5060804@tpf.co.jp> (raw)
In-Reply-To: <54505FE6.4060704@tpf.co.jp>
References: <B360903EF4334A46996CD3253DAB94210103F90D@G08CNEXMBPEKD03.g08.fujitsu.local>
	<3692B3C3C5EFEF4E87878CD096A0768C194858@G08CNEXMBPEKD02.g08.fujitsu.local>
	<BAY178-W6C29D0852800F04648E1BC4970@phx.gbl>
	<CAB7nPqT68xMJW-xAVE-qEC5Tw6WjApOeWAQQcx-7g5ztw99snQ@mail.gmail.com>
	<BAY178-W2406B54411B6CBBF488D1C49F0@phx.gbl>
	<BAY178-W42F12DB78E7FD290B68B9EC49F0@phx.gbl>
	<54505FE6.4060704@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

(2014/10/29 12:32), Inoue, Hiroshi wrote:
> (2014/10/29 2:49), rohtodeveloper wrote:
>> I'm so sorry, it seems that there was something wrong with the pictures
>> in my last letter.
>> Here I send the mail again with the correct pictures:
>>
>> Thanks a lot for your answer.
>>
>> Well ,in fact, if I use the extension called odbc_fdw , the same problem
>> will happen.
>>
>> That’s because the odbc_fdw will also call the odbc driver.
>>
>> The follow pictures explain the situation.
>>
>> When use the odbc_fdw extension, the libraries are loaded in the
>> following way.
>>
>> After all the libraries are loaded, When the function
>> check_client_encoding is called , the whole postgres process will crash
>> , result in a core dumped problem.
> 
> Which check_client_encoding() call causes the crash?

Oops I missed your anothe post.
OK check_client_encoding() in the driver causes the crash.
Currently all global symbols in the driver are exported.
Exporting only ODBC APIs may solve the problem.

regards,
Hiroshi Inoue


-- 
I am using the free version of SPAMfighter.
SPAMfighter has removed 12846 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

Do you have a slow PC? Try a Free scan
http://www.spamfighter.com/SLOW-PCfighter?cid=sigen



-- 
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 (12+ messages)  latest in thread

Message-ID: <5450AD1D.5060804@tpf.co.jp>
Permalink:  ../5450AD1D.5060804@tpf.co.jp/
Also on:    postgresql.org/message-id/5450AD1D.5060804@tpf.co.jp

 · 

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: inoue@tpf.co.jp, rohtodeveloper@outlook.com, michael.paquier@gmail.com
  Subject: Re: This may be a bug: odbc's function"check_client_encoding" have the same name with postgres's function.
  In-Reply-To: <5450AD1D.5060804@tpf.co.jp>
  References: <B360903EF4334A46996CD3253DAB94210103F90D@G08CNEXMBPEKD03.g08.fujitsu.local> <3692B3C3C5EFEF4E87878CD096A0768C194858@G08CNEXMBPEKD02.g08.fujitsu.local> <BAY178-W6C29D0852800F04648E1BC4970@phx.gbl> <CAB7nPqT68xMJW-xAVE-qEC5Tw6WjApOeWAQQcx-7g5ztw99snQ@mail.gmail.com> <BAY178-W2406B54411B6CBBF488D1C49F0@phx.gbl> <BAY178-W42F12DB78E7FD290B68B9EC49F0@phx.gbl> <54505FE6.4060704@tpf.co.jp> <5450AD1D.5060804@tpf.co.jp>

* 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