Re: Additional Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X
От | Bharani SV-forum |
---|---|
Тема | Re: Additional Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X |
Дата | |
Msg-id | 101139100.4053671.1734383960480@mail.yahoo.com обсуждение исходный текст |
Ответ на | Re: Additional Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X (Adrian Klaver <adrian.klaver@aklaver.com>) |
Ответы |
Re: Additional Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X
|
Список | pgsql-general |
Team
I am getting the following error.
pg_dump: error: error reading large object 2113418:
pg_dump: error: could not open large object 3391830:
I tried to give this command DB name = abcefg
ALTER DATABASE abcefgd SET lo_compat_privileges=on;
and reran and once again , i am getting the same error
Will be pg_dump and pg_restore to restore in the new VM with new OS [OS= amazon linux 2023] and new DB bin pgsql ver 15.09.
We were told by AWS team, in the new VM tagged OS [OS= amazon linux 2023] , pgsql Ver 13.16 is not supported
I cross checked
SELECT oid, count(*) FROM pg_largeobject_metadata group by oid order by oid ;
Rows = 4260170 rows
Can you suggest
On Wednesday, December 11, 2024 at 03:57:31 PM EST, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 12/11/24 11:12, Bharani SV-forum wrote:
> Team
> As suggested from old server, post shutdown of DB, I did OS level dump
> of PG_DATA folder and had restored in the new server.
If you follow the process shown here:
https://www.postgresql.org/message-id/CAKAnmmKZdhnhdNRd3OgDyEco9OPkT%3DqA_TeWMFMRvUM9pXauKg%40mail.gmail.com
You would not have to do the below.
>
> Any idea on how to install the older binary postgres 13.18 ( OS=Amazon
> Linux 2023.6.20241121) under a dedicated folder suffixed as the
> following e.g.) /usr/pgsql1318
>
> System Admin had already installed newer version pgsql 15.08 binaries in
> the new server (OS= Amazon Linux 2023.6.20241121) in the folder "/usr/bin/"
>
> We were quoted , OS = Amazon Linux 2023.6.20241121 doesnot support
> postgres ver 15.10 (Community edition) under its AWS-EC2.
That does not reflect well on Amazon Linux, that it is missing two
critical bug releases.
> Team
> As suggested from old server, post shutdown of DB, I did OS level dump
> of PG_DATA folder and had restored in the new server.
If you follow the process shown here:
https://www.postgresql.org/message-id/CAKAnmmKZdhnhdNRd3OgDyEco9OPkT%3DqA_TeWMFMRvUM9pXauKg%40mail.gmail.com
You would not have to do the below.
>
> Any idea on how to install the older binary postgres 13.18 ( OS=Amazon
> Linux 2023.6.20241121) under a dedicated folder suffixed as the
> following e.g.) /usr/pgsql1318
>
> System Admin had already installed newer version pgsql 15.08 binaries in
> the new server (OS= Amazon Linux 2023.6.20241121) in the folder "/usr/bin/"
>
> We were quoted , OS = Amazon Linux 2023.6.20241121 doesnot support
> postgres ver 15.10 (Community edition) under its AWS-EC2.
That does not reflect well on Amazon Linux, that it is missing two
critical bug releases.
В списке pgsql-general по дате отправления: