pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Albe Laurenz <laurenz.albe@wien.gv.at>
To: Sumeet Shukla *EXTERN* <sumeet.k.shukla@gmail.com>
To: Cachique <cachique@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Cc: Julien Rouhaud <julien.rouhaud@dalibo.com>
Subject: Re: error installing oracle_fdw extension
Date: Fri, 26 May 2017 17:16:39 -0400
Message-ID: <69e901ee-5505-fad8-6fe2-e8576939fcb8@2ndquadrant.com> (raw)
In-Reply-To: <A737B7A37273E048B164557ADEF4A58B53A4E1CE@ntex2010i.host.magwien.gv.at>
References: <CABUL13566aY6zB_sCSztHCRmaHaVQu8-Wz_VqdktkHegkaC=Mg@mail.gmail.com>
	<27481.1495204891@sss.pgh.pa.us>
	<a78d3ee9-ca5f-f146-7183-0a2ed1896270@2ndquadrant.com>
	<CABUL136eQbGZXM2RP3Q4jMxo_FCqTeQDeEWc6PuWibkMJGeQkA@mail.gmail.com>
	<a63ece6e-a225-ba42-b580-1c068b3a8fe3@dalibo.com>
	<CABUL136WWygdaq_+sdufa-1NJOF_OGZCisvK3heNY1x-T6r2ew@mail.gmail.com>
	<A737B7A37273E048B164557ADEF4A58B53A4D8A3@ntex2010i.host.magwien.gv.at>
	<CABUL135U-XUCR0dbykN453sHoDsXhiMrqDNf6xEPBcoNnNMFSg@mail.gmail.com>
	<A737B7A37273E048B164557ADEF4A58B53A4DD4A@ntex2010i.host.magwien.gv.at>
	<CAEfeRhV1906amw-yuDcC-eZRkhzg93OsXY+Eqv5zT-FFopRR7A@mail.gmail.com>
	<CABUL135s9hOAFN+54KaWe7qYAcS+F2fA1-YbCy-pkaA5e62c5Q@mail.gmail.com>
	<A737B7A37273E048B164557ADEF4A58B53A4E1CE@ntex2010i.host.magwien.gv.at>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

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



view thread (13+ messages)

Message-ID: <69e901ee-5505-fad8-6fe2-e8576939fcb8@2ndquadrant.com>
Permalink:  ../69e901ee-5505-fad8-6fe2-e8576939fcb8@2ndquadrant.com/
Also on:    postgresql.org/message-id/69e901ee-5505-fad8-6fe2-e8576939fcb8@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, laurenz.albe@wien.gv.at, sumeet.k.shukla@gmail.com, cachique@gmail.com, tgl@sss.pgh.pa.us, julien.rouhaud@dalibo.com
  Subject: Re: error installing oracle_fdw extension
  In-Reply-To: <69e901ee-5505-fad8-6fe2-e8576939fcb8@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox