2011/2/5 ராஜ பாண்டி <[email protected]>

> Hi friends,
>
>    I want to get the version number of postgresql installed in a system.
> "psql --version" serves the purpose, but it prints the version number with
> some text information also. I want only the version number. Is there any
> way
> to get only the version number or i have to process the "psql --version"
> output ?
>

Depending on the use case, processing the package version information might
be easier.   RPM or any mainstream package manager would have options to
return the version information and only that.

Rahul
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to