Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XjP9F-0000y8-W2 for pgsql-odbc@arkaria.postgresql.org; Wed, 29 Oct 2014 09:02:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XjP9F-00071c-Fs for pgsql-odbc@arkaria.postgresql.org; Wed, 29 Oct 2014 09:02:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XjP9E-0006zT-4U for pgsql-odbc@postgresql.org; Wed, 29 Oct 2014 09:02:32 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by magus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XjP95-00017n-M1 for pgsql-odbc@postgresql.org; Wed, 29 Oct 2014 09:02:30 +0000 Received: (qmail 28988 invoked by uid 502); 29 Oct 2014 09:02:21 -0000 Received: from unknown (HELO ?127.0.0.1?) (100.126.1.62) by sd2.tpf-fw-c.co.jp with SMTP; 29 Oct 2014 09:02:21 -0000 Message-ID: <5450AD1D.5060804@tpf.co.jp> Date: Wed, 29 Oct 2014 18:02:21 +0900 From: "Inoue, Hiroshi" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: rohtodeveloper CC: Michael Paquier , "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. References: , <3692B3C3C5EFEF4E87878CD096A0768C194858@G08CNEXMBPEKD02.g08.fujitsu.local>, , , <54505FE6.4060704@tpf.co.jp> In-Reply-To: <54505FE6.4060704@tpf.co.jp> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.5 (--) 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 (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