From 060e27fc93a53999d94c58170627a443f0eb8d0c Mon Sep 17 00:00:00 2001 From: Michel Pelletier Date: Wed, 14 Dec 2022 07:27:12 -0800 Subject: [PATCH] readd user_data column for bw compat with very old dumps. (#57) --- META.json | 4 ++-- pgsodium.control | 2 +- sql/pgsodium--3.1.3--3.1.4.sql | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 sql/pgsodium--3.1.3--3.1.4.sql diff --git a/META.json b/META.json index d6398ff..a926f63 100644 --- a/META.json +++ b/META.json @@ -2,7 +2,7 @@ "name": "pgsodium", "abstract": "Postgres extension for libsodium functions", "description": "pgsodium is a PostgreSQL extension that exposes modern libsodium based cryptographic functions to SQL.", - "version": "3.1.3", + "version": "3.1.4", "maintainer": [ "Michel Pelletier " ], @@ -13,7 +13,7 @@ "abstract": "Postgres extension for libsodium functions", "file": "src/pgsodium.h", "docfile": "README.md", - "version": "3.1.3" + "version": "3.1.4" } }, "prereqs": { diff --git a/pgsodium.control b/pgsodium.control index 574a3c9..78ee885 100644 --- a/pgsodium.control +++ b/pgsodium.control @@ -1,5 +1,5 @@ # pgsodium extension comment = 'Postgres extension for libsodium functions' -default_version = '3.1.3' +default_version = '3.1.4' relocatable = false schema = pgsodium diff --git a/sql/pgsodium--3.1.3--3.1.4.sql b/sql/pgsodium--3.1.3--3.1.4.sql new file mode 100644 index 0000000..d04aeff --- /dev/null +++ b/sql/pgsodium--3.1.3--3.1.4.sql @@ -0,0 +1 @@ +ALTER TABLE pgsodium.key ADD COLUMN user_data text; -- deprecated for b/w compat with <= 3.0.4