Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf85f8e

Browse files
committed
Split contrib/cube platform-depended checks into separate test
We're currently maintaining two outputs for cube regression test. But thatappears to be unsuitable, because these outputs are different in out few checksinvolving scientific notation. So, split checks involving scientific notationinto separate test, making contrib/cube easier to maintain. Backpatch to allsupported versions in order to make further backpatching easier.Discussion:https://postgr.es/m/CAPpHfdvJgWjxHsJTtT%2Bo1tz3OR8EFHcLQjhp-d3%2BUcmJLh-fQA%40mail.gmail.comAuthor: Alexander KorotkovBackpatch-through: 9.3
1 parentd6ef17e commitdf85f8e

File tree

11 files changed

+447
-5469
lines changed

11 files changed

+447
-5469
lines changed

‎contrib/cube/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ DATA = cube--1.2.sql cube--1.1--1.2.sql cube--1.0--1.1.sql \
88
cube--unpackaged--1.0.sql
99
PGFILEDESC = "cube - multidimensional cube data type"
1010

11-
REGRESS = cube
11+
REGRESS = cube cube_sci
1212

1313
EXTRA_CLEAN = y.tab.c y.tab.h
1414

‎contrib/cube/expected/cube.out‎

Lines changed: 0 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -54,108 +54,6 @@ SELECT '-1.0'::cube AS cube;
5454
(-1)
5555
(1 row)
5656

57-
SELECT '1e27'::cube AS cube;
58-
cube
59-
---------
60-
(1e+27)
61-
(1 row)
62-
63-
SELECT '-1e27'::cube AS cube;
64-
cube
65-
----------
66-
(-1e+27)
67-
(1 row)
68-
69-
SELECT '1.0e27'::cube AS cube;
70-
cube
71-
---------
72-
(1e+27)
73-
(1 row)
74-
75-
SELECT '-1.0e27'::cube AS cube;
76-
cube
77-
----------
78-
(-1e+27)
79-
(1 row)
80-
81-
SELECT '1e+27'::cube AS cube;
82-
cube
83-
---------
84-
(1e+27)
85-
(1 row)
86-
87-
SELECT '-1e+27'::cube AS cube;
88-
cube
89-
----------
90-
(-1e+27)
91-
(1 row)
92-
93-
SELECT '1.0e+27'::cube AS cube;
94-
cube
95-
---------
96-
(1e+27)
97-
(1 row)
98-
99-
SELECT '-1.0e+27'::cube AS cube;
100-
cube
101-
----------
102-
(-1e+27)
103-
(1 row)
104-
105-
SELECT '1e-7'::cube AS cube;
106-
cube
107-
---------
108-
(1e-07)
109-
(1 row)
110-
111-
SELECT '-1e-7'::cube AS cube;
112-
cube
113-
----------
114-
(-1e-07)
115-
(1 row)
116-
117-
SELECT '1.0e-7'::cube AS cube;
118-
cube
119-
---------
120-
(1e-07)
121-
(1 row)
122-
123-
SELECT '-1.0e-7'::cube AS cube;
124-
cube
125-
----------
126-
(-1e-07)
127-
(1 row)
128-
129-
SELECT '1e-700'::cube AS cube;
130-
cube
131-
------
132-
(0)
133-
(1 row)
134-
135-
SELECT '-1e-700'::cube AS cube;
136-
cube
137-
------
138-
(0)
139-
(1 row)
140-
141-
SELECT '1234567890123456'::cube AS cube;
142-
cube
143-
------------------------
144-
(1.23456789012346e+15)
145-
(1 row)
146-
147-
SELECT '+1234567890123456'::cube AS cube;
148-
cube
149-
------------------------
150-
(1.23456789012346e+15)
151-
(1 row)
152-
153-
SELECT '-1234567890123456'::cube AS cube;
154-
cube
155-
-------------------------
156-
(-1.23456789012346e+15)
157-
(1 row)
158-
15957
SELECT '.1234567890123456'::cube AS cube;
16058
cube
16159
---------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp