summaryrefslogtreecommitdiff
path: root/contrib/cube/expected
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-11-23 03:50:21 +0000
committerBruce Momjian <bruce@momjian.us>2002-11-23 03:50:21 +0000
commit4987ca2d888cb544a0d4edd6c9db63f04e194d3c (patch)
tree7a966e9a7cc976581cde37475aedc9f68bd96830 /contrib/cube/expected
parent349d529abf6ccd0caa8bf7d3fb4cfe959c4f47a3 (diff)
downloadpostgresql-4987ca2d888cb544a0d4edd6c9db63f04e194d3c.tar.gz
This is a patch to make cube output work like double precision output
with regard to the extra_float_digits setting. Since builtins.h was already included, I just deleted the extern statement (and accompaning comments). Bruno Wolff III
Diffstat (limited to 'contrib/cube/expected')
-rw-r--r--contrib/cube/expected/cube.out36
1 files changed, 18 insertions, 18 deletions
diff --git a/contrib/cube/expected/cube.out b/contrib/cube/expected/cube.out
index 5eeeb0f5fc..beced4e64a 100644
--- a/contrib/cube/expected/cube.out
+++ b/contrib/cube/expected/cube.out
@@ -145,39 +145,39 @@ SELECT '-1e-700'::cube AS cube;
(1 row)
SELECT '1234567890123456'::cube AS cube;
- cube
---------------------
- (1234567890123456)
+ cube
+------------------------
+ (1.23456789012346e+15)
(1 row)
SELECT '+1234567890123456'::cube AS cube;
- cube
---------------------
- (1234567890123456)
+ cube
+------------------------
+ (1.23456789012346e+15)
(1 row)
SELECT '-1234567890123456'::cube AS cube;
- cube
----------------------
- (-1234567890123456)
+ cube
+-------------------------
+ (-1.23456789012346e+15)
(1 row)
SELECT '.1234567890123456'::cube AS cube;
- cube
-----------------------
- (0.1234567890123456)
+ cube
+---------------------
+ (0.123456789012346)
(1 row)
SELECT '+.1234567890123456'::cube AS cube;
- cube
-----------------------
- (0.1234567890123456)
+ cube
+---------------------
+ (0.123456789012346)
(1 row)
SELECT '-.1234567890123456'::cube AS cube;
- cube
------------------------
- (-0.1234567890123456)
+ cube
+----------------------
+ (-0.123456789012346)
(1 row)
-- simple lists (points)