Bug 30283 - postgresql 11.15 and 13.6
Summary: postgresql 11.15 and 13.6
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 30231
  Show dependency treegraph
 
Reported: 2022-04-13 15:35 CEST by Nicolas Salguero
Modified: 2023-10-10 09:36 CEST (History)
6 users (show)

See Also:
Source RPM: postgresql11-11.14-1.mga8.src.rpm, postgresql13-13.5-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Nicolas Salguero 2022-04-13 15:35:55 CEST
PostgreSQL has released new versions on February 10:
https://www.postgresql.org/about/news/postgresql-142-136-1210-1115-and-1020-released-2402/
Nicolas Salguero 2022-04-13 15:36:22 CEST

Source RPM: (none) => postgresql11-11.14-1.mga8.src.rpm, postgresql13-13.5-1.mga8.src.rpm
CC: (none) => nicolas.salguero

Comment 1 Nicolas Salguero 2022-04-13 15:38:14 CEST
Suggested advisory:
========================

The updated packages fix some bugs.

References:
https://www.postgresql.org/about/news/postgresql-142-136-1210-1115-and-1020-released-2402/
========================

Updated packages in core/updates_testing:
========================
lib(64)pq5.11-11.15-1.mga8
lib(64)ecpg11_6-11.15-1.mga8
postgresql11-11.15-1.mga8
postgresql11-contrib-11.15-1.mga8
postgresql11-devel-11.15-1.mga8
postgresql11-docs-11.15-1.mga8
postgresql11-pl-11.15-1.mga8
postgresql11-plperl-11.15-1.mga8
postgresql11-plpgsql-11.15-1.mga8
postgresql11-plpython3-11.15-1.mga8
postgresql11-pltcl-11.15-1.mga8
postgresql11-server-11.15-1.mga8

lib(64)pq5-13.6-1.mga8
lib(64)ecpg13_6-13.6-1.mga8
postgresql13-13.6-1.mga8
postgresql13-contrib-13.6-1.mga8
postgresql13-devel-13.6-1.mga8
postgresql13-docs-13.6-1.mga8
postgresql13-pl-13.6-1.mga8
postgresql13-plperl-13.6-1.mga8
postgresql13-plpgsql-13.6-1.mga8
postgresql13-plpython3-13.6-1.mga8
postgresql13-pltcl-13.6-1.mga8
postgresql13-server-13.6-1.mga8

from SRPMS:
postgresql11-11.15-1.mga8.src.rpm
postgresql13-13.6-1.mga8.src.rpm

Status: NEW => ASSIGNED
Assignee: bugsquad => qa-bugs

Comment 2 Herman Viaene 2022-04-16 11:57:45 CEST
MGA8-64 Plasma on Lenovo B50 in Dutch.
this laptop had already postgres13 installed, so tested the upgrade following bug 29369 Comment 4.
# systemctl  start postgresql
# systemctl -l status postgresql
● postgresql.service - PostgreSQL database server
     Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disabled)
     Active: active (running) since Sat 2022-04-16 11:29:20 CEST; 13s ago
    Process: 14592 ExecStartPre=/usr/libexec/postgresql_initdb.sh ${PGDATA} (code=exited, status=0/SUCCESS)
    Process: 14604 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=exited, status=0/SUCCESS)
   Main PID: 14606 (postgres)
      Tasks: 7 (limit: 9402)
     Memory: 60.4M
        CPU: 688ms
     CGroup: /system.slice/postgresql.service
             ├─14606 /usr/bin/postgres -D /var/lib/pgsql/data -p 5432
             ├─14608 postgres: checkpointer
             ├─14609 postgres: background writer
             ├─14610 postgres: walwriter
             ├─14611 postgres: autovacuum launcher
             ├─14612 postgres: stats collector
             └─14613 postgres: logical replication launcher

