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:23:32 +0300 |
commit | 29e07cd224717fd11be7071166d9f08f8b44f1f2 (patch) | |
tree | d888e6ef2326812ed4deb16ffac75f91090787ec /src/backend/access/transam/generic_xlog.c | |
parent | 4ffb7c7b3c0a6bb291aff23b0acd94012cde6a48 (diff) | |
download | postgresql-29e07cd224717fd11be7071166d9f08f8b44f1f2.tar.gz postgresql-29e07cd224717fd11be7071166d9f08f8b44f1f2.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/access/transam/generic_xlog.c')
0 files changed, 0 insertions, 0 deletions