pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Tory M Blue <tmblue@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Odd postgres12 upgrade is changing or munging a password?
Date: Fri, 8 May 2020 12:16:18 -0700
Message-ID: <e3c46a33-67e9-1083-4706-e95a77c46079@aklaver.com> (raw)
In-Reply-To: <CAEaSS0b4TK65g-fu0nSJJQ_TLgX8ndnYJ_qiE0BCZzKzmTLX1w@mail.gmail.com>
References: <CAEaSS0a=qz77XSHU8mLcBZQtSFQUM=_nxWGRAx7-Ms_KbmbW5w@mail.gmail.com>
	<5d613e2e1b81500a868ceaa796fb901151b9cb15.camel@cybertec.at>
	<CAEaSS0b4TK65g-fu0nSJJQ_TLgX8ndnYJ_qiE0BCZzKzmTLX1w@mail.gmail.com>

On 5/8/20 12:11 PM, Tory M Blue wrote:
> 
> 
> On Thu, May 7, 2020 at 11:41 PM Laurenz Albe <laurenz.albe@cybertec.at 
> <mailto:laurenz.albe@cybertec.at>> wrote:
> 
>     On Thu, 2020-05-07 at 11:55 -0700, Tory M Blue wrote:
>      > Going from 9.5 to 12 and 2 times now, I've had a password either
>     go missing or munged.
>      > I've had to add an alter statement at the end of the upgrade.
>      >
>      > The DB is functioning fine, shut it down, do the upgrade and the
>     password is munged.
>      > Seems like an odd occurrence, we have not noted any other weird
>     issues.
>      >
>      > Anyone else see or hear of this?
> 
>     The only explanation I can come up with is that
>     "password_encryption" is set to
>     "scram-sha-256" on the v12 server.
> 
>     Yours,
>     Laurenz Albe
>     -- 
>     Cybertec | https://www.cybertec-postgresql.com
> 
> 
> If that was the case, wouldn't it change the others as well? Why a 
> single password.

I would first confirm what password_encryption in postgresql.conf is set 
to. By default it is set to 'md5'.

> 
> Super strange indeed :)
> 
> Tory


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (11+ messages)  latest in thread

Message-ID: <e3c46a33-67e9-1083-4706-e95a77c46079@aklaver.com>
Permalink:  ../e3c46a33-67e9-1083-4706-e95a77c46079@aklaver.com/
Also on:    postgresql.org/message-id/e3c46a33-67e9-1083-4706-e95a77c46079@aklaver.com

 · 

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, tmblue@gmail.com, laurenz.albe@cybertec.at
  Subject: Re: Odd postgres12 upgrade is changing or munging a password?
  In-Reply-To: <e3c46a33-67e9-1083-4706-e95a77c46079@aklaver.com>
  References: <CAEaSS0a=qz77XSHU8mLcBZQtSFQUM=_nxWGRAx7-Ms_KbmbW5w@mail.gmail.com> <5d613e2e1b81500a868ceaa796fb901151b9cb15.camel@cybertec.at> <CAEaSS0b4TK65g-fu0nSJJQ_TLgX8ndnYJ_qiE0BCZzKzmTLX1w@mail.gmail.com> <e3c46a33-67e9-1083-4706-e95a77c46079@aklaver.com>

* 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