pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: konstantin@kkalinin.pro
Subject: BUG #15012: psql doesn't use server's default port
Date: Mon, 15 Jan 2018 16:06:08 +0000
Message-ID: <20180115160608.3633.23069@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15012
Logged by:          Константин Калинин
Email address:      konstantin@kkalinin.pro
PostgreSQL version: 10.1
Operating system:   Xubuntu 16.04
Description:        

I had PosgreSQL 9.6 server, that ran on 5432 port and installed 10.1
simultaneously so it started to use 5433 port. 
Both were installed via apt repo http://apt.postgresql.org/pub/repos/apt/
xenial-pgdg main.
After that I've uninstalled 9.6.

Now, though `psql` says in help that it's going to connect to 5433 port by
default, it's connecting to 5432. So I have to explicitly set a `-p 5433`
option. 



view thread (2+ messages)  latest in thread

Message-ID: <20180115160608.3633.23069@wrigleys.postgresql.org>
Permalink:  ../20180115160608.3633.23069@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20180115160608.3633.23069@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, konstantin@kkalinin.pro
  Subject: Re: BUG #15012: psql doesn't use server's default port
  In-Reply-To: <20180115160608.3633.23069@wrigleys.postgresql.org>
  References: <20180115160608.3633.23069@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox