Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ on:
workflow_dispatch:
inputs:
pg_client_version:
description: 'pg_client extension version fetched from extension.ladybugdb.com (default: 0.21.0)'
description: 'pg_client extension version fetched from extension.ladybugdb.com (default: 0.19.0)'
required: false
default: '0.21.0'
default: '0.19.0'
env:
# Version of the pg_client extension fetched from
# https://extension.ladybugdb.com/<ver>/linux_amd64/pg_client/...
# Overridable via the workflow_dispatch `pg_client_version` input.
# Tracks the Ladybug minor line (0.21.x); patch releases share the
# minor-line pg_client build, so 0.21.0 pairs with liblbug 0.21.2.
PG_CLIENT_VERSION: ${{ inputs.pg_client_version || '0.21.0' }}
PG_CLIENT_VERSION: ${{ inputs.pg_client_version || '0.19.0' }}
jobs:
test:
# Per-version gate on real PostgreSQL servers via the official PGXN
Expand Down
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ We also support a second mode: run Cypher only queries that don't access Postgre

- **PostgreSQL 17+** (tested on 17 and 18)
- **pg_config** (postgresql-server-dev package)
- **`liblbug.so` v0.21.2+** (Ladybug engine shared library; see Installation)
- **`liblbug.so` v0.19.0+** (Ladybug engine shared library; see Installation)
- **`libpg_client.lbug_extension`** (pg_client extension for ATTACH; see Installation)
- **OpenSSL** (liblbug requires `libssl`/`libcrypto`)

## Installation

### 1. Download liblbug and pg_client

You need **liblbug v0.21.2 or later** and the **pg_client extension** (v0.21.0+).
You need **liblbug v0.19.0 or later** and the **pg_client extension**.

```bash
# Download liblbug v0.21.2 (shared library)
# Download liblbug v0.19.0 (shared library)
# Set LBUG_VERSION or use a nightly build RUN_ID
export LBUG_PRECOMPILED_RUN_ID=<run_id>
export LBUG_TARGET_DIR=./lib
Expand All @@ -52,8 +52,8 @@ The `lib/` directory should contain:
```
lib/
├── liblbug.so -> liblbug.so.0
├── liblbug.so.0 -> liblbug.so.0.21.2
├── liblbug.so.0.21.2
├── liblbug.so.0 -> liblbug.so.0.19.0.*
├── liblbug.so.0.19.0.*
└── libpg_client.lbug_extension
```

Expand Down Expand Up @@ -237,15 +237,7 @@ via libpq, making it compatible with all PostgreSQL versions.

## Updating liblbug

This repo currently targets **liblbug 0.21.2** with **pg_client 0.21.0**
(pg_client tracks the Ladybug minor line, so 0.21.0 pairs with liblbug
0.21.x) and **Icebug 13.2** for data-science / Icebug-disk workflows.

```bash
# Download a pinned release
LBUG_VERSION=0.21.2 LBUG_TARGET_DIR=./lib LBUG_LIB_KIND=shared bash scripts/download-liblbug.sh
curl -fSL "https://extension.ladybugdb.com/v0.21.0/linux_amd64/pg_client/libpg_client.lbug_extension" -o lib/libpg_client.lbug_extension

# Download a specific nightly build
export LBUG_PRECOMPILED_RUN_ID=<run_id>
bash scripts/download-liblbug.sh
Expand Down
Loading