aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2018-08-30 14:18:53 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2018-08-31 20:24:20 +0300
commit36343e59b51165da542943d2043878737fbe910b (patch)
tree31a75ef619a4020be147def2ec70bf55bfeb9a69 /src/tutorial/funcs.c
parent1668186eb37851df41c9ff4b9ba9b4f71ce4f348 (diff)
downloadpostgresql-36343e59b51165da542943d2043878737fbe910b.tar.gz
postgresql-36343e59b51165da542943d2043878737fbe910b.zip
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