cutting down the TODO list thread
As I mentioned in [1]/messages/by-id/CAFBsxsHbqMzDoGB3eAGmpcpB+7uae+LLi_G+o8HMEECM9CbQcQ@mail.gmail.com, I've volunteered to clear out the TODO list of items
that appear to be too difficult, controversial, or otherwise not worth
doing to warrant being listed there. I'll be working a few sections at a
time, and every so often I'll have a list of proposed items for removal. If
I don't hear objections, I'll remove the items after a few days while going
through the next set.
Where there's an email thread, I've skimmed a few messages to get a sense
of the community's thoughts on it. Where easily determined, I've taken age
into account, insofar as something from 2017 is going to get much more
benefit of doubt than something from 2008. I've added after each item a
phrase that sums up the reason I believe it doesn't belong anymore.
Feedback welcome, of course, although I suspect there won't be much.
**Administration
- Have custom variables be transaction-safe
Old and found to be difficult after attempting
- Allow custom variables to appear in pg_settings()
Old and controversial
- Implement the SQL-standard mechanism whereby REVOKE ROLE revokes only the
privilege granted by the invoking role, and not those granted by other roles
Old and difficult
- Prevent query cancel packets from being replayed by an attacker,
especially when using SSL
Old and difficult
*Configuration files
- Consider normalizing fractions in postgresql.conf, perhaps using '%'
At the time (2007), some gucs used an actual percentage.
- Add external tool to auto-tune some postgresql.conf parameters
There are already out-of-core tools that try to do this.
- Create utility to compute accurate random_page_cost value
Seems outdated: In the current age of SSDs and cloud environments, it's
often just set to 1.1, and there hasn't been a demand to be more accurate
than that.
- Allow synchronous_standby_names to be disabled after communication
failure with all synchronous standby servers exceeds some timeout
Controversial
- Adjust rounding behavior for numeric GUC values
Controversial
*Tablespaces
- Allow WAL replay of CREATE TABLESPACE to work when the directory
structure on the recovery computer is different from the original
Thread quote: "part of the difficult, perhaps-not-worth doing impossible
problems"
- Allow per-tablespace quotas
This seems to point to the larger problem space of disk space monitoring,
and should probably be phrased thusly, and is a much bigger project or set
of projects.
- Allow tablespaces on RAM-based partitions for temporary objects
In the thread, what's desired is the ability to have some amount of
durability on a RAM-disk without WAL logging.
- Close race in DROP TABLESPACE on Windows
This refers to buildfarm failures from 2014.
*Statistics Collector
- Track number of WAL files ready to be archived in pg_stat_archiver
Thread quote: "pg_stat_archiver already has a column for
last_archived_wal and last_failed_wal, so you can already work out how many
files there must be between then and now"
*Point-In-Time Recovery
- Allow archive_mode to be changed without server restart
Controversial and old
*Standby server mode
- Allow pg_xlogfile_name() to be used in recovery mode
Controversial and old
- Change walsender so that it applies per-role settings
Old and possibly obsolete
--
[1]: /messages/by-id/CAFBsxsHbqMzDoGB3eAGmpcpB+7uae+LLi_G+o8HMEECM9CbQcQ@mail.gmail.com
/messages/by-id/CAFBsxsHbqMzDoGB3eAGmpcpB+7uae+LLi_G+o8HMEECM9CbQcQ@mail.gmail.com
--
John Naylor
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Hi,
On 2020-10-27 15:24:35 -0400, John Naylor wrote:
As I mentioned in [1], I've volunteered to clear out the TODO list of items
that appear to be too difficult, controversial, or otherwise not worth
doing to warrant being listed there. I'll be working a few sections at a
time, and every so often I'll have a list of proposed items for removal. If
I don't hear objections, I'll remove the items after a few days while going
through the next set.Where there's an email thread, I've skimmed a few messages to get a sense
of the community's thoughts on it. Where easily determined, I've taken age
into account, insofar as something from 2017 is going to get much more
benefit of doubt than something from 2008. I've added after each item a
phrase that sums up the reason I believe it doesn't belong anymore.
Feedback welcome, of course, although I suspect there won't be much.
- Prevent query cancel packets from being replayed by an attacker,
especially when using SSL
Old and difficult
FWIW, I don't think we should remove this. Our current solution has some
serious issues that we should address at some point.
- Allow WAL replay of CREATE TABLESPACE to work when the directory
structure on the recovery computer is different from the original
Thread quote: "part of the difficult, perhaps-not-worth doing impossible
problems"
I think we ought to do something here. Mostly because the current
situation makes it impossible to test many things on a single
system. And we have a partial solution with the tablespace mapping
files.
Greetings,
Andres Freund
On Tue, Oct 27, 2020 at 03:24:35PM -0400, John Naylor wrote:
As I mentioned in [1], I've volunteered to clear out the TODO list of items
that appear to be too difficult, controversial, or otherwise not worth doing to
warrant being listed there. I'll be working a few sections at a time, and every
so often I'll have a list of proposed items for removal. If I don't hear
objections, I'll remove the items after a few days while going through the next
set.Where there's an email thread, I've skimmed a few messages to get a sense of
the community's thoughts on it. Where easily determined, I've taken age into
account, insofar as something from 2017 is going to get much more benefit of
doubt than something from 2008. I've added after each item a phrase that sums
up the reason I believe it doesn't belong anymore. Feedback welcome, of course,
although I suspect there won't be much.
Thanks for working on this. It certainly needs new eyes (not mine). ;-)
I am fine reomving all the items below. I am kind of disappointed we
have these _stuck_ items, but I don't see a clear way forward, so let's
just remove them and see what requests we get for them.
---------------------------------------------------------------------------
**Administration
- Have custom variables be transaction-safe
� Old and found to be difficult after attempting- Allow custom variables to appear in pg_settings()
� Old and controversial- Implement the SQL-standard mechanism whereby REVOKE ROLE revokes only the
privilege granted by the invoking role, and not those granted by other roles
� Old and difficult- Prevent query cancel packets from being replayed by an attacker, especially
when using SSL
� Old and difficult*Configuration files
- Consider normalizing fractions in postgresql.conf, perhaps using '%'
� At the time (2007), some gucs used an actual percentage.- Add external tool to auto-tune some postgresql.conf parameters
� There are already out-of-core tools that try to do this.- Create utility to compute accurate random_page_cost value
� Seems outdated: In the current age of SSDs and cloud environments, it's often
just set to 1.1, and there hasn't been a demand to be more accurate than that.- Allow synchronous_standby_names to be disabled after communication failure
with all synchronous standby servers exceeds some timeout
� Controversial- Adjust rounding behavior for numeric GUC values
� Controversial*Tablespaces
- Allow WAL replay of CREATE TABLESPACE to work when the directory structure on
the recovery computer is different from the original
� Thread quote: "part of the difficult, perhaps-not-worth doing impossible
problems"- Allow per-tablespace quotas
� This seems to point to the larger problem space of disk space monitoring, and
should probably be phrased thusly, and is a much bigger project or set of
projects.- Allow tablespaces on RAM-based partitions for temporary objects
� In the thread, what's desired is the ability to have some amount of
durability on a RAM-disk without WAL logging.- Close race in DROP TABLESPACE on Windows
� This refers to buildfarm failures from 2014.*Statistics Collector
- Track number of WAL files ready to be archived in pg_stat_archiver
� Thread quote: "pg_stat_archiver already has a column for last_archived_wal
and last_failed_wal, so you can already work out how many files there must be
between then and now"*Point-In-Time Recovery
- Allow archive_mode to be changed without server restart
� Controversial and old*Standby server mode
- Allow pg_xlogfile_name() to be used in recovery mode
� Controversial and old- Change walsender so that it applies per-role settings
� Old and possibly obsolete
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
On Tue, Oct 27, 2020 at 03:46:14PM -0400, Bruce Momjian wrote:
On Tue, Oct 27, 2020 at 03:24:35PM -0400, John Naylor wrote:
As I mentioned in [1], I've volunteered to clear out the TODO list of items
that appear to be too difficult, controversial, or otherwise not worth doing to
warrant being listed there. I'll be working a few sections at a time, and every
so often I'll have a list of proposed items for removal. If I don't hear
objections, I'll remove the items after a few days while going through the next
set.Where there's an email thread, I've skimmed a few messages to get a sense of
the community's thoughts on it. Where easily determined, I've taken age into
account, insofar as something from 2017 is going to get much more benefit of
doubt than something from 2008. I've added after each item a phrase that sums
up the reason I believe it doesn't belong anymore. Feedback welcome, of course,
although I suspect there won't be much.Thanks for working on this. It certainly needs new eyes (not mine). ;-)
I am fine reomving all the items below. I am kind of disappointed we
have these _stuck_ items, but I don't see a clear way forward, so let's
just remove them and see what requests we get for them.
Do any of these limitations need to be documented before removing them
from the TODO list?
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
On Wed, Oct 28, 2020 at 8:36 AM Andres Freund <andres@anarazel.de> wrote:
On 2020-10-27 15:24:35 -0400, John Naylor wrote:
- Allow WAL replay of CREATE TABLESPACE to work when the directory
structure on the recovery computer is different from the original
Thread quote: "part of the difficult, perhaps-not-worth doing impossible
problems"I think we ought to do something here. Mostly because the current
situation makes it impossible to test many things on a single
system. And we have a partial solution with the tablespace mapping
files.
+1, we need to get something like this working so that we can write
decent replication tests. FWIW there was another little thread on the
topic, not listed there:
/messages/by-id/CALfoeisEF92F5nJ-aAcuWTvF_Aogxq_1bHLem_kVfM_tHc2mfg@mail.gmail.com
On Tue, Oct 27, 2020 at 4:00 PM Thomas Munro <thomas.munro@gmail.com> wrote:
On Wed, Oct 28, 2020 at 8:36 AM Andres Freund <andres@anarazel.de> wrote:
On 2020-10-27 15:24:35 -0400, John Naylor wrote:
- Allow WAL replay of CREATE TABLESPACE to work when the directory
structure on the recovery computer is different from the original
Thread quote: "part of the difficult, perhaps-not-worth doingimpossible
problems"
I think we ought to do something here. Mostly because the current
situation makes it impossible to test many things on a single
system. And we have a partial solution with the tablespace mapping
files.+1, we need to get something like this working so that we can write
decent replication tests. FWIW there was another little thread on the
topic, not listed there:/messages/by-id/CALfoeisEF92F5nJ-aAcuWTvF_Aogxq_1bHLem_kVfM_tHc2mfg@mail.gmail.com
Thanks, I've added this thread to the entry.
--
John Naylor
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Tue, Oct 27, 2020 at 3:52 PM Bruce Momjian <bruce@momjian.us> wrote:
Do any of these limitations need to be documented before removing them
from the TODO list?
I see two areas that might use a mention:
- pg_settings not displaying custom variables
- SQL standard difference with REVOKE ROLE (I haven't looked further into
this)
--
John Naylor
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Tue, Oct 27, 2020 at 04:54:24PM -0400, John Naylor wrote:
On Tue, Oct 27, 2020 at 3:52 PM Bruce Momjian <bruce@momjian.us> wrote:
Do any of these limitations need to be documented before removing them
from the TODO list?I see two areas that might use a mention:
- pg_settings not displaying custom variables
- SQL standard difference�with REVOKE ROLE (I haven't looked further into this)
OK, thanks. Do you want to work on a doc patch or should I? Having it
the docs at least warns our users.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
On Tue, Oct 27, 2020 at 8:25 PM John Naylor <john.naylor@enterprisedb.com>
wrote:
As I mentioned in [1], I've volunteered to clear out the TODO list of
items that appear to be too difficult, controversial, or otherwise not
worth doing to warrant being listed there. I'll be working a few sections
at a time, and every so often I'll have a list of proposed items for
removal. If I don't hear objections, I'll remove the items after a few days
while going through the next set.
I'm totally on board with cleaning the list up, but how about marking as
"won't fix" (or similar) instead of actually removing the items? That
should help to prevent the same exact items from appearing on the list
again, which they eventually would, I believe.
--
Alex
On Wed, 28 Oct 2020, 17:55 Oleksandr Shulgin <oleksandr.shulgin@zalando.de
wrote:
On Tue, Oct 27, 2020 at 8:25 PM John Naylor <john.naylor@enterprisedb.com>
wrote:As I mentioned in [1], I've volunteered to clear out the TODO list of
items that appear to be too difficult, controversial, or otherwise not
worth doing to warrant being listed there. I'll be working a few sections
at a time, and every so often I'll have a list of proposed items for
removal. If I don't hear objections, I'll remove the items after a few days
while going through the next set.I'm totally on board with cleaning the list up, but how about marking as
"won't fix" (or similar) instead of actually removing the items? That
should help to prevent the same exact items from appearing on the list
again, which they eventually would, I believe.
+1
Show quoted text
On Wed, Oct 28, 2020 at 11:15 AM Julien Rouhaud <rjuju123@gmail.com> wrote:
On Wed, 28 Oct 2020, 17:55 Oleksandr Shulgin <oleksandr.shulgin@zalando.de wrote:
On Tue, Oct 27, 2020 at 8:25 PM John Naylor <john.naylor@enterprisedb.com> wrote:
As I mentioned in [1], I've volunteered to clear out the TODO list of items that appear to be too difficult, controversial, or otherwise not worth doing to warrant being listed there. I'll be working a few sections at a time, and every so often I'll have a list of proposed items for removal. If I don't hear objections, I'll remove the items after a few days while going through the next set.
I'm totally on board with cleaning the list up, but how about marking as "won't fix" (or similar) instead of actually removing the items? That should help to prevent the same exact items from appearing on the list again, which they eventually would, I believe.
+1
A small technical detail on the topic but if doing that, let's not
mark them as that inline -- create a separate page with those items on
it.
--
Magnus Hagander
Me: https://www.hagander.net/
Work: https://www.redpill-linpro.com/
On Tue, Oct 27, 2020 at 6:05 PM Bruce Momjian <bruce@momjian.us> wrote:
On Tue, Oct 27, 2020 at 04:54:24PM -0400, John Naylor wrote:
On Tue, Oct 27, 2020 at 3:52 PM Bruce Momjian <bruce@momjian.us> wrote:
Do any of these limitations need to be documented before removing
them
from the TODO list?
I see two areas that might use a mention:
- pg_settings not displaying custom variables
- SQL standard difference with REVOKE ROLE (I haven't looked furtherinto this)
OK, thanks. Do you want to work on a doc patch or should I? Having it
the docs at least warns our users.
I'll work on that.
--
John Naylor
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Wed, Oct 28, 2020 at 6:52 AM Magnus Hagander <magnus@hagander.net> wrote:
On Wed, Oct 28, 2020 at 11:15 AM Julien Rouhaud <rjuju123@gmail.com>
wrote:On Wed, 28 Oct 2020, 17:55 Oleksandr Shulgin <
oleksandr.shulgin@zalando.de wrote:
I'm totally on board with cleaning the list up, but how about marking
as "won't fix" (or similar) instead of actually removing the items? That
should help to prevent the same exact items from appearing on the list
again, which they eventually would, I believe.+1
A small technical detail on the topic but if doing that, let's not
mark them as that inline -- create a separate page with those items on
it.
How about a section on the same page at the bottom, near "features we don't
want"?
--
John Naylor
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Wed, Oct 28, 2020 at 9:27 PM John Naylor
<john.naylor@enterprisedb.com> wrote:
On Wed, Oct 28, 2020 at 6:52 AM Magnus Hagander <magnus@hagander.net> wrote:
On Wed, Oct 28, 2020 at 11:15 AM Julien Rouhaud <rjuju123@gmail.com> wrote:
On Wed, 28 Oct 2020, 17:55 Oleksandr Shulgin <oleksandr.shulgin@zalando.de wrote:
I'm totally on board with cleaning the list up, but how about marking as "won't fix" (or similar) instead of actually removing the items? That should help to prevent the same exact items from appearing on the list again, which they eventually would, I believe.
+1
A small technical detail on the topic but if doing that, let's not
mark them as that inline -- create a separate page with those items on
it.How about a section on the same page at the bottom, near "features we don't want"?
Yes, that's what I was thinking, otherwise it'll still be too easy to miss.
On Wed, Oct 28, 2020 at 3:35 PM Julien Rouhaud <rjuju123@gmail.com> wrote:
On Wed, Oct 28, 2020 at 9:27 PM John Naylor
<john.naylor@enterprisedb.com> wrote:On Wed, Oct 28, 2020 at 6:52 AM Magnus Hagander <magnus@hagander.net> wrote:
On Wed, Oct 28, 2020 at 11:15 AM Julien Rouhaud <rjuju123@gmail.com> wrote:
On Wed, 28 Oct 2020, 17:55 Oleksandr Shulgin <oleksandr.shulgin@zalando.de wrote:
I'm totally on board with cleaning the list up, but how about marking as "won't fix" (or similar) instead of actually removing the items? That should help to prevent the same exact items from appearing on the list again, which they eventually would, I believe.
+1
A small technical detail on the topic but if doing that, let's not
mark them as that inline -- create a separate page with those items on
it.How about a section on the same page at the bottom, near "features we don't want"?
Yes, that's what I was thinking, otherwise it'll still be too easy to miss.
I would personally prefer a completely seprate page, but I don't feel
strongly enough about it to push for it :) As long as it's very
clearly marked as such (and maybe the title of the page also changed
to that it's a combined todo and todon't list? :)
--
Magnus Hagander
Me: https://www.hagander.net/
Work: https://www.redpill-linpro.com/
On 2020-10-28 16:20:03 +0100, Magnus Hagander wrote:
I would personally prefer a completely seprate page
Same.
On Wed, Oct 28, 2020 at 1:57 PM Andres Freund <andres@anarazel.de> wrote:
On 2020-10-28 16:20:03 +0100, Magnus Hagander wrote:
I would personally prefer a completely seprate page
Same.
Ok, that's two votes for a separate page, and one for a new section on the
same page, so it looks like it's a new page. That being the case, I would
think it logical to move "features we don't want" there. As for the name,
we should probably encompass both "won't fix" bugs and features not wanted.
Maybe "past development ideas" or "not worth doing", but I'm open to better
ideas. Once that's agreed upon, I'll make a new page and migrate the items
over, minus the two that were mentioned upthread.
--
John Naylor
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
I wrote:
Ok, that's two votes for a separate page, and one for a new section on the
same page, so it looks like it's a new page. That being the case, I would
think it logical to move "features we don't want" there. As for the name,
we should probably encompass both "won't fix" bugs and features not wanted.
Maybe "past development ideas" or "not worth doing", but I'm open to better
ideas. Once that's agreed upon, I'll make a new page and migrate the items
over, minus the two that were mentioned upthread.
Hearing no preference, I've created
https://wiki.postgresql.org/wiki/Not_Worth_Doing
...with links between the two. I've moved over the items I suggested
upthread, minus the two where I heard feedback otherwise (prevent replay of
query cancel packets and improve WAL replay of CREATE TABLESPACE)
I have patches for documenting some behavior we won't fix in [1]/messages/by-id/CAFBsxsGsBZsG=cLM0Op5HFb2Ks6SzJrOc_eRO_jcKSNuqFRKnQ@mail.gmail.com[2]/messages/by-id/CAFBsxsEmg=KQrEKxRLYGy0UjcFyck4vgxZKaLRwH_oLfj8OJnA@mail.gmail.com.
I was thinking of not having the next updates during commitfest, but it
could also be argued this is a type of review, and the things here will be
returned with feedback or rejected, in a way. Ultimately, it comes down to
"when time permits".
[1]: /messages/by-id/CAFBsxsGsBZsG=cLM0Op5HFb2Ks6SzJrOc_eRO_jcKSNuqFRKnQ@mail.gmail.com
/messages/by-id/CAFBsxsGsBZsG=cLM0Op5HFb2Ks6SzJrOc_eRO_jcKSNuqFRKnQ@mail.gmail.com
[2]: /messages/by-id/CAFBsxsEmg=KQrEKxRLYGy0UjcFyck4vgxZKaLRwH_oLfj8OJnA@mail.gmail.com
/messages/by-id/CAFBsxsEmg=KQrEKxRLYGy0UjcFyck4vgxZKaLRwH_oLfj8OJnA@mail.gmail.com
--
John Naylor
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Tue, Nov 3, 2020 at 02:06:13PM -0400, John Naylor wrote:
I was thinking of not having the next�updates�during commitfest, but it could
also be argued this is a type of review, and the things here will be returned
with feedback or rejected, in a way. Ultimately, it comes down to "when time
permits".
I don't understand what this is referring to. Thanks for the rest of
the work.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
On Tue, Nov 10, 2020 at 7:08 PM Bruce Momjian <bruce@momjian.us> wrote:
On Tue, Nov 3, 2020 at 02:06:13PM -0400, John Naylor wrote:
I was thinking of not having the next updates during commitfest, but it
could
also be argued this is a type of review, and the things here will be
returned
with feedback or rejected, in a way. Ultimately, it comes down to "when
time
permits".
I don't understand what this is referring to. Thanks for the rest of
the work.
This was awkwardly phrased, but I was concerned future proposals for
removal would be easy to miss during commitfest. At this point, I'm
thinking it isn't an issue.
--
John Naylor
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company