pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Enforce cube dimension limit in all cube construction functions
7+ messages / 1 participants
[nested] [flat]

* pgsql: Enforce cube dimension limit in all cube construction functions
@ 2018-08-31 17:21 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alexander Korotkov @ 2018-08-31 17:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9f3ade1a6f62dd0315aa14b615666e0d54054763

Modified Files
--------------
contrib/cube/cube.c            | 34 ++++++++++++++++++++++++++++++++++
contrib/cube/expected/cube.out | 40 ++++++++++++++++++++++++++++++++++++++++
contrib/cube/sql/cube.sql      | 18 +++++++++++++++++-
3 files changed, 91 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Enforce cube dimension limit in all cube construction functions
@ 2018-08-31 17:22 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alexander Korotkov @ 2018-08-31 17:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7cea5e6ebfb3814d977c62bbe91775e0858acb50

Modified Files
--------------
contrib/cube/cube.c            | 34 ++++++++++++++++++++++++++++++++++
contrib/cube/expected/cube.out | 40 ++++++++++++++++++++++++++++++++++++++++
contrib/cube/sql/cube.sql      | 20 +++++++++++++++++++-
3 files changed, 93 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Enforce cube dimension limit in all cube construction functions
@ 2018-08-31 17:22 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alexander Korotkov @ 2018-08-31 17:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b187dae9d0416423b206ec25941353561a688c9b

Modified Files
--------------
contrib/cube/cube.c            | 34 ++++++++++++++++++++++++++++++++++
contrib/cube/expected/cube.out | 40 ++++++++++++++++++++++++++++++++++++++++
contrib/cube/sql/cube.sql      | 20 +++++++++++++++++++-
3 files changed, 93 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Enforce cube dimension limit in all cube construction functions
@ 2018-08-31 17:22 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alexander Korotkov @ 2018-08-31 17:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5fed7b24aed50a50e2e922de2bcc51458a067210

Modified Files
--------------
contrib/cube/cube.c            | 34 ++++++++++++++++++++++++++++++++++
contrib/cube/expected/cube.out | 40 ++++++++++++++++++++++++++++++++++++++++
contrib/cube/sql/cube.sql      | 20 +++++++++++++++++++-
3 files changed, 93 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Enforce cube dimension limit in all cube construction functions
@ 2018-08-31 17:23 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alexander Korotkov @ 2018-08-31 17:23 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/29e07cd224717fd11be7071166d9f08f8b44f1f2

Modified Files
--------------
contrib/cube/cube.c            | 34 ++++++++++++++++++++++++++++++++++
contrib/cube/expected/cube.out | 40 ++++++++++++++++++++++++++++++++++++++++
contrib/cube/sql/cube.sql      | 20 +++++++++++++++++++-
3 files changed, 93 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Enforce cube dimension limit in all cube construction functions
@ 2018-08-31 17:24 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alexander Korotkov @ 2018-08-31 17:24 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/36343e59b51165da542943d2043878737fbe910b

Modified Files
--------------
contrib/cube/cube.c            | 34 ++++++++++++++++++++++++++++++++++
contrib/cube/expected/cube.out | 40 ++++++++++++++++++++++++++++++++++++++++
contrib/cube/sql/cube.sql      | 20 +++++++++++++++++++-
3 files changed, 93 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Enforce cube dimension limit in all cube construction functions
@ 2018-08-31 17:25 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alexander Korotkov @ 2018-08-31 17:25 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f919c165ebdc2f85e4584e959e002705a5a0a774

Modified Files
--------------
contrib/cube/cube.c            | 34 ++++++++++++++++++++++++++++++++++
contrib/cube/expected/cube.out | 40 ++++++++++++++++++++++++++++++++++++++++
contrib/cube/sql/cube.sql      | 20 +++++++++++++++++++-
3 files changed, 93 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2018-08-31 17:25 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-31 17:21 pgsql: Enforce cube dimension limit in all cube construction functions Alexander Korotkov <akorotkov@postgresql.org>
2018-08-31 17:22 pgsql: Enforce cube dimension limit in all cube construction functions Alexander Korotkov <akorotkov@postgresql.org>
2018-08-31 17:22 pgsql: Enforce cube dimension limit in all cube construction functions Alexander Korotkov <akorotkov@postgresql.org>
2018-08-31 17:22 pgsql: Enforce cube dimension limit in all cube construction functions Alexander Korotkov <akorotkov@postgresql.org>
2018-08-31 17:23 pgsql: Enforce cube dimension limit in all cube construction functions Alexander Korotkov <akorotkov@postgresql.org>
2018-08-31 17:24 pgsql: Enforce cube dimension limit in all cube construction functions Alexander Korotkov <akorotkov@postgresql.org>
2018-08-31 17:25 pgsql: Enforce cube dimension limit in all cube construction functions Alexander Korotkov <akorotkov@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox