diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2018-08-30 14:18:53 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2018-08-31 20:10:40 +0300 |
commit | 7cea5e6ebfb3814d977c62bbe91775e0858acb50 (patch) | |
tree | 7ffae05fed565120128dd2360a0fac5e5e1cb8f3 /src/tutorial/funcs.c | |
parent | 41180978b4039aee5128f0e339d1a139ad2eb68e (diff) |
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
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions