Re: psql doesn't pass on exported shell environment functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: "'David G(dot) Johnston *EXTERN*'" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql doesn't pass on exported shell environment functions
Date: 2017-07-07 15:07:10
Message-ID: 16029.1499440030@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> writes:
> David G. Johnston wrote:
>> ​Except you haven't recreated the scenario I presented.​

> Am I missing something?

I wonder what platform David is using. This looks suspiciously like
a feature that macOS' SIP would be designed to break.

It would be interesting to capture the output of "env" in the sub-shell
to see which environment variables and functions are getting through.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2017-07-07 15:12:44 Re: psql doesn't pass on exported shell environment functions
Previous Message John McKown 2017-07-07 15:00:10 Re: Postgresql - commercial version