pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: developer rohto <rohtodeveloper@outlook.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Inoue, Hiroshi <inoue@tpf.co.jp>
Cc: PostgreSQL mailing lists <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: Tue, 25 Nov 2014 15:19:46 +0000
Message-ID: <BAY178-W1994AB978B10070DAF58CCC4730@phx.gbl> (raw)
In-Reply-To: <BAY178-W41F4F694CDFA830C1E95F9C48F0@phx.gbl>
References: <BAY403-EAS95B4187E040CB0AF9E6AC7C4990@phx.gbl>
	<CAB7nPqRt_zQNbXQVCkVK66m_e_MdCK3VaRoh3itG_8suMO7vbw@mail.gmail.com>
	<BAY178-W41F4F694CDFA830C1E95F9C48F0@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Dear Michael, Inoue
Thanks very much.Postgres process still crash  after solution2(symbols_conflict.patch) applied. So the other solution(solution1(20141029_pgodbc_rename_check_encoding.patch)) was perfered.Right?
regards,developer rohto
From: rohtodeveloper@outlook.com
To: michael.paquier@gmail.com
CC: inoue@tpf.co.jp; pgsql-odbc@postgresql.org
Subject: RE: [ODBC] This may be a bug: odbc's function"check_client_encoding" have the same name with postgres's function.
Date: Thu, 13 Nov 2014 07:09:50 +0000




I think the solution2(symbols_conflict.patch) may not be able to solve the problem。 The solution2 is trying to make the odbc’s check_client_encoding() function into a local function. However, the postgres's check_client_encoding() function is still a global function. When the odbc driver is trying to call the check_client_encoding() function, while the postgres's check_client_encoding() function is still being exposed , the postgres's check_client_encoding() may still have a chance to be called by the odbc driver ,and cause the postgres process to crash.
Date: Mon, 3 Nov 2014 15:52:06 +0900
Subject: Re: Re: [ODBC] This may be a bug: odbc's function"check_client_encoding" have the same name with postgres's function.
From: michael.paquier@gmail.com
To: rohtodeveloper@outlook.com
CC: inoue@tpf.co.jp; pgsql-odbc@postgresql.org



On Mon, Nov 3, 2014 at 3:26 PM, developer rohto <rohtodeveloper@outlook.com> wrote:
Thanks very much.

We decide to use your solution1(20141029_pgodbc_rename_check_encoding.patch).

On the other hand, by the way, which solution does the community prefer to choose?
The potential solution by Inoue-san to reduce dependencies between library objects is better.
-- 
Michael

 		 	   		   		 	   		  

view thread (12+ messages)

Message-ID: <BAY178-W1994AB978B10070DAF58CCC4730@phx.gbl>
Permalink:  ../BAY178-W1994AB978B10070DAF58CCC4730@phx.gbl/
Also on:    postgresql.org/message-id/BAY178-W1994AB978B10070DAF58CCC4730@phx.gbl

 · 

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: rohtodeveloper@outlook.com, michael.paquier@gmail.com, inoue@tpf.co.jp
  Subject: Re: This may be a bug: odbc's function"check_client_encoding" have the same name with postgres's function.
  In-Reply-To: <BAY178-W1994AB978B10070DAF58CCC4730@phx.gbl>
  References: <BAY403-EAS95B4187E040CB0AF9E6AC7C4990@phx.gbl> <CAB7nPqRt_zQNbXQVCkVK66m_e_MdCK3VaRoh3itG_8suMO7vbw@mail.gmail.com> <BAY178-W41F4F694CDFA830C1E95F9C48F0@phx.gbl> <BAY178-W1994AB978B10070DAF58CCC4730@phx.gbl>

* 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