apr 16 11:29:18 mach5.hviaene.thuis systemd[1]: Starting PostgreSQL database server...
apr 16 11:29:19 mach5.hviaene.thuis pg_ctl[14606]: 2022-04-16 11:29:19.947 CEST [14606] LOG:  starting PostgreSQL 13.6 on x86_64-mageia-linux-gnu, compiled by x86_64-mageia-linux-gnu-gcc (Mageia 10.3.>
apr 16 11:29:19 mach5.hviaene.thuis pg_ctl[14606]: 2022-04-16 11:29:19.947 CEST [14606] LOG:  listening on IPv6 address "::1", port 5432
apr 16 11:29:19 mach5.hviaene.thuis pg_ctl[14606]: 2022-04-16 11:29:19.947 CEST [14606] LOG:  listening on IPv4 address "127.0.0.1", port 5432
apr 16 11:29:19 mach5.hviaene.thuis pg_ctl[14606]: 2022-04-16 11:29:19.979 CEST [14606] LOG:  listening on Unix socket "/tmp/.s.PGSQL.5432"
apr 16 11:29:20 mach5.hviaene.thuis pg_ctl[14607]: 2022-04-16 11:29:20.047 CEST [14607] LOG:  database system was shut down at 2022-04-16 11:29:18 CEST
apr 16 11:29:20 mach5.hviaene.thuis pg_ctl[14606]: 2022-04-16 11:29:20.082 CEST [14606] LOG:  database system is ready to accept connections
apr 16 11:29:20 mach5.hviaene.thuis systemd[1]: Started PostgreSQL database server.

# su - postgres
$ psql
psql (13.6)
Type "help" for help.

postgres=# CREATE DATABASE Mageia;
CREATE DATABASE
postgres=# SELECT datname FROM pg_database;
  datname  
-----------
 postgres
 mageia
 template1
 template0
(4 rows)

So far so good. I wanted to test some more database functions,using either pgadmin4 or phppgadmin. Installed those with all their dependencies,but neither of them work,they don't even start properly. This should not block this update, but I would not OKit without some further testing

CC: (none) => herman.viaene

Comment 3 Brian Rockwell 2022-04-16 15:51:59 CEST
MGA8-64, Xfce - VM

The following 16 packages are going to be installed:

- lib64ecpg11_6-11.15-1.mga8.x86_64
- lib64openssl-devel-1.1.1n-1.mga8.x86_64
- lib64pq5.11-11.15-1.mga8.x86_64
- lib64zlib-devel-1.2.12-1.1.mga8.x86_64
- lib64zlib1-1.2.12-1.1.mga8.x86_64
- multiarch-utils-1.0.14-3.mga8.noarch
- postgresql11-11.15-1.mga8.x86_64
- postgresql11-contrib-11.15-1.mga8.x86_64
- postgresql11-devel-11.15-1.mga8.x86_64
- postgresql11-docs-11.15-1.mga8.noarch
- postgresql11-pl-11.15-1.mga8.x86_64
- postgresql11-plperl-11.15-1.mga8.x86_64
- postgresql11-plpgsql-11.15-1.mga8.x86_64
- postgresql11-plpython3-11.15-1.mga8.x86_64
- postgresql11-pltcl-11.15-1.mga8.x86_64
- postgresql11-server-11.15-1.mga8.x86_64

81MB of additional disk space will be used.


--- 

after installation I go into System | Manage system services... and start postgresql.  For grins I set On Boot as well



I used 29369 Comment 4 like Herman did.  It worked without issue

[postgres@localhost ~]$ psql
psql (11.15)
Type "help" for help.

postgres=# create database Mageia
postgres-# ;
CREATE DATABASE
postgres=# select datname from pg_database
postgres-# ;
  datname  
-----------
 postgres
 mageia
 template1
 template0
(4 rows)

CC: (none) => brtians1

Comment 4 Brian Rockwell 2022-04-17 04:29:43 CEST
MGA8-64  Xfce

Installed postgresql 11.11.15.1
Installed Nextcloud 23, using apache, php, and manual nextcloud install

System is working.
Comment 5 Dave Hodgins 2022-04-17 20:49:32 CEST
pgadmin4 is broken (temp files etc. are not set up properly). phppgadmin does work.
I chose to use the update for mediawiki to also test the postgresql13 update.

Validating the update.

Whiteboard: (none) => MGA8-64-OK
CC: (none) => davidwhodgins, sysadmin-bugs
Keywords: (none) => validated_update

Dave Hodgins 2022-04-17 20:49:54 CEST

Blocks: (none) => 30231

Dave Hodgins 2022-04-17 20:59:57 CEST

Keywords: (none) => advisory

Comment 6 Brian Rockwell 2022-04-17 21:53:26 CEST
MGA8-32, Mate, VM



The following 16 packages are going to be installed:

- libecpg13_6-13.6-1.mga8.i586
- libopenssl-devel-1.1.1n-1.mga8.i586
- libpq5-13.6-1.mga8.i586
- libzlib-devel-1.2.12-1.1.mga8.i586
- libzlib1-1.2.12-1.1.mga8.i586
- multiarch-utils-1.0.14-3.mga8.noarch
- postgresql13-13.6-1.mga8.i586
- postgresql13-contrib-13.6-1.mga8.i586
- postgresql13-devel-13.6-1.mga8.i586
- postgresql13-docs-13.6-1.mga8.noarch
- postgresql13-pl-13.6-1.mga8.i586
- postgresql13-plperl-13.6-1.mga8.i586
- postgresql13-plpgsql-13.6-1.mga8.i586
- postgresql13-plpython3-13.6-1.mga8.i586
- postgresql13-pltcl-13.6-1.mga8.i586
- postgresql13-server-13.6-1.mga8.i586


-- started service 

su'd over to the postgres ID

$ psql
psql (13.6)
Type "help" for help.

postgres=# create database mageia
postgres-# ;
CREATE DATABASE


postgres=# \c mageia
You are now connected to database "mageia" as user "postgres".
mageia=#

mageia=# create table tbl1 (fname varchar(60), lname varchar(60));
CREATE TABLE
mageia=# insert into tbl1 values('first', 'last');
INSERT 0 1
mageia=# insert into tbl1 values('first #2', 'last #2');
INSERT 0 1
mageia=# create index id1 on tbl1(lname);
CREATE INDEX
mageia=# insert into tbl1 values('first #3', 'last #3');
INSERT 0 1
mageia=# select * from tbl1;
  fname   |  lname  
----------+---------
 first    | last
 first #2 | last #2
 first #3 | last #3
(3 rows)


This is working in 32bit
Comment 7 Mageia Robot 2022-04-18 09:43:06 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0051.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED

Comment 8 Gerald Boyle 2023-10-10 09:36:04 CEST Comment hidden (spam)

CC: (none) => peanutsunless


Note You need to log in before you can comment on or make changes to this bug.