Error installing the pgsodium version 3.0.4
vitabaks opened this issue · comments
Vitaliy Kukharik commented
Error installing the pgsodium version 3.0.4 on PostgreSQL 14
psql (14.5 (Debian 14.5-2.pgdg110+2))
Type "help" for help.
postgres=# CREATE EXTENSION pgsodium;
ERROR: relation "pgsodium.key" does not exist
LINE 1: CREATE EXTENSION pgsodium;
postgres=# select name, default_version as version, comment from pg_available_extensions where name like '%pgsodium%' order by 1;
name | version | comment
----------+---------+--------------------------------------------
pgsodium | 3.0.4 | Postgres extension for libsodium functions
(1 row)
no problem installing the extension version 3.0.2
postgres=# select * from pg_available_extension_versions where name = 'pgsodium' order by version desc;
name | version | installed | superuser | trusted | relocatable | schema | requires | comment
----------+---------+-----------+-----------+---------+-------------+--------+----------+--------------------------------------------
pgsodium | 3.0.4 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 3.0.3 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 3.0.2 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 3.0.0 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 2.0.2 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 2.0.1 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 2.0.0 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 1.2.0 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 1.1.1 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 1.1.0 | f | t | f | f | | | Postgres extension for libsodium functions
pgsodium | 1.0.0 | f | t | f | f | | | Postgres extension for libsodium functions
(11 rows)
postgres=# CREATE EXTENSION pgsodium WITH VERSION '3.0.3';
ERROR: relation "pgsodium.key" does not exist
LINE 1: CREATE EXTENSION pgsodium WITH VERSION '3.0.3';
^
postgres=# CREATE EXTENSION pgsodium WITH VERSION '3.0.2';
CREATE EXTENSION
postgres=# \dx
List of installed extensions
Name | Version | Schema | Description
----------+---------+------------+---------------------------------------------------------
pgsodium | 3.0.2 | public | Pgsodium is a modern cryptography library for Postgres.
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
(2 rows)
Vitaliy Kukharik commented
The same for PostgreSQL 15
psql (15.0 (Debian 15.0-1.pgdg110+1))
Type "help" for help.
postgres=# select name, default_version as version, comment from pg_available_extensions where name like '%pgsodium%' order by 1;
name | version | comment
----------+---------+--------------------------------------------
pgsodium | 3.0.4 | Postgres extension for libsodium functions
(1 row)
postgres=# CREATE EXTENSION pgsodium;
ERROR: relation "pgsodium.key" does not exist
LINE 1: CREATE EXTENSION pgsodium;
^
postgres=# CREATE EXTENSION pgsodium WITH VERSION '3.0.3';
ERROR: relation "pgsodium.key" does not exist
LINE 1: CREATE EXTENSION pgsodium WITH VERSION '3.0.3';
^
postgres=# CREATE EXTENSION pgsodium WITH VERSION '3.0.2';
CREATE EXTENSION
postgres=# \dx
List of installed extensions
Name | Version | Schema | Description
----------+---------+------------+---------------------------------------------------------
pgsodium | 3.0.2 | public | Pgsodium is a modern cryptography library for Postgres.
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
(2 rows)
Vitaliy Kukharik commented
fixed in version 3.0.5
psql (14.5 (Debian 14.5-2.pgdg110+2))
Type "help" for help.
postgres=# CREATE EXTENSION pgsodium;
CREATE EXTENSION
postgres=# \dx
List of installed extensions
Name | Version | Schema | Description
----------+---------+------------+---------------------------------------------------------
pgsodium | 3.0.5 | pgsodium | Pgsodium is a modern cryptography library for Postgres.
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
(2 rows)
psql (15.0 (Debian 15.0-1.pgdg110+1))
Type "help" for help.
postgres=# CREATE EXTENSION pgsodium;
CREATE EXTENSION
postgres=# \dx
List of installed extensions
Name | Version | Schema | Description
----------+---------+------------+---------------------------------------------------------
pgsodium | 3.0.5 | pgsodium | Pgsodium is a modern cryptography library for Postgres.
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
(2 rows)