Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEMdB-0006DT-CD for pgsql-admin@arkaria.postgresql.org; Fri, 26 May 2017 21:18:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dEMdA-00079a-Od for pgsql-admin@arkaria.postgresql.org; Fri, 26 May 2017 21:18:44 +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_2) (envelope-from ) id 1dEMbJ-0000mP-0J for pgsql-admin@postgresql.org; Fri, 26 May 2017 21:16:49 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dEMbC-0004Ey-2s for pgsql-admin@postgresql.org; Fri, 26 May 2017 21:16:47 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 38ECE208E9; Fri, 26 May 2017 17:16:41 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Fri, 26 May 2017 17:16:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=LlD8PbCqKLKowICsi6C6eRg1DpZ+OGdANpv7bsUMvR0=; b=dR2+ggTw dcjMbbrT5y8bZKShkYFUBU7OYCnXo9meneFixtccnCOthOmkbJ+W2cR7p6EK8QKQ /TLTMYi5IEj4DhyKKn+mv3hNUYzKhjXizvPbkWHZVdvq//ZFLcBDiAwoqWH6H1ma uzBUIBQ3/+G2qNTNxj7V4tqfbvSdhBSjGY6kX1cqHmz1wjYm9tvXKl1u1TmroiDV ElgnENge60IiNnV1ZSRUCoudlJ26nETTkuo5NJGXG6VG0jgJOQ6ddDUICobCYAiZ ElQwyqNHQE/9R8wDPRKXwPXf5xmvu6X+NwWI4DbTQGTJM9bq148ZoKDfmYY15vvh nClhm1eXKDo9qg== X-ME-Sender: X-Sasl-enc: uiF3dOSHMphgS0FyHqOSYc1oblTfHFBktuvTyxwwJ/OQ 1495833400 Received: from april.local (cpe00180a4e2dfd-cm00fc8dce3020.cpe.net.cable.rogers.com [174.112.16.173]) by mail.messagingengine.com (Postfix) with ESMTPA id 7D05F247E7; Fri, 26 May 2017 17:16:40 -0400 (EDT) Subject: Re: error installing oracle_fdw extension To: Albe Laurenz , 'Sumeet Shukla *EXTERN*' , Cachique References: <27481.1495204891@sss.pgh.pa.us> Cc: Tom Lane , pgsql-admin , Julien Rouhaud From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <69e901ee-5505-fad8-6fe2-e8576939fcb8@2ndquadrant.com> Date: Fri, 26 May 2017 17:16:39 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On 5/23/17 05:04, Albe Laurenz wrote: > Sumeet Shukla wrote: >> The environment variable $LD_LIBRARY_PATH reflects if I use "/etc/init.d/postgresql-9.6 >> restart" command but it does not reflect if I use "service postgresql-9.6 restart". >> >> I find it little weird since essentially both the commands are internally calling the same >> service file. Any insight on this would be appreciated. > > From "man service": > > ENVIRONMENT > LANG, TERM > The only environment variables passed to the init scripts. Yeah, one of the main points of the service program is that it clears your environment. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin