Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YlFSU-0005th-Gl for pgsql-odbc@arkaria.postgresql.org; Thu, 23 Apr 2015 11:38:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YlFST-0003hp-S5 for pgsql-odbc@arkaria.postgresql.org; Thu, 23 Apr 2015 11:38:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YlFSS-0003hi-Vs for pgsql-odbc@postgresql.org; Thu, 23 Apr 2015 11:38:17 +0000 Received: from plane.gmane.org ([80.91.229.3]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1YlFSM-0002Em-BL for pgsql-odbc@postgresql.org; Thu, 23 Apr 2015 11:38:15 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YlFSF-0002uT-DV for pgsql-odbc@postgresql.org; Thu, 23 Apr 2015 13:38:03 +0200 Received: from 217.31.70.82 ([217.31.70.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Apr 2015 13:38:03 +0200 Received: from chris by 217.31.70.82 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Apr 2015 13:38:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-odbc@postgresql.org From: Christian Ullrich Subject: Bug in execute.c Date: Thu, 23 Apr 2015 13:37:56 +0200 Lines: 16 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217.31.70.82 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 X-Pg-Spam-Score: 0.6 (/) 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 From execute.c, SC_setInsertedTable(), line 790: if (ptr = strchr(cmd + 1, '.'), NULL != ptr) len = ptr - cmd; This branch is supposed to extract an unquoted schema name from an INSERT statement. If that statement is INSERT INTO mytable VALUES (1, 1.5) , the schema name will be "mytable VALUES (1, 1", and the table name, "5)". I'm sorry I don't have a patch right now. I can come up with one, though. -- Christian -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc