Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW5Ed-00085r-4R for pgsql-general@arkaria.postgresql.org; Mon, 01 Jan 2018 18:54:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW5Eb-0008Au-2t for pgsql-general@arkaria.postgresql.org; Mon, 01 Jan 2018 18:54:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eW5Ea-0008Al-Hj for pgsql-general@lists.postgresql.org; Mon, 01 Jan 2018 18:54:52 +0000 Received: from mail-pg0-x236.google.com ([2607:f8b0:400e:c05::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eW5EV-0007Gp-V2 for pgsql-general@lists.postgresql.org; Mon, 01 Jan 2018 18:54:50 +0000 Received: by mail-pg0-x236.google.com with SMTP id r2so8158954pgq.13 for ; Mon, 01 Jan 2018 10:54:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=illuminatedcomputing-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=sYnZaW3Wp0tVKHs9VkS+LjSHnsflLMoSnRM8fxb9ssw=; b=Fp5BKZxa7cw6OzHyPo+2H+zGkSLv7c2r/2k2wVMkwixIx3eVouhwZ2v8iXm8IP50QE nGwZUlaW50xqcitQ/N1aBrfnV4q0bn4TEAeV9eapzjiWqNR6idjfgyi6brZI5eKOYZh0 O9dqXGupfRb2nqufniOME/LI00DnuOfFeosaJGa6iv+kr2liEKDKJRYVgKheDNq9XJoq Zr5X028edTx2AuSlfR+mgW/e+fAxSC+z+iDMgOS5/TduIRmsG0WMf5zEFDQTnuMSpggt fXu+ujZ7vAnzQPwZGVfbm+C5kP6AEniV2vKJFSRWPmlrcw0R8Cr24TlOwWqKgZ9GCI1X 4CMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=sYnZaW3Wp0tVKHs9VkS+LjSHnsflLMoSnRM8fxb9ssw=; b=tPPDBPxiMPGpHI0eK56IZx3/Mi2st0duTM2LM5HhSB2FpvQIKSyQzoKnj4+Aw0pXwQ o7f8P7WMcL8oBlMJX0pIFxScHtPn1Z5JqPGT+jg5WPHi9XEBkVMCnvAbw+kXoJbUFIiS TXN7e92eY94AFd1EdV4ihTrGXsnOsyVvHzkL0PBFLx28cpvWFzG75X6Rnb/9fXb+vpaK 5aOCmRHrMQZvUozMz+rWGqom6JeIBSjhKNzvIZPghkDS6mZMwMr533L5+EfefD2yefOd +etfIGp586gcEsa3FHTyuz5lmgA0xq//GOpgWuZIq9GdTlNtxoYLz+L7L3NTZJawAXfK H4vA== X-Gm-Message-State: AKGB3mJkTMeWvUoz+qsk7iwHtEEStsAgXIVR0YLekLk0lt7Tw81Ejlxb aeI3sx4kL8wn2hgk3rwBWHZuVM9f X-Google-Smtp-Source: ACJfBos92qXzrpvuELtSVm+93qsJoAff1VJsQBXH+dB+bCPXCdnw+5VLFLIzHbgRO4gv5jW9SWW7ZQ== X-Received: by 10.98.133.65 with SMTP id u62mr42863026pfd.22.1514832885564; Mon, 01 Jan 2018 10:54:45 -0800 (PST) Received: from [192.168.2.201] (static-50-53-109-254.bvtn.or.frontiernet.net. [50.53.109.254]) by smtp.googlemail.com with ESMTPSA id e70sm60973634pfc.185.2018.01.01.10.54.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jan 2018 10:54:44 -0800 (PST) Subject: Re: Use of Port 5433 with Postgresql 9.6 To: pgsql-general@lists.postgresql.org References: From: Paul Jungwirth Message-ID: <80d21376-4f7e-ec2e-a074-cbf8e02fd497@illuminatedcomputing.com> Date: Mon, 1 Jan 2018 10:54:45 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 01/01/2018 10:40 AM, Jeff Janes wrote: > The Ubuntu packages use 5433 if you already have something (either a > different packaged version, or an unpackaged system) running on 5432. Also on Ubuntu lots of the Postgres utilities will obey an envvar like `PGCLUSTER=9.5/main` to let you choose which version of psql/pg_dump/etc. I don't know about pg_isready but it's worth a try. Even if pg_isready doesn't follow that pattern, it is probably easy to "teach" it. Here is how I did a similar thing for pg_config: https://stackoverflow.com/questions/30143046/pg-config-shows-9-4-instead-of-9-3/43403193#43403193 Yours, -- Paul ~{:-) pj@illuminatedcomputing.com