Skip to content

Commit d0416ee

Browse files
committed
chore: signifiy if oriole
1 parent df9795c commit d0416ee

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Unmodified Postgres with some useful plugins. Our goal with this repo is not to
4545
| [vault](https://github.com/supabase/vault) | [0.2.9](https://github.com/supabase/vault/releases/tag/v0.2.9) | Store encrypted secrets in PostgreSQL |
4646
| [wal2json](https://github.com/supabase/wal2json) | [2_6](https://github.com/supabase/wal2json/releases/tag/v2_6) | PostgreSQL JSON output plugin for changeset extraction |
4747

48-
### PostgreSQL 17 Extensions
48+
### PostgreSQL orioledb-17 Extensions
4949
| Extension | Version | Description |
5050
| ------------- | :-------------: | ------------- |
5151
| [hypopg](https://github.com/supabase/hypopg) | [1.4.1](https://github.com/supabase/hypopg/releases/tag/v1.4.1) | Hypothetical Indexes for PostgreSQL |

nix/tools/update_readme.nu

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,15 @@ def create_version_link [pg_info] {
107107
}
108108

109109
def create_ext_table [extensions, pg_info] {
110-
let major_version = ($pg_info.version | split row "." | first)
110+
let header_version = if $pg_info.is_orioledb {
111+
$"orioledb-($pg_info.version)" # Add orioledb prefix for orioledb versions
112+
} else {
113+
$pg_info.version
114+
}
111115

112116
let header = [
113117
"", # blank line for spacing
114-
$"### PostgreSQL ($major_version) Extensions",
118+
$"### PostgreSQL ($header_version) Extensions",
115119
"| Extension | Version | Description |",
116120
"| ------------- | :-------------: | ------------- |"
117121
]

0 commit comments

Comments
 (0)