postgresql/contrib/cube
Alexander Korotkov 5fed7b24ae Enforce cube dimension limit in all cube construction functions
contrib/cube has a limit to 100 dimensions for cube datatype.  However, it's
not enforced everywhere, and one can actually construct cube with more than
100 dimensions having then trouble with dump/restore.  This commit add checks
for dimensions limit in all functions responsible for cube construction.
Backpatch to all supported versions.

Reported-by: Andrew Gierth
Discussion: https://postgr.es/m/87va7uybt4.fsf%40news-spur.riddles.org.uk
Author: Andrey Borodin with small additions by me
Review: Tom Lane
Backpatch-through: 9.3
2018-08-31 20:22:39 +03:00
..
data Gene Selkov's CUBE datatype (GiST example code) 2000-12-11 20:39:15 +00:00
expected Enforce cube dimension limit in all cube construction functions 2018-08-31 20:22:39 +03:00
sql Enforce cube dimension limit in all cube construction functions 2018-08-31 20:22:39 +03:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
CHANGES Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
cube--1.0--1.1.sql Fix whitespace 2015-12-19 11:46:38 -05:00
cube--1.1--1.2.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
cube--1.2.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
cube--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
cube.c Enforce cube dimension limit in all cube construction functions 2018-08-31 20:22:39 +03:00
cube.control Handle contrib's GIN/GIST support function signature changes honestly. 2016-06-09 16:44:25 -04:00
cubedata.h Cube extension kNN support 2015-12-18 14:38:27 +03:00
cubeparse.y Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
cubescan.l Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
Makefile Split contrib/cube platform-depended checks into separate test 2018-08-31 20:22:39 +03:00