Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WAAGx-0000gk-Er for pgsql-odbc@arkaria.postgresql.org; Mon, 03 Feb 2014 03:32:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WAAGw-0002g7-R1 for pgsql-odbc@arkaria.postgresql.org; Mon, 03 Feb 2014 03:32:34 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WAAGu-0002fy-Un for pgsql-odbc@postgresql.org; Mon, 03 Feb 2014 03:32:33 +0000 Received: from blu0-omc4-s27.blu0.hotmail.com ([65.55.111.166]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WAAGo-00053m-2j for pgsql-odbc@postgresql.org; Mon, 03 Feb 2014 03:32:32 +0000 Received: from BLU0-SMTP34 ([65.55.111.137]) by blu0-omc4-s27.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 2 Feb 2014 19:32:24 -0800 X-TMN: [aEku0L25kGICptripnGuualB5/q0wNu0] X-Originating-Email: [edsonrichter@hotmail.com] Message-ID: Received: from [192.168.25.4] ([177.18.63.107]) by BLU0-SMTP34.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 2 Feb 2014 19:32:24 -0800 Date: Mon, 3 Feb 2014 01:32:21 -0200 From: Edson Richter Organization: Simkorp =?ISO-8859-1?Q?Inform=E1tica_Ltda?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: ODBC error "The buffer was too small for the InfoValue." Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Feb 2014 03:32:24.0717 (UTC) FILETIME=[8E05FBD0:01CF2090] X-Pg-Spam-Score: -1.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 I'm configuring a SQL Server 2K to replicate to PostgreSQL 9.2.4. - SQL Server 2K (sp4) 32bit is running Win 2K (sp4) 32bit on a VirtualBOX. ODBC PostgreSQL driver installed is latest compatible with Win2K (9.01.02.00 ANSI). ODBC version is 3.525.1117.0; - PostgreSQL 9.2.4 is running Win7 64bit on native; PostgreSQL 9.2.4 is configured as Linked Server in Sql2K. There is no firewall active in either servers. Both servers are connected in same subnet (192.168.25.x). Connections from Sql2K to PostgreSQL 9.2.4 are really slow - I don't know why. I've enabled logging so I can look into details and try to discover the slowdown reason, and found that every connection throws the following error: [524.782]CONN ERROR: func=PGAPI_GetInfo, desc='', errnum=-2, errmsg='The buffer was too small for the InfoValue.' [524.828] ------------------------------------------------------------ [524.844] henv=01653B80, conn=01653BB0, status=1, num_stmts=16 [524.860] sock=01656718, stmts=016587F8, lobj_type=-999 [524.860] ---------------- Socket Info ------------------------------- [524.907] socket=660, reverse=0, errornumber=0, errormsg='(NULL)' [524.922] buffer_in=23422952, buffer_out=23427056 [524.938] buffer_filled_in=2126, buffer_filled_out=0, buffer_read_in=2126 Why is this happening? Thanks, Edson Richter -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc