Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id DCDA61FBF224 for ; Tue, 27 Dec 2011 06:45:28 -0400 (AST) Received: from smtp162.uni5.net ([189.38.92.162]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RfUX9-0005ls-5I for pgsql-sql@postgresql.org; Tue, 27 Dec 2011 10:45:28 +0000 Received: from smtp-gw-02.uni5.net (smtp-gw-03 [127.0.0.1]) by smtp162.uni5.net (Postfix) with ESMTP id 77F9B94CD9 for ; Tue, 27 Dec 2011 08:45:11 -0200 (BRST) Received: from [192.168.0.192] (unknown [186.213.134.94]) by smtp-gw-02.uni5.net (Postfix) with ESMTPSA id 6C8F9EC062CE for ; Tue, 27 Dec 2011 08:45:11 -0200 (BRST) Message-ID: <4EF9AFC2.3090204@sygecom.com.br> Date: Tue, 27 Dec 2011 08:45:06 -0300 From: =?ISO-8859-1?Q?Maur=EDcio_Cruz?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Call a external app on postgreSQL start-up (windows) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201112/81 X-Sequence-Number: 36142 Hi all, I need to execute some rotines on windows every time that postgreSQL is start at the server machine, I was thinking to create a PL/PGSQL to call this executable, or something like... Does any one, have done something like this ? or have any idea ? Thanks everyone!