mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
f919c165eb
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 |
||
---|---|---|
.. | ||
data | ||
expected | ||
sql | ||
.gitignore | ||
CHANGES | ||
cube--1.0--1.1.sql | ||
cube--1.1--1.2.sql | ||
cube--1.2--1.3.sql | ||
cube--1.2.sql | ||
cube--1.3--1.4.sql | ||
cube--unpackaged--1.0.sql | ||
cube.c | ||
cube.control | ||
cubedata.h | ||
cubeparse.y | ||
cubescan.l | ||
Makefile |