mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user