Package list orafce / 7a230e7
Add alternate expected output file for dbms_random on big endian machines. Christoph Berg 11 months ago
3 changed file(s) with 101 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 orafce (3.13.4-3) unstable; urgency=medium
1
2 * Add alternate expected output file for dbms_random on big endian machines.
3
4 -- Christoph Berg <myon@debian.org> Thu, 08 Oct 2020 13:56:03 +0200
5
06 orafce (3.13.4-2) unstable; urgency=medium
17
28 * Upload for PostgreSQL 13.
0 --- /dev/null
1 +++ b/expected/dbms_random_1.out
2 @@ -0,0 +1,91 @@
3 +-- Tests for package DBMS_RANDOM
4 +SELECT dbms_random.initialize(8);
5 + initialize
6 +------------
7 +
8 +(1 row)
9 +
10 +SELECT dbms_random.normal()::numeric(10, 8);
11 + normal
12 +-------------
13 + -0.37787769
14 +(1 row)
15 +
16 +SELECT dbms_random.normal()::numeric(10, 8);
17 + normal
18 +------------
19 + 0.80499804
20 +(1 row)
21 +
22 +SELECT dbms_random.seed(8);
23 + seed
24 +------
25 +
26 +(1 row)
27 +
28 +SELECT dbms_random.random();
29 + random
30 +------------
31 + -632387854
32 +(1 row)
33 +
34 +SELECT dbms_random.seed('test');
35 + seed
36 +------
37 +
38 +(1 row)
39 +
40 +SELECT dbms_random.string('U',5);
41 + string
42 +--------
43 + IGXBB
44 +(1 row)
45 +
46 +SELECT dbms_random.string('P',2);
47 + string
48 +--------
49 + R`
50 +(1 row)
51 +
52 +SELECT dbms_random.string('x',4);
53 + string
54 +--------
55 + P1CB
56 +(1 row)
57 +
58 +SELECT dbms_random.string('a',2);
59 + string
60 +--------
61 + yV
62 +(1 row)
63 +
64 +SELECT dbms_random.string('l',3);
65 + string
66 +--------
67 + ccw
68 +(1 row)
69 +
70 +SELECT dbms_random.seed(5);
71 + seed
72 +------
73 +
74 +(1 row)
75 +
76 +SELECT dbms_random.value()::numeric(10, 8);
77 + value
78 +------------
79 + 0.27474560
80 +(1 row)
81 +
82 +SELECT dbms_random.value(10,15)::numeric(10, 8);
83 + value
84 +-------------
85 + 10.23233882
86 +(1 row)
87 +
88 +SELECT dbms_random.terminate();
89 + terminate
90 +-----------
91 +
92 +(1 row)
93 +
00 regress-no-alert
1 big-endian