Skip to content

fix: Correct PostgreSQL accelerator connection pool parameter name and defaults#1528

Merged
lukekim merged 2 commits intotrunkfrom
fix/pg-accelerator-pool-params
Apr 21, 2026
Merged

fix: Correct PostgreSQL accelerator connection pool parameter name and defaults#1528
lukekim merged 2 commits intotrunkfrom
fix/pg-accelerator-pool-params

Conversation

@claudespice
Copy link
Copy Markdown
Collaborator

Summary

  • The PostgreSQL accelerator docs listed pg_connection_pool_min_idle with a default of 1, but the code defines the parameter as pg_connection_pool_min with a default of 5
  • The connection_pool_size default was documented as 5, but the code uses 10

Changes

  • Renamed pg_connection_pool_min_idlepg_connection_pool_min across all versioned docs (1.8.x–1.11.x) and vNext
  • Updated pg_connection_pool_min default from 15
  • Updated connection_pool_size default from 510

Reference

Verified against spiceai/spiceai at trunkcrates/runtime/src/dataaccelerator/postgres.rs (lines 61–62, 92–99)

Also verified at tags v1.8.0, v1.9.2, v1.10.4, v1.11.5 — same parameter name and defaults across all versions.

Claude added 2 commits April 18, 2026 03:11
…rsioned docs

Commit d5341c4 documented the Arrow nanosecond timestamp range
limitation (~1677–2262) for MSSQL and Oracle connectors, but only
in website/docs/ (vNext). The limitation existed in all prior versions
too — in versions 1.5.x–1.11.x, out-of-range timestamps silently
returned 1970-01-01 UTC instead of erroring.

Propagate the limitation note to all 7 versioned doc directories
(14 files total) with version-appropriate wording.
…d defaults

The docs listed pg_connection_pool_min_idle (default 1) and connection_pool_size
(default 5), but the code uses pg_connection_pool_min (default 5) and
connection_pool_size (default 10).
@claudespice claudespice added the bug Something isn't working label Apr 19, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 19, 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: lukekim

@github-actions
Copy link
Copy Markdown

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

@lukekim lukekim self-assigned this Apr 21, 2026
@lukekim lukekim merged commit 61c920c into trunk Apr 21, 2026
6 of 9 checks passed
@lukekim lukekim deleted the fix/pg-accelerator-pool-params branch April 21, 2026 18:30
Copilot AI pushed a commit that referenced this pull request Apr 21, 2026
…d defaults (#1528)

* fix: Add nanosecond timestamp range limitation to MSSQL and Oracle versioned docs

Commit d5341c4 documented the Arrow nanosecond timestamp range
limitation (~1677–2262) for MSSQL and Oracle connectors, but only
in website/docs/ (vNext). The limitation existed in all prior versions
too — in versions 1.5.x–1.11.x, out-of-range timestamps silently
returned 1970-01-01 UTC instead of erroring.

Propagate the limitation note to all 7 versioned doc directories
(14 files total) with version-appropriate wording.

* fix: Correct PostgreSQL accelerator connection pool parameter name and defaults

The docs listed pg_connection_pool_min_idle (default 1) and connection_pool_size
(default 5), but the code uses pg_connection_pool_min (default 5) and
connection_pool_size (default 10).

---------

Co-authored-by: Claude <claude@Claudes-Mini.localdomain>
Co-authored-by: lukekim <80174+lukekim@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants