aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.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:06:49 +0300
commitb187dae9d0416423b206ec25941353561a688c9b (patch)
tree78a009de63bfef3cd6ee4db0b045438fe2e3964d /src/backend/utils/adt/json.c
parent26cbd23259403b27641d6c5a2798052aa3854e01 (diff)
downloadpostgresql-b187dae9d0416423b206ec25941353561a688c9b.tar.gz
postgresql-b187dae9d0416423b206ec25941353561a688c9b.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/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions