Skip to content

Releases: krokozyab/ofpgproxy

Release list

ofpgproxy v0.2.1

Choose a tag to compare

@krokozyab krokozyab released this 28 Apr 12:02

ofpgproxy v0.2.1

What's new

  • New flag --soap-concurrency (env FUSION_SOAP_CONCURRENCY, default 1) — raise to 2-4 for IDE-heavy use; serialised default mirrors ofjdbc and protects the tenant from session-pile-up.
  • DBVisualizer recognised as an IDE client (application_name='dbvis') — gets the auto-pagination treatment instead of being shipped a full-table SELECT that hung BIP.

Download

Platform File Size
macOS · Apple Silicon ofpgproxy_0.2.1_darwin_arm64.zip 24 MB
Windows · x64 ofpgproxy_0.2.1_windows_amd64.zip 27 MB
Metadata catalog (required, shared across platforms) ofpgproxy-catalog_0.2.1.zip 39 MB
Checksums SHA256SUMS 1 KB

The metadata catalog is unchanged from v0.2.0 — Fusion schema is static, the same metadata.db is served under the new version filename for consistency.

.env.example ships inside each platform zip alongside the binary.

Install — macOS (Apple Silicon)

  1. Download ofpgproxy_0.2.1_darwin_arm64.zip and ofpgproxy-catalog_0.2.1.zip.

  2. Double-click each in Finder to unzip.

  3. Move metadata.db next to the binary, open Terminal in that folder:

    xattr -d com.apple.quarantine ofpgproxy   # first run only — clears Gatekeeper flag
    chmod +x ofpgproxy                        # if Finder dropped the exec bit
    
    cp .env.example .env
    $EDITOR .env                              # set FUSION_HOST, FUSION_SQL_REPORT_PATH, etc.
    
    set -a; source ./.env; set +a
    ./ofpgproxy --listen 127.0.0.1:5433 --metadata-path ./metadata.db

Install — Windows x64

  1. Download ofpgproxy_0.2.1_windows_amd64.zip and ofpgproxy-catalog_0.2.1.zip.

  2. Right-click each in File Explorer → Extract All….

  3. Move metadata.db next to ofpgproxy.exe, open PowerShell in that folder:

    Copy-Item .env.example .env
    notepad .env
    
    Get-Content .env | ForEach-Object {
      if ($_ -match '^\s*([^#=]+)=(.*)$') { Set-Item "Env:$($Matches[1].Trim())" $Matches[2].Trim() }
    }
    .\ofpgproxy.exe --listen 127.0.0.1:5433 --metadata-path .\metadata.db

On first launch Windows SmartScreen may say "Windows protected your PC" — click More info → Run anyway (binary is not EV-signed).

Verify

# macOS / Linux
shasum -a 256 -c SHA256SUMS --ignore-missing

# Windows PowerShell
Get-FileHash ofpgproxy_0.2.1_windows_amd64.zip -Algorithm SHA256

Checksums

b2dc874c65b9c45b90ac3637ed8f7d9aaf72983d0c43623899530a949987a83c  ofpgproxy_0.2.1_darwin_arm64.zip
9e30af17b61e334a67538619ef4ec7a2ef7792551f1b4f6f9db1b5cec0909e44  ofpgproxy_0.2.1_windows_amd64.zip
cfdbdfb794591da92ad8e8b26cfa809f41ac78017b8f21b9cb46931f57c88c86  ofpgproxy-catalog_0.2.1.zip