[pgpool-hackers: 3978] Re: Proposal: using environment variables instead of script arguments

Tatsuo Ishii ishii at sraoss.co.jp
Thu Jul 15 15:54:10 JST 2021


> Hello Tatsuo
>> Unfortunately recovery commands are executed on the PostgreSQL primary
>> node by calling pgpool_recovery extension. There's no way to pass
>> environment variables from pgpool side. So my proposal is not applied
>> to below commands.
> 
> Fair point. Then as per our other discussion, to pass PRIMARY_NODE_HOST to the recovery_1st_stage script, can we do it by passing it as an argument to the command?

Yeah, it seems it's the only way.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


More information about the pgpool-hackers mailing list