Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aOqbf-0007Ve-So for pgsql-odbc@arkaria.postgresql.org; Thu, 28 Jan 2016 17:43:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aOqbf-00056Q-Fe for pgsql-odbc@arkaria.postgresql.org; Thu, 28 Jan 2016 17:43:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aOqbe-00053a-Pl for pgsql-odbc@postgresql.org; Thu, 28 Jan 2016 17:43:42 +0000 Received: from lists.commandprompt.com ([69.168.55.30]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aOqbb-0003I3-8x for pgsql-odbc@postgresql.org; Thu, 28 Jan 2016 17:43:40 +0000 Received: from [192.168.1.5] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 99A02505; Thu, 28 Jan 2016 09:43:37 -0800 (PST) Received: from c-67-168-169-165.hsd1.wa.comcast.net ([67.168.169.165] helo=[192.168.1.5]) by assp.commandprompt.com with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.4.5); 28 Jan 2016 09:43:36 -0800 Subject: Re: PostgreSQL: Autocommit through windows odbc driver doesnt work!!! To: "Venkatesan, Sekhar" , "pgsql-odbc@postgresql.org" References: From: "Joshua D. Drake" Organization: Command Prompt, Inc. Message-ID: <56AA5348.60100@commandprompt.com> Date: Thu, 28 Jan 2016 09:43:36 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Assp-Version: 2.4.5(15162) on assp.commandprompt.com X-Assp-ID: assp.commandprompt.com m1-03017-01357 X-Assp-Session: 7F563DC86790 (mail 1) X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: pgsql-odbc@postgresql.org X-Assp-Intended-For: sekhar.venkatesan@emc.com X-Assp-Original-Subject: Re: [ODBC] PostgreSQL: Autocommit through windows odbc driver doesntwork!!! X-Assp-Client-SSL: yes X-Pg-Spam-Score: -1.9 (-) 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 On 01/28/2016 08:53 AM, Venkatesan, Sekhar wrote: > Is the above issue fixed? Also in my use-case, I want to enable > autocommit at odbc driver level but even that doesn’t work. > > The same application works in Linux OS when unix odbc driver is used. > This seems to be specific to windows driver. > > Please shed some light on this. Do ask me further question if you have any. > By default PostgreSQL "autocommits". If it isn't in your case, your driver is starting a transaction and not committing it. Sincerely, JD -- Command Prompt, Inc. http://the.postgres.company/ +1-503-667-4564 PostgreSQL Centered full stack support, consulting and development. -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc