pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Upgrading from 12.3 to 12.11
8+ messages / 4 participants
[nested] [flat]

* Upgrading from 12.3 to 12.11
@ 2022-08-03 17:16 zaphod61 <zaphod61@gmail.com>
  2022-08-03 17:18 ` Re: Upgrading from 12.3 to 12.11 David G. Johnston <david.g.johnston@gmail.com>
  2022-08-03 17:28 ` Re: Upgrading from 12.3 to 12.11 Christophe Pettus <xof@thebuild.com>
  2022-08-03 17:57 ` Re: Upgrading from 12.3 to 12.11 Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 3 replies; 8+ messages in thread

From: zaphod61 @ 2022-08-03 17:16 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

I've inherited a postgresql 12.3 installation. It has 1 database in it.  I need to upgrade it to the newest version, which appears to be 12.11. Can I just download the installer for 1211 and run that to upgrade the product and still maintain access to the existing connections?Sent from my Verizon, Samsung Galaxy smartphone

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrading from 12.3 to 12.11
  2022-08-03 17:16 Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
@ 2022-08-03 17:18 ` David G. Johnston <david.g.johnston@gmail.com>
  2 siblings, 0 replies; 8+ messages in thread

From: David G. Johnston @ 2022-08-03 17:18 UTC (permalink / raw)
  To: zaphod61 <zaphod61@gmail.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

On Wednesday, August 3, 2022, zaphod61 <zaphod61@gmail.com> wrote:

>
> I've inherited a postgresql 12.3 installation. It has 1 database in it.  I
> need to upgrade it to the newest version, which appears to be 12.11. Can I
> just download the installer for 12
> 11 and run that to upgrade the product and still maintain access to the
> existing connections?
>
>
https://www.postgresql.org/support/versioning/

David J.

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrading from 12.3 to 12.11
  2022-08-03 17:16 Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
@ 2022-08-03 17:28 ` Christophe Pettus <xof@thebuild.com>
  2 siblings, 0 replies; 8+ messages in thread

From: Christophe Pettus @ 2022-08-03 17:28 UTC (permalink / raw)
  To: zaphod61 <zaphod61@gmail.com>; +Cc: pgsql-general@lists.postgresql.org



> On Aug 3, 2022, at 10:16, zaphod61 <zaphod61@gmail.com> wrote:
> 
> 
> I've inherited a postgresql 12.3 installation. It has 1 database in it.  I need to upgrade it to the newest version, which appears to be 12.11. Can I just download the installer for 12
> 11 and run that to upgrade the product and still maintain access to the existing connections?

Any upgrade will require a server restart.  If it's a minor version upgrade, you just need to replace the binaries, but *always* read the upgrade notes for post-upgrade housekeeping.




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrading from 12.3 to 12.11
  2022-08-03 17:16 Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
@ 2022-08-03 17:57 ` Adrian Klaver <adrian.klaver@aklaver.com>
  2022-08-03 18:44   ` Re: Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
  2 siblings, 1 reply; 8+ messages in thread

From: Adrian Klaver @ 2022-08-03 17:57 UTC (permalink / raw)
  To: zaphod61 <zaphod61@gmail.com>; pgsql-general@lists.postgresql.org

On 8/3/22 10:16 AM, zaphod61 wrote:
> 
> I've inherited a postgresql 12.3 installation. It has 1 database in it.  
> I need to upgrade it to the newest version, which appears to be 12.11. 
> Can I just download the installer for 12
> 11 and run that to upgrade the product and still maintain access to the 
> existing connections?

What OS are you using?

How was the Postgres 12.3 instance installed?

What installer are you referring to?


12.3 -> 12.11 is a minor upgrade so you can do the update without a 
dump/restore or using pg_upgrade. That being said, at some point in the 
process the existing instance(12.3) will need to be stopped and then the 
new install for the 12.11 done and then start it. That means there will 
  be point where the connections will be lost.  How big an issue would 
that be?


> 
> 
> 
> 
> Sent from my Verizon, Samsung Galaxy smartphone
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrading from 12.3 to 12.11
  2022-08-03 17:16 Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
  2022-08-03 17:57 ` Re: Upgrading from 12.3 to 12.11 Adrian Klaver <adrian.klaver@aklaver.com>
@ 2022-08-03 18:44   ` zaphod61 <zaphod61@gmail.com>
  2022-08-03 18:51     ` Re: Upgrading from 12.3 to 12.11 Adrian Klaver <adrian.klaver@aklaver.com>
  2022-08-03 19:42     ` Re: Upgrading from 12.3 to 12.11 Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 2 replies; 8+ messages in thread

From: zaphod61 @ 2022-08-03 18:44 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general@lists.postgresql.org

The server version is 2016. The installer is the one listed on the postgresql support page.  I think version 12.3 was installed the same way but that was before I came into contact with this application Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: Adrian Klaver <adrian.klaver@aklaver.com> Date: 8/3/22  1:57 PM  (GMT-05:00) To: zaphod61 <zaphod61@gmail.com>, pgsql-general@lists.postgresql.org Subject: Re: Upgrading from 12.3 to 12.11 On 8/3/22 10:16 AM, zaphod61 wrote:> > I've inherited a postgresql 12.3 installation. It has 1 database in it.  > I need to upgrade it to the newest version, which appears to be 12.11. > Can I just download the installer for 12> 11 and run that to upgrade the product and still maintain access to the > existing connections?What OS are you using?How was the Postgres 12.3 instance installed?What installer are you referring to?12.3 -> 12.11 is a minor upgrade so you can do the update without a dump/restore or using pg_upgrade. That being said, at some point in the process the existing instance(12.3) will need to be stopped and then the new install for the 12.11 done and then start it. That means there will   be point where the connections will be lost.  How big an issue would that be?> > > > > Sent from my Verizon, Samsung Galaxy smartphone> -- Adrian Klaveradrian.klaver@aklaver.com

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrading from 12.3 to 12.11
  2022-08-03 17:16 Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
  2022-08-03 17:57 ` Re: Upgrading from 12.3 to 12.11 Adrian Klaver <adrian.klaver@aklaver.com>
  2022-08-03 18:44   ` Re: Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
@ 2022-08-03 18:51     ` Adrian Klaver <adrian.klaver@aklaver.com>
  2022-08-03 19:58       ` Re: Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
  1 sibling, 1 reply; 8+ messages in thread

From: Adrian Klaver @ 2022-08-03 18:51 UTC (permalink / raw)
  To: zaphod61 <zaphod61@gmail.com>; pgsql-general@lists.postgresql.org

On 8/3/22 11:44 AM, zaphod61 wrote:
> The server version is 2016. The installer is the one listed on the 
> postgresql support page.  I think version 12.3 was installed the same 
> way but that was before I came into contact with this application

You need to make sure, mixing installation methods can cause a mess.

Also how much downtime can you tolerate?

> 
> 
> 
> 
> 
> Sent from my Verizon, Samsung Galaxy smartphone
> 
> 
> -------- Original message --------
> From: Adrian Klaver <adrian.klaver@aklaver.com>
> Date: 8/3/22 1:57 PM (GMT-05:00)
> To: zaphod61 <zaphod61@gmail.com>, pgsql-general@lists.postgresql.org
> Subject: Re: Upgrading from 12.3 to 12.11
> 
> On 8/3/22 10:16 AM, zaphod61 wrote:
>  >
>  > I've inherited a postgresql 12.3 installation. It has 1 database in it.
>  > I need to upgrade it to the newest version, which appears to be 12.11.
>  > Can I just download the installer for 12
>  > 11 and run that to upgrade the product and still maintain access to the
>  > existing connections?
> 
> What OS are you using?
> 
> How was the Postgres 12.3 instance installed?
> 
> What installer are you referring to?
> 
> 
> 12.3 -> 12.11 is a minor upgrade so you can do the update without a
> dump/restore or using pg_upgrade. That being said, at some point in the
> process the existing instance(12.3) will need to be stopped and then the
> new install for the 12.11 done and then start it. That means there will
>    be point where the connections will be lost.  How big an issue would
> that be?
> 
> 
>  >
>  >
>  >
>  >
>  > Sent from my Verizon, Samsung Galaxy smartphone
>  >
> 
> 
> -- 
> Adrian Klaver
> adrian.klaver@aklaver.com


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrading from 12.3 to 12.11
  2022-08-03 17:16 Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
  2022-08-03 17:57 ` Re: Upgrading from 12.3 to 12.11 Adrian Klaver <adrian.klaver@aklaver.com>
  2022-08-03 18:44   ` Re: Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
  2022-08-03 18:51     ` Re: Upgrading from 12.3 to 12.11 Adrian Klaver <adrian.klaver@aklaver.com>
@ 2022-08-03 19:58       ` zaphod61 <zaphod61@gmail.com>
  0 siblings, 0 replies; 8+ messages in thread

From: zaphod61 @ 2022-08-03 19:58 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general@lists.postgresql.org

I am pretty sure it was a free version of the install, however, I will check the version tomorrow when I am back in the office.Thanks!Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: Adrian Klaver <adrian.klaver@aklaver.com> Date: 8/3/22  2:51 PM  (GMT-05:00) To: zaphod61 <zaphod61@gmail.com>, pgsql-general@lists.postgresql.org Subject: Re: Upgrading from 12.3 to 12.11 On 8/3/22 11:44 AM, zaphod61 wrote:> The server version is 2016. The installer is the one listed on the > postgresql support page.  I think version 12.3 was installed the same > way but that was before I came into contact with this applicationYou need to make sure, mixing installation methods can cause a mess.Also how much downtime can you tolerate?> > > > > > Sent from my Verizon, Samsung Galaxy smartphone> > > -------- Original message --------> From: Adrian Klaver <adrian.klaver@aklaver.com>> Date: 8/3/22 1:57 PM (GMT-05:00)> To: zaphod61 <zaphod61@gmail.com>, pgsql-general@lists.postgresql.org> Subject: Re: Upgrading from 12.3 to 12.11> > On 8/3/22 10:16 AM, zaphod61 wrote:>  >>  > I've inherited a postgresql 12.3 installation. It has 1 database in it.>  > I need to upgrade it to the newest version, which appears to be 12.11.>  > Can I just download the installer for 12>  > 11 and run that to upgrade the product and still maintain access to the>  > existing connections?> > What OS are you using?> > How was the Postgres 12.3 instance installed?> > What installer are you referring to?> > > 12.3 -> 12.11 is a minor upgrade so you can do the update without a> dump/restore or using pg_upgrade. That being said, at some point in the> process the existing instance(12.3) will need to be stopped and then the> new install for the 12.11 done and then start it. That means there will>    be point where the connections will be lost.  How big an issue would> that be?> > >  >>  >>  >>  >>  > Sent from my Verizon, Samsung Galaxy smartphone>  >> > > -- > Adrian Klaver> adrian.klaver@aklaver.com-- Adrian Klaveradrian.klaver@aklaver.com

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrading from 12.3 to 12.11
  2022-08-03 17:16 Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
  2022-08-03 17:57 ` Re: Upgrading from 12.3 to 12.11 Adrian Klaver <adrian.klaver@aklaver.com>
  2022-08-03 18:44   ` Re: Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
@ 2022-08-03 19:42     ` Adrian Klaver <adrian.klaver@aklaver.com>
  1 sibling, 0 replies; 8+ messages in thread

From: Adrian Klaver @ 2022-08-03 19:42 UTC (permalink / raw)
  To: zaphod61 <zaphod61@gmail.com>; pgsql-general@lists.postgresql.org

On 8/3/22 11:44, zaphod61 wrote:
> The server version is 2016. The installer is the one listed on the 
> postgresql support page.  I think version 12.3 was installed the same 
> way but that was before I came into contact with this application
> 

Would be helpful to do:

select version();

to get some clue  of where the install originated from.

I add this because it occurred to me that maybe it was not installed 
with this:

https://www.postgresql.org/download/windows/

https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

Instead it may be one of EDB's not free versions of Postgres. Mixing 
that up would be a mess.


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2022-08-03 19:58 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-08-03 17:16 Upgrading from 12.3 to 12.11 zaphod61 <zaphod61@gmail.com>
2022-08-03 17:18 ` David G. Johnston <david.g.johnston@gmail.com>
2022-08-03 17:28 ` Christophe Pettus <xof@thebuild.com>
2022-08-03 17:57 ` Adrian Klaver <adrian.klaver@aklaver.com>
2022-08-03 18:44   ` zaphod61 <zaphod61@gmail.com>
2022-08-03 18:51     ` Adrian Klaver <adrian.klaver@aklaver.com>
2022-08-03 19:58       ` zaphod61 <zaphod61@gmail.com>
2022-08-03 19:42     ` Adrian Klaver <adrian.klaver@aklaver.com>

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