Fix broken TOC anchor on the pg relations-v1-v2 page - #702
Open
alexandrosang21 wants to merge 1 commit into
Open
Fix broken TOC anchor on the pg relations-v1-v2 page#702alexandrosang21 wants to merge 1 commit into
alexandrosang21 wants to merge 1 commit into
Conversation
alexandrosang21
force-pushed
the
fix/pg-relations-v1-v2-toc-anchor
branch
from
July 29, 2026 12:25
f98f2f4 to
019c4d6
Compare
The 'How to migrate relations definition from v1 to v2' entry linked to #how-to-migrate-relations-schema-definition-from-v1-to, which matches no heading on the page, so clicking it did nothing. The heading is 'How to migrate relations schema definition from v1 to v2' and the mysql, sqlite and singlestore copies of the same page already link to it with the trailing -v2. pg was the only one missing it.
alexandrosang21
force-pushed
the
fix/pg-relations-v1-v2-toc-anchor
branch
from
July 29, 2026 12:48
019c4d6 to
be8e86b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The table of contents on the Postgres Migrating to Relational Queries version 2 page has
one entry that links to an anchor which doesn't exist, so clicking it does nothing:
The heading it should reach is
How to migrate relations schema definition from v1 to v2.The same page exists for four dialects with identical heading text, and the other three already
link to it correctly.
pgwas the only one missing the trailing-v2:...-from-v1-to-v2...-from-v1-to-v2...-from-v1-to-v2...-from-v1-toChecking every in-page anchor against every heading across all four files,
pgwas the onlybroken one, and it is the only line changed here.
Noticed via drizzle-team/drizzle-orm#5738, which reports a broken link on this page. That issue
points at the
New features in v2entry, which resolves to theWhat is new?heading and looksfine. The entry directly beneath it was genuinely broken, so it is likely what was actually hit.