Dedupe Livesync replication and Sync from PostgreSQL docs - #430
Merged
Conversation
Extract shared content from the Livesync replication page into reusable partials so both the migration page and the Sync from PostgreSQL connector page can import them instead of duplicating content: - _livesync-source-setup.mdx: 5-provider WAL params + migration user (SUPERUSER note, Azure carve-out, all-schemas grant) with pg_hba.conf note - _livesync-connection-string-note.mdx: URL-encoding note for postgres:// URIs - _livesync-replication-identity.mdx: auto-generating replica identity SQL - _livesync-publication.mdx: CREATE PUBLICATION, add/drop, publish_via_partition_root - _livesync-docker-run.mdx: docker run daemon + flag table - _livesync-monitor.mdx: logs, table sync state, COPY progress, lag queries - _livesync-sequence-reset.mdx: copy-sequences command + manual SQL - _livesync-cleanup.mdx: drop sub-command + WAL retention warning - _livesync-analyze.mdx: vacuumdb --analyze - _livesync-console-wizard.mdx: rich Console wizard steps (images, SSH tunneling, IDC workers, publication selection)
…ntent _livesync-console.mdx: drop inline source-tuning tabs and connection-string duplication; import _livesync-source-setup, _livesync-connection-string-note, and the new _livesync-console-wizard partial for the wizard steps. _livesync-terminal.mdx: replace inline WAL/user/replication-identity, publication, docker-run, monitor, sequence-reset, cleanup, and ANALYZE sections with imports of the new shared partials. Retain page-specific prerequisites, pg_dump schema migration, and hypertable conversion.
Replace inline source setup, replication identity, publication, docker run, monitor, sequence reset, cleanup, and analyze sections with imports of the new shared partials. Replace the lean inline Console tab with the rich _livesync-console-wizard partial. Add the connection-string note after the Prerequisites env-var block. All migration-only content (roles dump, schema migration, post-sync policies, cutover, limitations) stays inline.
These partials are fully replaced by the new shared _livesync-* partials: - _livesync-configure-source-database.mdx → _livesync-source-setup.mdx - _livesync-configure-source-database-awsrds.mdx → _livesync-source-setup.mdx - _migrate_live_tune_source_database_awsrds.mdx → _livesync-source-setup.mdx - _migrate_live_setup_enable_replication.mdx → _livesync-replication-identity.mdx Verified zero remaining importers before deletion.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
arajkumar
requested review from
VineethReddy02 and
atovpeko
and removed request for
VineethReddy02
July 30, 2026 10:24
Replace the inline examples (@ -> %40, etc.) with an interactive PasswordEncoder component that URL-encodes a pasted password live using encodeURIComponent, with a copy button for the result. The note text is trimmed to the essential guidance: encode special chars or use keyword=value format; see libpq docs.
Add a descriptive hint below the input explaining what the box does
('Enter your password to get the URL-encoded version'). Also note that
URI-safe characters like *, ~, ., -, _ are intentionally left as-is,
since encodeURIComponent correctly skips unreserved characters per RFC 3986.
Show a working keyword=value example with host, port, dbname, user, and a single-quoted password containing special characters, so users see directly how to avoid URL-encoding.
arajkumar
marked this pull request as ready for review
July 30, 2026 10:41
✅ Checklist CompleteThank you for taking the time to properly review your PR! All checklist items are complete. |
Reorder so the flow is: problem statement, encoding tool, then the keyword=value alternative. Reads more naturally than introducing the alternative before the encoder. Signed-off-by: Arunprasad Rajkumar <ar.arunprasad@gmail.com>
arajkumar
force-pushed
the
arajkumar/improve-pg-connector-setup
branch
from
July 30, 2026 10:48
e6e9b9a to
d48011c
Compare
| <Callout variant="note"> | ||
| When using the `postgres://user:pass@host:port/db` URI format, URL-encode special characters in the password to avoid URL-parsing errors. | ||
|
|
||
| <PasswordEncoder client:load /> |
Contributor
There was a problem hiding this comment.
I don't know if I like us asking customers to put their database credentials here. I know it's optional and we don't store it.
At least lets add some alternatives, like how to encode it yourself on the terminal.
Member
Author
Add Python, Node.js, and jq one-liner commands for users who prefer not to paste their password into a form. All three run locally; nothing is sent anywhere.
Pass the password as argv[1] (single-quoted) instead of embedding it in the inline script. Avoids escaping issues with special characters in the script string itself.
Move the 'nothing is sent or stored' note up to sit directly after the PasswordEncoder, where users actually paste their password, instead of burying it in the terminal-alternatives paragraph.
atovpeko
approved these changes
Jul 31, 2026
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.

Describe your changes
The "Livesync replication" and "Sync from PostgreSQL" pages duplicated the same steps (source setup, publication, docker run, monitoring, sequences, cleanup) and had drifted apart. Both share the same underlying technology, so the duplication caused maintenance problems and divergence.
This PR makes the Livesync replication page the source of truth and extracts the shared content into reusable partials. Both pages now import those partials.
Shared partials added (sourced from Livesync replication):
New content added to the shared partials:
postgres://connection strings. Added an interactive component to help URL encoding.pg_hba.confwhen the migration user isn't allowed by defaultBugs fixed:
4 superseded partials deleted:
_livesync-configure-source-database.mdx,_livesync-configure-source-database-awsrds.mdx,_migrate_live_tune_source_database_awsrds.mdx,_migrate_live_setup_enable_replication.mdxNet: ~440 lines removed while adding content and broadening the connector page.
Affected pages
/integrate/connectors/source/sync-from-postgres
/migrate/livesync-for-postgresql
/migrate/livesync-replication
🧪 Component kitchen sink — check for visual regressions if you changed components, styles, or dependencies.
Related Issues
If there is a related issue, please add it below (just put the number after the # below, and GitHub will automatically create a link):
Issue:
https://linear.app/tigerdata/issue/CON-2058
https://linear.app/tigerdata/issue/CON-2057
Checklist before requesting a review