forked from citusdata/postgresql-hll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypmod_insert.out
30 lines (29 loc) · 3.83 KB
/
typmod_insert.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SELECT hll_set_output_version(1);
hll_set_output_version
------------------------
1
(1 row)
DROP TABLE IF EXISTS test_trsybeqs;
NOTICE: table "test_trsybeqs" does not exist, skipping
CREATE TABLE test_trsybeqs (
val hll(10)
);
-- ERROR: register count does not match: source uses 2048 and dest uses 1024
INSERT INTO test_trsybeqs(val) VALUES (
E'\\x148b7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000'::hll
);
ERROR: register count does not match: source uses 2048 and dest uses 1024
-- ERROR: register count does not match: source uses 2048 and dest uses 1024
INSERT INTO test_trsybeqs(val) VALUES (hll_empty(11));
ERROR: register count does not match: source uses 2048 and dest uses 1024
-- ERROR: register count does not match: source uses 2048 and dest uses 1024
INSERT INTO test_trsybeqs(val) VALUES (E'\\x118b7f');
ERROR: register count does not match: source uses 2048 and dest uses 1024
-- ERROR: register count does not match: source uses 2048 and dest uses 1024
INSERT INTO test_trsybeqs(val) VALUES (E'\\x128b7f1111111111111111');
ERROR: register count does not match: source uses 2048 and dest uses 1024
-- These work because they are compatibly sized:
INSERT INTO test_trsybeqs(val) VALUES (hll_empty(10));
INSERT INTO test_trsybeqs(val) VALUES (E'\\x118a7f');
INSERT INTO test_trsybeqs(val) VALUES (E'\\x128a7f1111111111111111');
DROP TABLE test_trsybeqs;