File tree Expand file tree Collapse file tree 13 files changed +115
-65
lines changed Expand file tree Collapse file tree 13 files changed +115
-65
lines changed Original file line number Diff line number Diff line change 54
54
files : |
55
55
release/cipherstash-encrypt.sql
56
56
release/cipherstash-encrypt-uninstall.sql
57
+ release/cipherstash-encrypt-supabase.sql
58
+ release/cipherstash-encrypt-uninstall-supabase.sql
Original file line number Diff line number Diff line change 6
6
deps.txt
7
7
deps-ordered.txt
8
8
9
+ deps-supabase.txt
10
+ deps-ordered-supabase.txt
11
+
9
12
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore
10
13
11
14
src /version.sql
Original file line number Diff line number Diff line change 1
1
-- AUTOMATICALLY GENERATED FILE
2
2
-- REQUIRE: src/schema.sql
3
3
4
-
5
4
-- Constant time comparison of 2 bytea values
6
5
7
6
8
-
9
-
10
-
11
-
12
- -- DROP FUNCTION IF EXISTS eql_v1.bytea_eq(a bytea, b bytea);
13
-
14
7
CREATE FUNCTION eql_v1 .bytea_eq(a bytea , b bytea ) RETURNS boolean AS $$
15
8
DECLARE
16
9
result boolean ;
34
27
END;
35
28
$$ LANGUAGE plpgsql;
36
29
37
-
38
- -- DROP FUNCTION IF EXISTS eql_v1.jsonb_array_to_bytea_array(val jsonb);
39
-
40
30
-- Casts a jsonb array of hex-encoded strings to an array of bytea.
41
31
CREATE FUNCTION eql_v1 .jsonb_array_to_bytea_array(val jsonb)
42
32
RETURNS bytea [] AS $$
@@ -60,7 +50,6 @@ $$ LANGUAGE plpgsql;
60
50
--
61
51
-- Convenience function to log a message
62
52
--
63
- -- DROP FUNCTION IF EXISTS eql_v1.log(text);
64
53
CREATE FUNCTION eql_v1 .log(s text )
65
54
RETURNS void
66
55
AS $$
@@ -73,7 +62,6 @@ $$ LANGUAGE plpgsql;
73
62
--
74
63
-- Convenience function to describe a test
75
64
--
76
- -- DROP FUNCTION IF EXISTS eql_v1.log(text, text);
77
65
CREATE FUNCTION eql_v1 .log(ctx text , s text )
78
66
RETURNS void
79
67
AS $$
Original file line number Diff line number Diff line change
1
+ src/schema.sql
2
+ src/common.sql
3
+ src/unique/types.sql
4
+ src/encrypted/types.sql
5
+ src/match/types.sql
6
+ src/ore/types.sql
7
+ src/ore_cllw_u64_8/types.sql
8
+ src/ore_cllw_u64_8/functions.sql
9
+ src/ore_cllw_u64_8/operators.sql
10
+ src/blake3/types.sql
11
+ src/blake3/functions.sql
12
+ src/encrypted/functions.sql
13
+ src/crypto.sql
14
+ src/unique/functions.sql
15
+ src/match/functions.sql
16
+ src/ore/functions.sql
17
+ src/ore/operators.sql
18
+ src/operators/=.sql
19
+ src/config/types.sql
20
+ src/ore_cllw_var_8/types.sql
21
+ src/ore_cllw_var_8/functions.sql
22
+ src/version.sql
23
+ src/ste_vec/functions.sql
24
+ src/operators/~~.sql
25
+ src/operators/<=.sql
26
+ src/operators/<>.sql
27
+ src/operators/order_by.sql
28
+ src/operators/->>.sql
29
+ src/operators/<.sql
30
+ src/operators/>.sql
31
+ src/operators/->.sql
32
+ src/operators/<@.sql
33
+ src/operators/@>.sql
34
+ src/operators/>=.sql
35
+ src/config/tables.sql
36
+ src/config/indexes.sql
37
+ src/config/functions.sql
38
+ src/config/constraints.sql
39
+ src/ore_cllw_var_8/operators.sql
40
+ src/jsonb/functions.sql
41
+ src/encrypted/aggregates.sql
42
+ src/encrypted/constraints.sql
43
+ src/encrypted/casts.sql
44
+ src/ore/casts.sql
Original file line number Diff line number Diff line change 55
55
IF found IS NOT NULL THEN
56
56
57
57
IF ary THEN
58
-
59
- -- Wrapp found array elements as eql_v1_encrypted
58
+ -- Wrap found array elements as eql_v1_encrypted
60
59
RETURN NEXT jsonb_build_object(
61
60
' sv' , found,
62
61
' a' , 1
Original file line number Diff line number Diff line change 10
10
-- REQUIRE: src/operators/>.sql
11
11
12
12
13
- -- DROP ORERATOR CLASS & FAMILY BEFORE FUNCTION
14
- -- DROP OPERATOR CLASS IF EXISTS eql_v1.encrypted_operator USING btree;
15
- -- DROP OPERATOR FAMILY IF EXISTS eql_v1.encrypted_operator USING btree;
16
-
17
- -- DROP FUNCTION IF EXISTS eql_v1.compare(a eql_v1_encrypted, b eql_v1_encrypted);
18
-
19
- --
20
- -- Comparison function for eql_v1_encrypted
21
- -- Extracts ORE indexes and uses the appropriate ore compare function
22
- --
23
13
CREATE FUNCTION eql_v1 .compare(a eql_v1_encrypted, b eql_v1_encrypted)
24
14
RETURNS integer
25
15
IMMUTABLE STRICT PARALLEL SAFE
36
26
END;
37
27
$$ LANGUAGE plpgsql;
38
28
39
-
40
29
CREATE OPERATOR FAMILY eql_v1 .encrypted_operator USING btree;
41
30
42
31
CREATE OPERATOR CLASS eql_v1 .encrypted_operator DEFAULT FOR TYPE eql_v1_encrypted USING btree FAMILY eql_v1 .encrypted_operator AS
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ -- REQUIRE: src/schema.sql
2
+ -- REQUIRE: src/ore/types.sql
3
+
4
+
5
+ CREATE OPERATOR FAMILY eql_v1 .ore_64_8_v1_btree_ops USING btree;
6
+
7
+ CREATE OPERATOR CLASS eql_v1 .ore_64_8_v1_btree_ops DEFAULT FOR TYPE eql_v1 .ore_64_8_v1 USING btree FAMILY eql_v1 .ore_64_8_v1_btree_ops AS
8
+ OPERATOR 1 < ,
9
+ OPERATOR 2 <= ,
10
+ OPERATOR 3 = ,
11
+ OPERATOR 4 >= ,
12
+ OPERATOR 5 > ,
13
+ FUNCTION 1 eql_v1 .compare_ore_64_8_v1 (a eql_v1 .ore_64_8_v1 , b eql_v1 .ore_64_8_v1 );
Original file line number Diff line number Diff line change @@ -129,19 +129,3 @@ CREATE OPERATOR >= (
129
129
RESTRICT = scalarlesel,
130
130
JOIN = scalarlejoinsel
131
131
);
132
-
133
-
134
- -- DROP OPERATOR FAMILY IF EXISTS eql_v1.ore_64_8_v1_btree_ops USING btree;
135
-
136
- CREATE OPERATOR FAMILY eql_v1 .ore_64_8_v1_btree_ops USING btree;
137
-
138
-
139
- -- DROP OPERATOR CLASS IF EXISTS eql_v1.ore_64_8_v1_btree_ops USING btree;
140
-
141
- CREATE OPERATOR CLASS eql_v1 .ore_64_8_v1_btree_ops DEFAULT FOR TYPE eql_v1 .ore_64_8_v1 USING btree FAMILY eql_v1 .ore_64_8_v1_btree_ops AS
142
- OPERATOR 1 < ,
143
- OPERATOR 2 <= ,
144
- OPERATOR 3 = ,
145
- OPERATOR 4 >= ,
146
- OPERATOR 5 > ,
147
- FUNCTION 1 eql_v1 .compare_ore_64_8_v1 (a eql_v1 .ore_64_8_v1 , b eql_v1 .ore_64_8_v1 );
File renamed without changes.
You can’t perform that action at this time.
0 commit comments