Skip to content

Commit b506c41

Browse files
committed
3.0.3 release dropping unnecessary uuid dependency.
1 parent 31b518b commit b506c41

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

META.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pgsodium",
33
"abstract": "Postgres extension for libsodium functions",
44
"description": "pgsodium is a PostgreSQL extension that exposes modern libsodium based cryptographic functions to SQL.",
5-
"version": "3.0.2",
5+
"version": "3.0.3",
66
"maintainer": [
77
"Michel Pelletier <pelletier.michel@gmail.com>"
88
],
@@ -13,7 +13,7 @@
1313
"abstract": "Postgres extension for libsodium functions",
1414
"file": "src/pgsodium.h",
1515
"docfile": "README.md",
16-
"version": "3.0.2"
16+
"version": "3.0.3"
1717
}
1818
},
1919
"prereqs": {

example/tce.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ CREATE TABLE test2 (
1616
);
1717

1818
CREATE ROLE bob with login password 'foo';
19+
GRANT INSERT ON public.test, public.test2 to bob;
1920

2021
SECURITY LABEL FOR pgsodium ON ROLE bob is 'ACCESS public.test, public.test2';
2122

@@ -36,7 +37,7 @@ SELECT pgsodium.crypto_aead_det_noncegen() aead_nonce2 \gset
3637

3738
\c postgres bob
3839

39-
INSERT INTO public.test (secret) VALUES ('noice');
40+
INSERT INTO test (secret) VALUES ('noice');
4041

41-
INSERT INTO public.test2 (secret, associated, nonce, secret2, associated2, nonce2, secret2_key_id) VALUES ('sssh', 'bob was here', :'aead_nonce', 'aaahh', 'alice association', :'aead_nonce2', :'secret2_key_id'::uuid);
42+
INSERT INTO test2 (secret, associated, nonce, secret2, associated2, nonce2, secret2_key_id) VALUES ('sssh', 'bob was here', :'aead_nonce', 'aaahh', 'alice association', :'aead_nonce2', :'secret2_key_id'::uuid);
4243

pgsodium.control

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# pgsodium extension
22
comment = 'Postgres extension for libsodium functions'
3-
default_version = '3.0.2'
3+
default_version = '3.0.3'
44
relocatable = false
5-
requires = '"uuid-ossp"'

0 commit comments

Comments
 (0)