Add PostgreSQL 11 to feature matrix page?

Started by Tatsuo Ishiiover 7 years ago9 messages
#1Tatsuo Ishii
ishii@sraoss.co.jp

Now that PostgreSQL 11 beta is out, I wonder if it's worth to add
PostgreSQL 11 to the feature matrix page.

https://www.postgresql.org/about/featurematrix/

Adding PostgreSQL 11 to the page will give users at-a-glance-dfference
between 11 and previous releases, which could bring clearner image of
11 to the users.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

#2Jonathan S. Katz
jkatz@postgresql.org
In reply to: Tatsuo Ishii (#1)
Re: Add PostgreSQL 11 to feature matrix page?

On May 24, 2018, at 9:38 PM, Tatsuo Ishii <ishii@sraoss.co.jp> wrote:

Now that PostgreSQL 11 beta is out, I wonder if it's worth to add
PostgreSQL 11 to the feature matrix page.

https://www.postgresql.org/about/featurematrix/

Adding PostgreSQL 11 to the page will give users at-a-glance-dfference
between 11 and previous releases, which could bring clearner image of
11 to the users.

I do like this idea, but there are a few things to consider:

1. Traditionally, we’ve waited until closer to release (I believe RCs) before
putting them up, due to the fact features can change. It is simple to remove
features from the feature matrix, but I think it’s part of the final packaging to
include the full list of features.

Also, theoretically through the beta period, we should have a better idea of
which features we want to highlight, both including the major features and
others we believe should be brought to light.

2. We’d have to add some code to support displaying a beta version in
the feature matrix. Not a huge obstacle, but from reviewing the code and to
display it properly, I don’t believe we get it for free.

Not to derail the original purpose of this thread, but there are some other
areas of the website I’d also like to include accessibility features around the
beta, including

1. Listing “11” as one of the versions that someone can select in the “Report
a Bug” section
2. Listing “11 beta 1” as one of the releases in the current releases section

From what I see both of which will require a schema modification.

Lastly, based on how you feel about the above, I would suggest that we move
this to -www as that would be the best area to find a solution.

Thanks!

Jonathan

#3Tatsuo Ishii
ishii@sraoss.co.jp
In reply to: Jonathan S. Katz (#2)
Re: Add PostgreSQL 11 to feature matrix page?

[Moved to pgsql-www]

Adding PostgreSQL 11 to the page will give users at-a-glance-dfference
between 11 and previous releases, which could bring clearner image of
11 to the users.

I do like this idea, but there are a few things to consider:

1. Traditionally, we’ve waited until closer to release (I believe RCs) before
putting them up, due to the fact features can change. It is simple to remove
features from the feature matrix, but I think it’s part of the final packaging to
include the full list of features.

But by definition, all features in beta (at least major ones) are
freezed and should not be changed unless there's a serious
technical/none technical issue. So the features in the matrix would
not be changed we expect. Also one of the purposes of beta is
encouraging users to test out the beta. Adding to the page will give
more chances to potential beta testers, I think.

Also, theoretically through the beta period, we should have a better idea of
which features we want to highlight, both including the major features and
others we believe should be brought to light.

That's different story I think since the feature matrix does not say
anything about what are the major features.

2. We’d have to add some code to support displaying a beta version in
the feature matrix. Not a huge obstacle, but from reviewing the code and to
display it properly, I don’t believe we get it for free.

Yes, I understand your concern. We should account the cost of course.

Not to derail the original purpose of this thread, but there are some other
areas of the website I’d also like to include accessibility features around the
beta, including

1. Listing “11” as one of the versions that someone can select in the “Report
a Bug” section
2. Listing “11 beta 1” as one of the releases in the current releases section

From what I see both of which will require a schema modification.

Lastly, based on how you feel about the above, I would suggest that we move
this to -www as that would be the best area to find a solution.

Thanks for the suggestion. I moved to pgsql-www.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

#4Jonathan S. Katz
jkatz@postgresql.org
In reply to: Tatsuo Ishii (#3)
Re: Add PostgreSQL 11 to feature matrix page?

On May 24, 2018, at 10:09 PM, Tatsuo Ishii <ishii@sraoss.co.jp> wrote:

[Moved to pgsql-www]

Sorry for the slow reply!

Adding PostgreSQL 11 to the page will give users at-a-glance-dfference
between 11 and previous releases, which could bring clearner image of
11 to the users.

I do like this idea, but there are a few things to consider:

1. Traditionally, we’ve waited until closer to release (I believe RCs) before
putting them up, due to the fact features can change. It is simple to remove
features from the feature matrix, but I think it’s part of the final packaging to
include the full list of features.

But by definition, all features in beta (at least major ones) are
freezed and should not be changed unless there's a serious
technical/none technical issue. So the features in the matrix would
not be changed we expect. Also one of the purposes of beta is
encouraging users to test out the beta. Adding to the page will give
more chances to potential beta testers, I think.

I don’t disagree. I need to make a test to see if this is possible with
the current pgweb configuration.

Also, theoretically through the beta period, we should have a better idea of
which features we want to highlight, both including the major features and
others we believe should be brought to light.

That's different story I think since the feature matrix does not say
anything about what are the major features.

In recent memory I thought we typically put in major features, but there
may be other ones that could / should make the list.

2. We’d have to add some code to support displaying a beta version in
the feature matrix. Not a huge obstacle, but from reviewing the code and to
display it properly, I don’t believe we get it for free.

Yes, I understand your concern. We should account the cost of course.

Not to derail the original purpose of this thread, but there are some other
areas of the website I’d also like to include accessibility features around the
beta, including

1. Listing “11” as one of the versions that someone can select in the “Report
a Bug” section
2. Listing “11 beta 1” as one of the releases in the current releases section

From what I see both of which will require a schema modification.

Lastly, based on how you feel about the above, I would suggest that we move
this to -www as that would be the best area to find a solution.

Thanks for the suggestion. I moved to pgsql-www.

I will make a test on my local copy of pgweb to see how easy it is to add 11
to the list. I will report back if it is easy or not. If the former, I’ll make the suggestion
of adding it to the site and see if there are any objections.

Thanks!

Jonathan

#5Jonathan S. Katz
jkatz@postgresql.org
In reply to: Jonathan S. Katz (#4)
Re: Add PostgreSQL 11 to feature matrix page?

On Jun 4, 2018, at 7:08 PM, Jonathan S. Katz <jkatz@postgresql.org> wrote:

On May 24, 2018, at 10:09 PM, Tatsuo Ishii <ishii@sraoss.co.jp <mailto:ishii@sraoss.co.jp>> wrote:

[Moved to pgsql-www]

Sorry for the slow reply!

Adding PostgreSQL 11 to the page will give users at-a-glance-dfference
between 11 and previous releases, which could bring clearner image of
11 to the users.

I do like this idea, but there are a few things to consider:

1. Traditionally, we’ve waited until closer to release (I believe RCs) before
putting them up, due to the fact features can change. It is simple to remove
features from the feature matrix, but I think it’s part of the final packaging to
include the full list of features.

But by definition, all features in beta (at least major ones) are
freezed and should not be changed unless there's a serious
technical/none technical issue. So the features in the matrix would
not be changed we expect. Also one of the purposes of beta is
encouraging users to test out the beta. Adding to the page will give
more chances to potential beta testers, I think.

I don’t disagree. I need to make a test to see if this is possible with
the current pgweb configuration.

I will make a test on my local copy of pgweb to see how easy it is to add 11
to the list. I will report back if it is easy or not. If the former, I’ll make the suggestion
of adding it to the site and see if there are any objections.

So to get this to work we need to follow the standard process of adding in
a new version to the feature matrix:

1. Write a migration to support “v11” in the Feature model
2. Add in the new features

The one thing currently is that unless something in the code is changed, it
displays the full version number (e.g. “11”) without any indication of it being
in beta. Experimenting with the code, I don’t think it would be difficult to add
that in, but it is non trivial and I may have to change some of the sorting code
we are currently using.

tl;dr

If we’re ok with displaying “11” early without any indication of beta, this is trivial
and we just need to create the migration. If not, then it’s a bit of work, but it
may be worthwhile.

Thoughts?

Jonathan

#6Magnus Hagander
magnus@hagander.net
In reply to: Jonathan S. Katz (#5)
Re: Add PostgreSQL 11 to feature matrix page?

On Tue, Jun 5, 2018 at 1:59 AM, Jonathan S. Katz <jkatz@postgresql.org>
wrote:

On Jun 4, 2018, at 7:08 PM, Jonathan S. Katz <jkatz@postgresql.org> wrote:

On May 24, 2018, at 10:09 PM, Tatsuo Ishii <ishii@sraoss.co.jp> wrote:

[Moved to pgsql-www]

Sorry for the slow reply!

Adding PostgreSQL 11 to the page will give users at-a-glance-dfference
between 11 and previous releases, which could bring clearner image of
11 to the users.

I do like this idea, but there are a few things to consider:

1. Traditionally, we’ve waited until closer to release (I believe RCs)
before
putting them up, due to the fact features can change. It is simple to
remove
features from the feature matrix, but I think it’s part of the final
packaging to
include the full list of features.

But by definition, all features in beta (at least major ones) are
freezed and should not be changed unless there's a serious
technical/none technical issue. So the features in the matrix would
not be changed we expect. Also one of the purposes of beta is
encouraging users to test out the beta. Adding to the page will give
more chances to potential beta testers, I think.

I don’t disagree. I need to make a test to see if this is possible with
the current pgweb configuration.

I will make a test on my local copy of pgweb to see how easy it is to add
11
to the list. I will report back if it is easy or not. If the former, I’ll
make the suggestion
of adding it to the site and see if there are any objections.

So to get this to work we need to follow the standard process of adding in
a new version to the feature matrix:

1. Write a migration to support “v11” in the Feature model
2. Add in the new features

The one thing currently is that unless something in the code is changed, it
displays the full version number (e.g. “11”) without any indication of it
being
in beta. Experimenting with the code, I don’t think it would be difficult
to add
that in, but it is non trivial and I may have to change some of the
sorting code
we are currently using.

tl;dr

If we’re ok with displaying “11” early without any indication of beta,
this is trivial
and we just need to create the migration. If not, then it’s a bit of work,
but it
may be worthwhile.

Thoughts?

I think it's perfectly fine to show it as 11.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/&gt;
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/&gt;

#7Jonathan S. Katz
jkatz@postgresql.org
In reply to: Magnus Hagander (#6)
1 attachment(s)
Re: Add PostgreSQL 11 to feature matrix page?

On Jun 6, 2018, at 9:09 AM, Magnus Hagander <magnus@hagander.net> wrote:

On Tue, Jun 5, 2018 at 1:59 AM, Jonathan S. Katz <jkatz@postgresql.org <mailto:jkatz@postgresql.org>> wrote:

On Jun 4, 2018, at 7:08 PM, Jonathan S. Katz <jkatz@postgresql.org <mailto:jkatz@postgresql.org>> wrote:

On May 24, 2018, at 10:09 PM, Tatsuo Ishii <ishii@sraoss.co.jp <mailto:ishii@sraoss.co.jp>> wrote:

[Moved to pgsql-www]

Sorry for the slow reply!

Adding PostgreSQL 11 to the page will give users at-a-glance-dfference
between 11 and previous releases, which could bring clearner image of
11 to the users.

I do like this idea, but there are a few things to consider:

1. Traditionally, we’ve waited until closer to release (I believe RCs) before
putting them up, due to the fact features can change. It is simple to remove
features from the feature matrix, but I think it’s part of the final packaging to
include the full list of features.

But by definition, all features in beta (at least major ones) are
freezed and should not be changed unless there's a serious
technical/none technical issue. So the features in the matrix would
not be changed we expect. Also one of the purposes of beta is
encouraging users to test out the beta. Adding to the page will give
more chances to potential beta testers, I think.

I don’t disagree. I need to make a test to see if this is possible with
the current pgweb configuration.

I will make a test on my local copy of pgweb to see how easy it is to add 11
to the list. I will report back if it is easy or not. If the former, I’ll make the suggestion
of adding it to the site and see if there are any objections.

So to get this to work we need to follow the standard process of adding in
a new version to the feature matrix:

1. Write a migration to support “v11” in the Feature model
2. Add in the new features

The one thing currently is that unless something in the code is changed, it
displays the full version number (e.g. “11”) without any indication of it being
in beta. Experimenting with the code, I don’t think it would be difficult to add
that in, but it is non trivial and I may have to change some of the sorting code
we are currently using.

tl;dr

If we’re ok with displaying “11” early without any indication of beta, this is trivial
and we just need to create the migration. If not, then it’s a bit of work, but it
may be worthwhile.

Thoughts?

I think it's perfectly fine to show it as 11.

See attached for review. This follows the standard format we have used for
adding new versions to the feature matrix.

Thanks,

Jonathan

Attachments:

0001-Add-v11-to-the-PostgreSQL-Feature-Matrix.patchapplication/octet-stream; name=0001-Add-v11-to-the-PostgreSQL-Feature-Matrix.patch; x-unix-mode=0644Download
From d057344cf2e38d35d453bbe7b4f0d321f08dc7df Mon Sep 17 00:00:00 2001
From: "Jonathan S. Katz" <jonathan.katz@excoventures.com>
Date: Wed, 6 Jun 2018 10:33:50 -0400
Subject: [PATCH] Add "v11" to the PostgreSQL Feature Matrix.

This will allow us to populate new features added to PostgreSQL 11
earlier in the release lifecycle to help drive more awareness to
what has changed.
---
 pgweb/featurematrix/migrations/0004_feature_v11.py | 21 +++++++++++++++++++++
 pgweb/featurematrix/models.py                      |  1 +
 2 files changed, 22 insertions(+)
 create mode 100644 pgweb/featurematrix/migrations/0004_feature_v11.py

diff --git a/pgweb/featurematrix/migrations/0004_feature_v11.py b/pgweb/featurematrix/migrations/0004_feature_v11.py
new file mode 100644
index 0000000..70060d5
--- /dev/null
+++ b/pgweb/featurematrix/migrations/0004_feature_v11.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.13 on 2018-06-06 14:31
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('featurematrix', '0003_feature_v10'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='feature',
+            name='v11',
+            field=models.IntegerField(choices=[(0, b'No'), (1, b'Yes'), (2, b'Obsolete'), (3, b'?')], default=0, verbose_name=b'11'),
+        ),
+        migrations.RunSQL("UPDATE featurematrix_feature SET v11=v10 WHERE NOT v11=v10"),
+    ]
diff --git a/pgweb/featurematrix/models.py b/pgweb/featurematrix/models.py
index fe6eae0..433e3c3 100644
--- a/pgweb/featurematrix/models.py
+++ b/pgweb/featurematrix/models.py
@@ -43,6 +43,7 @@ class Feature(models.Model):
 	v95 = models.IntegerField(verbose_name="9.5", null=False, blank=False, default=0, choices=choices)
 	v96 = models.IntegerField(verbose_name="9.6", null=False, blank=False, default=0, choices=choices)
 	v10 = models.IntegerField(verbose_name="10", null=False, blank=False, default=0, choices=choices)
+	v11 = models.IntegerField(verbose_name="11", null=False, blank=False, default=0, choices=choices)
 
 	purge_urls = ('/about/featurematrix/.*', )
 
-- 
2.14.3 (Apple Git-98)

#8Jonathan S. Katz
jkatz@postgresql.org
In reply to: Jonathan S. Katz (#7)
Re: Add PostgreSQL 11 to feature matrix page?

On Jun 6, 2018, at 10:35 AM, Jonathan S. Katz <jkatz@postgresql.org> wrote:

On Jun 6, 2018, at 9:09 AM, Magnus Hagander <magnus@hagander.net <mailto:magnus@hagander.net>> wrote:

On Tue, Jun 5, 2018 at 1:59 AM, Jonathan S. Katz <jkatz@postgresql.org <mailto:jkatz@postgresql.org>> wrote:

On Jun 4, 2018, at 7:08 PM, Jonathan S. Katz <jkatz@postgresql.org <mailto:jkatz@postgresql.org>> wrote:

On May 24, 2018, at 10:09 PM, Tatsuo Ishii <ishii@sraoss.co.jp <mailto:ishii@sraoss.co.jp>> wrote:

[Moved to pgsql-www]

Sorry for the slow reply!

Adding PostgreSQL 11 to the page will give users at-a-glance-dfference
between 11 and previous releases, which could bring clearner image of
11 to the users.

I do like this idea, but there are a few things to consider:

1. Traditionally, we’ve waited until closer to release (I believe RCs) before
putting them up, due to the fact features can change. It is simple to remove
features from the feature matrix, but I think it’s part of the final packaging to
include the full list of features.

But by definition, all features in beta (at least major ones) are
freezed and should not be changed unless there's a serious
technical/none technical issue. So the features in the matrix would
not be changed we expect. Also one of the purposes of beta is
encouraging users to test out the beta. Adding to the page will give
more chances to potential beta testers, I think.

I don’t disagree. I need to make a test to see if this is possible with
the current pgweb configuration.

I will make a test on my local copy of pgweb to see how easy it is to add 11
to the list. I will report back if it is easy or not. If the former, I’ll make the suggestion
of adding it to the site and see if there are any objections.

So to get this to work we need to follow the standard process of adding in
a new version to the feature matrix:

1. Write a migration to support “v11” in the Feature model
2. Add in the new features

The one thing currently is that unless something in the code is changed, it
displays the full version number (e.g. “11”) without any indication of it being
in beta. Experimenting with the code, I don’t think it would be difficult to add
that in, but it is non trivial and I may have to change some of the sorting code
we are currently using.

tl;dr

If we’re ok with displaying “11” early without any indication of beta, this is trivial
and we just need to create the migration. If not, then it’s a bit of work, but it
may be worthwhile.

Thoughts?

I think it's perfectly fine to show it as 11.

See attached for review. This follows the standard format we have used for
adding new versions to the feature matrix.

This patch has been applied.

I’ve added a few of the PostgreSQL 11 features into the matrix just to get a basic
list going:

https://www.postgresql.org/about/featurematrix/ <https://www.postgresql.org/about/featurematrix/&gt;

Skimming through it, we may be due for some reorganization and some new
categories, e.g. “Partitioning,” “Indexing” etc.

I can think of some others after looking at it more thoroughly.

Thanks,

Jonathan

#9Tatsuo Ishii
ishii@sraoss.co.jp
In reply to: Jonathan S. Katz (#8)
Re: Add PostgreSQL 11 to feature matrix page?

On Jun 6, 2018, at 10:35 AM, Jonathan S. Katz <jkatz@postgresql.org> wrote:

On Jun 6, 2018, at 9:09 AM, Magnus Hagander <magnus@hagander.net <mailto:magnus@hagander.net>> wrote:

On Tue, Jun 5, 2018 at 1:59 AM, Jonathan S. Katz <jkatz@postgresql.org <mailto:jkatz@postgresql.org>> wrote:

On Jun 4, 2018, at 7:08 PM, Jonathan S. Katz <jkatz@postgresql.org <mailto:jkatz@postgresql.org>> wrote:

On May 24, 2018, at 10:09 PM, Tatsuo Ishii <ishii@sraoss.co.jp <mailto:ishii@sraoss.co.jp>> wrote:

[Moved to pgsql-www]

Sorry for the slow reply!

Adding PostgreSQL 11 to the page will give users at-a-glance-dfference
between 11 and previous releases, which could bring clearner image of
11 to the users.

I do like this idea, but there are a few things to consider:

1. Traditionally, we’ve waited until closer to release (I believe RCs) before
putting them up, due to the fact features can change. It is simple to remove
features from the feature matrix, but I think it’s part of the final packaging to
include the full list of features.

But by definition, all features in beta (at least major ones) are
freezed and should not be changed unless there's a serious
technical/none technical issue. So the features in the matrix would
not be changed we expect. Also one of the purposes of beta is
encouraging users to test out the beta. Adding to the page will give
more chances to potential beta testers, I think.

I don’t disagree. I need to make a test to see if this is possible with
the current pgweb configuration.

I will make a test on my local copy of pgweb to see how easy it is to add 11
to the list. I will report back if it is easy or not. If the former, I’ll make the suggestion
of adding it to the site and see if there are any objections.

So to get this to work we need to follow the standard process of adding in
a new version to the feature matrix:

1. Write a migration to support “v11” in the Feature model
2. Add in the new features

The one thing currently is that unless something in the code is changed, it
displays the full version number (e.g. “11”) without any indication of it being
in beta. Experimenting with the code, I don’t think it would be difficult to add
that in, but it is non trivial and I may have to change some of the sorting code
we are currently using.

tl;dr

If we’re ok with displaying “11” early without any indication of beta, this is trivial
and we just need to create the migration. If not, then it’s a bit of work, but it
may be worthwhile.

Thoughts?

I think it's perfectly fine to show it as 11.

See attached for review. This follows the standard format we have used for
adding new versions to the feature matrix.

This patch has been applied.

I’ve added a few of the PostgreSQL 11 features into the matrix just to get a basic
list going:

https://www.postgresql.org/about/featurematrix/ <https://www.postgresql.org/about/featurematrix/&gt;

Skimming through it, we may be due for some reorganization and some new
categories, e.g. “Partitioning,” “Indexing” etc.

I can think of some others after looking at it more thoroughly.

This is very helpful. Thanks!

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp