Skip to content

fix: Correct Redshift pg_port default and add missing sslmode values#1671

Merged
lukekim merged 1 commit into
trunkfrom
fix/redshift-port-default-and-sslmode
May 7, 2026
Merged

fix: Correct Redshift pg_port default and add missing sslmode values#1671
lukekim merged 1 commit into
trunkfrom
fix/redshift-port-default-and-sslmode

Conversation

@claudespice
Copy link
Copy Markdown
Collaborator

Summary

  • pg_port description corrected across all doc versions (vNext + 1.6.x through 1.11.x): The docs previously stated pg_port defaults to 5439. The Postgres connector code (connector-postgres/src/lib.rs) has no .default() call on the port parameter — the underlying tokio-postgres default is 5432, not 5439. Port 5439 is Redshift's standard port but is not a Spice-level default. Updated the description to: "The PostgreSQL TCP port. Redshift uses port 5439 by default — set this explicitly."
  • pg_sslmode values completed in vNext docs: The vNext parameter table listed only prefer, require, verify-ca, verify-full. The code's one_of constraint also includes disable and allow. Added these two missing values. Older versioned docs use a vaguer description (e.g., prefer) and were left as-is.

Test plan

  • Verify no remaining (default: 5439) text in any Redshift connector doc parameter table
  • Verify vNext pg_sslmode row lists all six modes: disable, allow, prefer, require, verify-ca, verify-full
  • Confirm YAML examples still show pg_port: 5439 (correct — examples demonstrate the recommended explicit value)

The Redshift docs incorrectly claimed pg_port defaults to 5439. The
Postgres connector code has no .default() call on the port parameter,
so the underlying tokio-postgres default of 5432 applies. Port 5439 is
Redshift's standard port but not a Spice-level default. Updated the
description across all doc versions to clarify that users should set
this value explicitly.

Also added the missing `disable` and `allow` values to the pg_sslmode
parameter description in the vNext docs, matching the code's one_of
constraint.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

✅ Pull with Spice Passed

Passing checks:

  • ✅ Title meets minimum length requirement (10 characters)
  • ✅ Has at least one of the required labels: area/blog, area/docs, area/cookbook, dependencies
  • ✅ No banned labels detected
  • ✅ Has at least one assignee: claudespice

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

🚀 deployed to https://a7c1f64c.spiceai-org-website.pages.dev

@lukekim lukekim merged commit 8e60476 into trunk May 7, 2026
6 of 10 checks passed
@lukekim lukekim deleted the fix/redshift-port-default-and-sslmode branch May 7, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants