Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xoulg-0008Fj-Sb for pgsql-odbc@arkaria.postgresql.org; Thu, 13 Nov 2014 13:49:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xoulf-0007tO-Vo for pgsql-odbc@arkaria.postgresql.org; Thu, 13 Nov 2014 13:49:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xoulf-0007tH-4C for pgsql-odbc@postgresql.org; Thu, 13 Nov 2014 13:48:59 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XoulU-0000vX-Ga for pgsql-odbc@postgresql.org; Thu, 13 Nov 2014 13:48:57 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id ED228289C6; Thu, 13 Nov 2014 05:48:45 -0800 (PST) Received: from EX13-CAS-006.vmware.com (EX13-CAS-006.vmware.com [10.113.191.56]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id E8DB541312; Thu, 13 Nov 2014 05:48:45 -0800 (PST) Received: from EX13-MBX-024.vmware.com (10.113.191.44) by EX13-MBX-011.vmware.com (10.113.191.31) with Microsoft SMTP Server (TLS) id 15.0.775.38; Thu, 13 Nov 2014 05:48:40 -0800 Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.775.38; Thu, 13 Nov 2014 05:48:39 -0800 Message-ID: <5464B6B4.4040407@vmware.com> Date: Thu, 13 Nov 2014 15:48:36 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: "Prisma Computer - M. Neumann" , Subject: Re: application_name References: <54646ACF.7090408@prisma-computer.de> In-Reply-To: <54646ACF.7090408@prisma-computer.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -7.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 11/13/2014 10:24 AM, Prisma Computer - M. Neumann wrote: > Hi Luis, > > I set the application_name after the connection is established with > execute: > set application_name = 'my application name' You can also put that in the ConnSettings datasource option. That will make the driver to execute that for you, just after establishing the connection, before handing the connection to the application. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc