BUG #14300: Empty cube representation

From: a(at)ustimen(dot)co
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14300: Empty cube representation
Date: 2016-08-29 14:09:12
Message-ID: 20160829140912.15676.75128@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14300
Logged by: Alexander Ustimenko
Email address: a(at)ustimen(dot)co
PostgreSQL version: 9.5.4
Operating system: Debian 4.9.2-10 64-bit
Description:

ACTUAL:

SELECT CUBE(ARRAY[]::INTEGER[]);
-- Gives '()'

SELECT '()'::CUBE;
-- Gives 'ERROR: bad cube representation'

SHOULD BE?:

SELECT CUBE(ARRAY[]::INTEGER[]);
-- Should give some 'ERROR: bad cube representation' ?

QUESTION:

Does cube type wrong or cube parser wrong?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message rikard 2016-08-29 15:14:33 BUG #14301: function in case expression called when it should not be
Previous Message kop 2016-08-27 15:50:16 BUG #14299: initdb and man pages are not installed in the alternatives system