Skip to content
Merged
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
48 changes: 21 additions & 27 deletions PACKAGE-INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Fast and simple installation of DocumentDB extension for PostgreSQL.

**Supported PostgreSQL Versions:** 15, 16, 17
**Supported PostgreSQL Versions:** 16, 17, 18

## Install Commands

Expand Down Expand Up @@ -52,7 +52,7 @@ You can install either the latest version or pin to a specific DocumentDB versio
sudo apt install postgresql-16-documentdb

# Pin to specific version (won't auto-update)
sudo apt install postgresql-16-documentdb=0.107-0
sudo apt install postgresql-16-documentdb=0.109-0

# List all available versions
apt-cache madison postgresql-16-documentdb
Expand All @@ -64,7 +64,7 @@ apt-cache madison postgresql-16-documentdb
sudo dnf install postgresql16-documentdb

# Pin to specific version (won't auto-update)
sudo dnf install postgresql16-documentdb-0.107.0-1.el9
sudo dnf install postgresql16-documentdb-0.109.0-1.el9

# List all available versions
dnf --showduplicates list postgresql16-documentdb
Expand Down Expand Up @@ -249,24 +249,18 @@ https://documentdb.github.io/
```
https://documentdb.io/
└── packages/ # All packages (direct download)
# DEB packages (version 0.107-0)
├── postgresql-15-documentdb_0.107-0_amd64.deb
├── postgresql-15-documentdb_0.107-0_arm64.deb
├── postgresql-15-documentdb-dbgsym_0.107-0_amd64.deb
├── postgresql-15-documentdb-dbgsym_0.107-0_arm64.deb
├── postgresql-16-documentdb_0.107-0_amd64.deb
├── postgresql-16-documentdb_0.107-0_arm64.deb
├── postgresql-16-documentdb-dbgsym_0.107-0_amd64.deb
├── postgresql-16-documentdb-dbgsym_0.107-0_arm64.deb
├── postgresql-17-documentdb_0.107-0_amd64.deb
├── postgresql-17-documentdb_0.107-0_arm64.deb
├── postgresql-17-documentdb-dbgsym_0.107-0_amd64.deb
├── postgresql-17-documentdb-dbgsym_0.107-0_arm64.deb
# RPM packages (version 0.107.0-1) - x86_64 only
├── postgresql16-documentdb-0.107.0-1.el8.x86_64.rpm
├── postgresql16-documentdb-0.107.0-1.el9.x86_64.rpm
├── postgresql17-documentdb-0.107.0-1.el8.x86_64.rpm
└── postgresql17-documentdb-0.107.0-1.el9.x86_64.rpm
# Example DEB packages (version 0.109-0)
├── deb11-postgresql-16-documentdb_0.109-0_amd64.deb
├── deb11-postgresql-16-documentdb_0.109-0_arm64.deb
├── deb12-postgresql-17-documentdb_0.109-0_amd64.deb
├── deb12-postgresql-17-documentdb_0.109-0_arm64.deb
├── ubuntu22.04-postgresql-18-documentdb_0.109-0_amd64.deb
├── ubuntu24.04-postgresql-18-documentdb_0.109-0_arm64.deb
# Example RPM packages (version 0.109.0-1) - x86_64 and aarch64
├── rhel8-postgresql16-documentdb-0.109.0-1.el8.x86_64.rpm
├── rhel8-postgresql16-documentdb-0.109.0-1.el8.aarch64.rpm
├── rhel9-postgresql18-documentdb-0.109.0-1.el9.x86_64.rpm
└── rhel9-postgresql18-documentdb-0.109.0-1.el9.aarch64.rpm
```

## Direct Downloads
Expand All @@ -278,15 +272,15 @@ https://documentdb.io/
## Package Naming Convention

### DEB Packages
- Format: `postgresql-{PG_VERSION}-documentdb_{DOCUMENTDB_VERSION}_arch.deb`
- Example: `postgresql-16-documentdb_0.107-0_amd64.deb`
- Debug symbols: `postgresql-{PG_VERSION}-documentdb-dbgsym_{DOCUMENTDB_VERSION}_arch.deb`
- Format: `{distribution}-postgresql-{PG_VERSION}-documentdb_{DOCUMENTDB_VERSION}_arch.deb`
- Example: `ubuntu22.04-postgresql-16-documentdb_0.109-0_amd64.deb`
- Debug symbols: `{distribution}-postgresql-{PG_VERSION}-documentdb-dbgsym_{DOCUMENTDB_VERSION}_arch.deb`

### RPM Packages
- Format: `postgresql{PG_VERSION}-documentdb-{DOCUMENTDB_VERSION}.el{RHEL_VERSION}.arch.rpm`
- Example: `postgresql16-documentdb-0.107.0-1.el9.x86_64.rpm`
- Format: `rhel{RHEL_VERSION}-postgresql{PG_VERSION}-documentdb-{DOCUMENTDB_VERSION}-1.el{RHEL_VERSION}.arch.rpm`
- Example: `rhel9-postgresql16-documentdb-0.109.0-1.el9.x86_64.rpm`

## Release Information

The repository includes a `release-info.json` file with metadata about available packages:
- https://documentdb.io/packages/release-info.json
- https://documentdb.io/packages/release-info.json
11 changes: 6 additions & 5 deletions app/packages/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@ export default function PackagesPage() {
<div className="bg-neutral-900 rounded p-3 mt-3">
<code className="text-xs text-green-400">
# Example: Direct .deb installation<br/>
wget https://documentdb.io/packages/ubuntu22.04-postgresql-16-documentdb_0.107-0_amd64.deb<br/>
sudo dpkg -i ubuntu22.04-postgresql-16-documentdb_0.107-0_amd64.deb<br/>
wget https://documentdb.io/packages/ubuntu22.04-postgresql-16-documentdb_0.109-0_amd64.deb<br/>
sudo dpkg -i ubuntu22.04-postgresql-16-documentdb_0.109-0_amd64.deb<br/>
<br/>
# Example: Direct .rpm installation<br/>
wget https://documentdb.io/packages/rhel8-postgresql16-documentdb-0.107.0-1.el8.x86_64.rpm<br/>
sudo rpm -i rhel8-postgresql16-documentdb-0.107.0-1.el8.x86_64.rpm
wget https://documentdb.io/packages/rhel8-postgresql16-documentdb-0.109.0-1.el8.x86_64.rpm<br/>
sudo rpm -i rhel8-postgresql16-documentdb-0.109.0-1.el8.x86_64.rpm
</code>
</div>
</div>
Expand All @@ -183,9 +183,9 @@ export default function PackagesPage() {
Debian 11/12, Ubuntu 22.04/24.04
</div>
<ul className="space-y-2 text-gray-300 text-sm">
<li>• postgresql-15-documentdb</li>
<li>• postgresql-16-documentdb</li>
<li>• postgresql-17-documentdb</li>
<li>• postgresql-18-documentdb</li>
</ul>
</div>

Expand All @@ -202,6 +202,7 @@ export default function PackagesPage() {
<ul className="space-y-2 text-gray-300 text-sm">
<li>• postgresql16-documentdb</li>
<li>• postgresql17-documentdb</li>
<li>• postgresql18-documentdb</li>
</ul>
</div>
</div>
Expand Down
Loading