Skip to content

Add FreeBSD 13/14 support#169

Open
derkan wants to merge 9 commits intofergusstrange:masterfrom
derkan:codex/freebsd13-support
Open

Add FreeBSD 13/14 support#169
derkan wants to merge 9 commits intofergusstrange:masterfrom
derkan:codex/freebsd13-support

Conversation

@derkan
Copy link
Copy Markdown

@derkan derkan commented Apr 5, 2026

This adds initial FreeBSD support for embedded-postgres.

What is included:

  • default FreeBSD amd64 artifact resolution to the freebsd13 line
  • explicit platform override support via Config.Platform(...)
  • support for selecting freebsd14 explicitly
  • FreeBSD root/runtime handling so initdb and pg_ctl run as an unprivileged user
  • example test configuration for local FreeBSD bundle testing

Validated with embedded-postgres-binaries artifacts:

  • freebsd13 bundle on FreeBSD 13.5
  • freebsd13 bundle on FreeBSD 14.4
  • freebsd14 bundle on FreeBSD 14.4
  • freebsd14 bundle on FreeBSD 15.0

Merging this should wait for zonkyio/embedded-postgres-binaries#110 to be accepted, since it provides the FreeBSD artifact line this change depends on.

derkan added 9 commits April 5, 2026 11:05
This commit introduces safe connection defaults for PostgreSQL, including UTF8 encoding and standardized strings. Additionally, it implements FreeBSD 14-specific build tasks, ensures compatibility in manifest templates, and adapts testing to reflect these updates. Tailwind CSS assets have also been streamlined.
Consolidated SQLite-to-Postgres migration logic into `lite2pg`, replacing the older script. Improved FreeBSD support by adding ICU copy hints for PostgreSQL and updating related build processes. Included enhancements to error handling for backup commands and streamlined OTP login flow.
Added customizable startup parameters and log directory support for embedded Postgres. Introduced runtime configuration checks and warnings for required restarts when settings change to improve usability and debugging.
Consolidated SIP payload header parsing into a dedicated reusable function, reducing redundancy and improving maintainability. Updated the relevant tests and logic to leverage the new implementation, ensuring consistent behavior across SIP header extraction processes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant