[pgpool-general: 3633] Re: version Option
Rodrigo Ramírez Norambuena
decipher.hk at gmail.com
Fri Apr 17 04:24:12 JST 2015
On Thu, Apr 16, 2015 at 09:15:30AM +0900, Tatsuo Ishii wrote:
> >> However I a little bit worried about the backward compatibility if
> >> this should be back patched. Is there anyone who depends on the
> >> current behavior (the output goes to stderr)?
> >
> > I dont know this point. What other app could depends of this option?
>
> I wonder if some user's script might want to know pgpool version using
> pgpool --version command. For example:
>
> pgpool --version 2>/dev/stdout| awk '{print $3}'
>
> Now after the change this should be:
>
> pgpool --version | awk '{print $3}'
>
In related this i make little patch both case (stdout and stderr)
https://gitlab.com/roramirez/pgpooladmin/commit/674cabb359540bf6af04af155c99d799df62c6bd
Add feature to auto detect Pgpool version in installer of Pgpooladmin
Regards,
--
Rodrigo Ramírez Norambuena
www.rodrigoramirez.com
More information about the pgpool-general
mailing list