curl --data "version=11&platform=centos-7&arch=x86_64" https://www.postgresql.org/download/linux/redhat/
Как curl-ом выбрать version, platform, arch на
var url = 'https://download.postgresql.org/pub/repos/yum/' + ver + '/' + pinfo['p'] + '-' + arch + '/pgdg-' + pinfo['f'] + shortver + '-' + ver + '-' + repodata['reporpms'][ver][plat][arch] + '.noarch.rpm';