DOCS - Question about pg_sequences.last_value notes
Thread notes
1 note#docs
hackorum-bot#docs
@global #docs
Hi,
I noticed the pg_sequences system-view DOCS page [1]https://www.postgresql.org/docs/devel/view-pg-sequences.html has a note about
the 'last_value' field. But the note is not within the row for that
field. Indeed, it is not even within the table.
Is it deliberate? Apparently, this changed in commit 3cb2f13 [2]https://github.com/postgres/postgres/commit/3cb2f13ac500983c9c6b1eef3b3c2091c26f3040, so
CC-ing author Nathan.
My attached patch just moved the paragraph into the row where I felt
it belonged.
======
[1]: https://www.postgresql.org/docs/devel/view-pg-sequences.html
[2]: https://github.com/postgres/postgres/commit/3cb2f13ac500983c9c6b1eef3b3c2091c26f3040
Kind Regards,
Peter Smith.
Fujitsu Australia
On Thu, Feb 13, 2025 at 03:59:45PM +1100, Peter Smith wrote:
I noticed the pg_sequences system-view DOCS page [1] has a note about
the 'last_value' field. But the note is not within the row for that
field. Indeed, it is not even within the table.Is it deliberate? Apparently, this changed in commit 3cb2f13 [2], so
CC-ing author Nathan.
Yes, this was intentional. I felt this was too much information to squeeze
into the table, and so I followed the example of pg_user_mappings [0]https://www.postgresql.org/docs/devel/view-pg-user-mappings.html and
placed it below.
[0]: https://www.postgresql.org/docs/devel/view-pg-user-mappings.html
--
nathan
On Fri, Feb 14, 2025 at 8:35 AM Nathan Bossart <nathandbossart@gmail.com> wrote:
On Thu, Feb 13, 2025 at 03:59:45PM +1100, Peter Smith wrote:
I noticed the pg_sequences system-view DOCS page [1] has a note about
the 'last_value' field. But the note is not within the row for that
field. Indeed, it is not even within the table.Is it deliberate? Apparently, this changed in commit 3cb2f13 [2], so
CC-ing author Nathan.Yes, this was intentional. I felt this was too much information to squeeze
into the table, and so I followed the example of pg_user_mappings [0] and
placed it below.[0] https://www.postgresql.org/docs/devel/view-pg-user-mappings.html
OK. Thanks for the explanation.
======
Kind Regards,
Peter Smith.
Fujitsu Australia