[prev in list] [next in list] [prev in thread] [next in thread]
List: pgsql-bugs
Subject: Re: [BUGS] BUG #14300: Empty cube representation
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2016-08-29 16:24:43
Message-ID: 9274.1472487883 () sss ! pgh ! pa ! us
[Download RAW message or body]
a@ustimen.co writes:
> SELECT CUBE(ARRAY[]::INTEGER[]);
> -- Gives '()'
> SELECT '()'::CUBE;
> -- Gives 'ERROR: bad cube representation'
Hmm. There are more ways than that to produce a cube that cube_in won't
take: you can put in an infinity or NaN coordinate via the cube-from-
float-array path too, and cube_out will print them, but cube_in won't
take them. We fixed something similar with the core geometric types
recently.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic