Skip to content
Open
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
6 changes: 3 additions & 3 deletions ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ postgres_major:

# Full version strings for each major version
postgres_release:
postgresorioledb-17: "17.6.0.095-orioledb"
postgres17: "17.6.1.138"
postgres15: "15.14.1.138"
postgresorioledb-17: "17.6.0.096-orioledb-orioledb-test-3"
postgres17: "17.6.1.139-orioledb-test-3"
postgres15: "15.14.1.139-orioledb-test-3"

# Non Postgres Extensions
pgbouncer_release: 1.25.1
Expand Down
4 changes: 2 additions & 2 deletions migrations/schema-orioledb-17.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

\restrict SupabaseTestDumpKey123

-- Dumped from database version 17.6
-- Dumped by pg_dump version 17.6
-- Dumped from database version 17.9
-- Dumped by pg_dump version 17.9

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
4 changes: 2 additions & 2 deletions nix/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ in
};
orioledb = {
"17" = {
version = "17_16";
hash = "sha256-Xm9IUsvmlcayNQH8TCvHoIV23xkt/WQV0Oy4CiJkywc=";
version = "17_20";
hash = "sha256-HDrHTx9yeIPJoyIBs+BdAhBQqt1IEtQrG9pFfvHJqdg=";
};
};
};
Expand Down
8 changes: 4 additions & 4 deletions nix/ext/orioledb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "orioledb";
repo = "orioledb";
rev = "982e11ae62c9e00c0d74f9f8de31d99ff383fd02";
sha256 = "sha256-Vz3vfmTGRW+O9aXZxqixHC2CpqZJf/1UCQWoENbAak4=";
rev = "beta16";
sha256 = "sha256-HCfNzMPt80nGeVwlstUCeMpdNZYd9KhLLHYyD/Hvuhk=";
};
version = "982e11ae62c9e00c0d74f9f8de31d99ff383fd02";
version = "beta16";
buildInputs = [
curl
libkrb5
Expand All @@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
openssl
];
buildPhase = ''
make USE_PGXS=1 ORIOLEDB_PATCHSET_VERSION=16
make USE_PGXS=1 ORIOLEDB_PATCHSET_VERSION=20
'';
installPhase = ''
runHook preInstall
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,25 +76,25 @@ insert into grandparent
values
(1, 'Elizabeth');
ERROR: duplicate key value violates unique constraint "grandparent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(1, 'Charles', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(2, 'Diana', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('2') already exists.
DETAIL: Key (id)=(2) already exists.
insert into child
(id, name, father)
values
(1, 'William', 1);
ERROR: duplicate key value violates unique constraint "child_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
alter table child
drop constraint child_father_fkey;
alter table child
Expand Down Expand Up @@ -126,25 +126,25 @@ insert into grandparent
values
(1, 'Elizabeth');
ERROR: duplicate key value violates unique constraint "grandparent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(1, 'Charles', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(2, 'Diana', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('2') already exists.
DETAIL: Key (id)=(2) already exists.
insert into child
(id, name, father)
values
(1, 'William', 1);
ERROR: duplicate key value violates unique constraint "child_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
alter table child
drop constraint child_father_fkey;
alter table child
Expand Down Expand Up @@ -176,25 +176,25 @@ insert into grandparent
values
(1, 'Elizabeth');
ERROR: duplicate key value violates unique constraint "grandparent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(1, 'Charles', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(2, 'Diana', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('2') already exists.
DETAIL: Key (id)=(2) already exists.
insert into child
(id, name, father)
values
(1, 'William', 1);
ERROR: duplicate key value violates unique constraint "child_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
alter table child
add column mother integer references parent (id)
on delete cascade;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ end;
$$;
select * from add_planet('Jakku');
ERROR: duplicate key value violates unique constraint "planets_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
CONTEXT: SQL statement "insert into planets(name)
values (add_planet.name)
returning id"
Expand Down

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions nix/tests/expected/z_orioledb-17_docs-cascades-deletes.out
Original file line number Diff line number Diff line change
Expand Up @@ -76,25 +76,25 @@ insert into grandparent
values
(1, 'Elizabeth');
ERROR: duplicate key value violates unique constraint "grandparent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(1, 'Charles', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(2, 'Diana', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('2') already exists.
DETAIL: Key (id)=(2) already exists.
insert into child
(id, name, father)
values
(1, 'William', 1);
ERROR: duplicate key value violates unique constraint "child_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
alter table child
drop constraint child_father_fkey;
alter table child
Expand Down Expand Up @@ -126,25 +126,25 @@ insert into grandparent
values
(1, 'Elizabeth');
ERROR: duplicate key value violates unique constraint "grandparent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(1, 'Charles', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(2, 'Diana', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('2') already exists.
DETAIL: Key (id)=(2) already exists.
insert into child
(id, name, father)
values
(1, 'William', 1);
ERROR: duplicate key value violates unique constraint "child_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
alter table child
drop constraint child_father_fkey;
alter table child
Expand Down Expand Up @@ -176,25 +176,25 @@ insert into grandparent
values
(1, 'Elizabeth');
ERROR: duplicate key value violates unique constraint "grandparent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(1, 'Charles', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
insert into parent
(id, name, parent_id)
values
(2, 'Diana', 1);
ERROR: duplicate key value violates unique constraint "parent_pkey"
DETAIL: Key (id)=('2') already exists.
DETAIL: Key (id)=(2) already exists.
insert into child
(id, name, father)
values
(1, 'William', 1);
ERROR: duplicate key value violates unique constraint "child_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
alter table child
add column mother integer references parent (id)
on delete cascade;
Expand Down
2 changes: 1 addition & 1 deletion nix/tests/expected/z_orioledb-17_docs-functions.out
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ end;
$$;
select * from add_planet('Jakku');
ERROR: duplicate key value violates unique constraint "planets_pkey"
DETAIL: Key (id)=('1') already exists.
DETAIL: Key (id)=(1) already exists.
CONTEXT: SQL statement "insert into planets(name)
values (add_planet.name)
returning id"
Expand Down
Loading
Loading