Skip to content

[WIP] Updated pg to 17 #3950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
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
11 changes: 7 additions & 4 deletions omnibus/config/software/postgresql13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

name "postgresql13"

default_version "13.14"
default_version "17.2"

license "PostgreSQL"
license_file "COPYRIGHT"
Expand All @@ -28,8 +28,10 @@
dependency "ncurses"
dependency "libossp-uuid"
dependency "config_guess"
dependency "libxml2"

source url: "https://ftp.postgresql.org/pub/source/v#{version}/postgresql-#{version}.tar.bz2"
version("17.2") { source sha256: "82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164" }
version("13.14") { source sha256: "b8df078551898960bd500dc5d38a177e9905376df81fe7f2b660a1407fa6a5ed" }
version("13.5") { source sha256: "9b81067a55edbaabc418aacef457dd8477642827499560b00615a6ea6c13f6b3" }
version("13.6") { source sha256: "bafc7fa3d9d4da8fe71b84c63ba8bdfe8092935c30c0aa85c24b2c08508f67fc" }
Expand All @@ -47,11 +49,12 @@
" --with-libedit-preferred" \
" --with-openssl" \
" --with-ossp-uuid" \
" --without-icu" \
" --with-includes=#{install_dir}/embedded/include" \
" --with-libraries=#{install_dir}/embedded/lib", env: env
" --with-libraries=#{install_dir}/embedded/lib" , env: env

make "world -j #{workers}", env: env
make "install-world -j #{workers}", env: env
make "world-bin -j #{workers}", env: env
make "install-world-bin -j #{workers}", env: env

block do
Dir.glob("#{install_dir}/embedded/postgresql/#{short_version}/bin/*").sort.each do |bin|
Expand Down
2 changes: 1 addition & 1 deletion src/bookshelf/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{opscoderl_wm, ".*",
{git, "https://github.com/chef/opscoderl_wm", {branch, "main"}}},
{sqerl, ".*",
{git, "https://github.com/chef/sqerl", {branch, "main"}}},
{git, "https://github.com/chef/sqerl", {branch, "shahid/pg17"}}},
{sync, ".*",
{git, "https://github.com/rustyio/sync", {branch, "master"}}}
]}.
Expand Down
6 changes: 3 additions & 3 deletions src/bookshelf/rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
{ref,"17b0f97ea8287b72e8ebbe7132214db182ff1a1d"}},
0},
{<<"epgsql">>,
{git,"https://github.com/chef/epgsql-1.git",
{ref,"34b4182f0e21f9189ddd7b2e290f01a9e7d93bf1"}},
{git,"https://github.com/epgsql/epgsql.git",
{ref,"64aed378455ec3a45c41826896c5561491ff4f7a"}},
1},
{<<"erlcloud">>,
{git,"https://github.com/chef/erlcloud",
Expand Down Expand Up @@ -104,7 +104,7 @@
1},
{<<"sqerl">>,
{git,"https://github.com/chef/sqerl",
{ref,"ebbe4c20ab5cd21041229d22dd60a6b38aa2930c"}},
{ref,"0b6a371cee0a830ec532c46d271539589af1fe3d"}},
0},
{<<"sync">>,
{git,"https://github.com/rustyio/sync",
Expand Down
2 changes: 1 addition & 1 deletion src/oc_bifrost/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{opscoderl_wm, ".*",
{git, "https://github.com/chef/opscoderl_wm", {branch, "main"}}},
{sqerl, ".*",
{git, "https://github.com/chef/sqerl", {branch, "main"}}},
{git, "https://github.com/chef/sqerl", {branch, "shahid/pg17"}}},
{stats_hero, ".*",
{git, "https://github.com/chef/stats_hero", {branch, "main"}}},
{sync, ".*",
Expand Down
6 changes: 3 additions & 3 deletions src/oc_bifrost/rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
{ref,"17b0f97ea8287b72e8ebbe7132214db182ff1a1d"}},
0},
{<<"epgsql">>,
{git,"https://github.com/chef/epgsql-1.git",
{ref,"34b4182f0e21f9189ddd7b2e290f01a9e7d93bf1"}},
{git,"https://github.com/epgsql/epgsql.git",
{ref,"64aed378455ec3a45c41826896c5561491ff4f7a"}},
1},
{<<"fs">>,
{git,"https://github.com/synrc/fs",
Expand Down Expand Up @@ -68,7 +68,7 @@
1},
{<<"sqerl">>,
{git,"https://github.com/chef/sqerl",
{ref,"ebbe4c20ab5cd21041229d22dd60a6b38aa2930c"}},
{ref,"0b6a371cee0a830ec532c46d271539589af1fe3d"}},
0},
{<<"stats_hero">>,
{git,"https://github.com/chef/stats_hero",
Expand Down
2 changes: 1 addition & 1 deletion src/oc_erchef/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{prometheus, ".*",
{git, "https://github.com/deadtrickster/prometheus.erl", {tag, "v4.6.0"}}},
{sqerl, ".*",
{git, "https://github.com/chef/sqerl", {branch, "main"}}},
{git, "https://github.com/chef/sqerl", {branch, "shahid/pg17"}}},
{stats_hero, ".*",
{git, "https://github.com/chef/stats_hero", {branch, "main"}}},
{sync, ".*",
Expand Down
6 changes: 3 additions & 3 deletions src/oc_erchef/rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
{ref,"17b0f97ea8287b72e8ebbe7132214db182ff1a1d"}},
0},
{<<"epgsql">>,
{git,"https://github.com/chef/epgsql-1.git",
{ref,"34b4182f0e21f9189ddd7b2e290f01a9e7d93bf1"}},
{git,"https://github.com/epgsql/epgsql.git",
{ref,"64aed378455ec3a45c41826896c5561491ff4f7a"}},
1},
{<<"erlcloud">>,
{git,"https://github.com/chef/erlcloud",
Expand Down Expand Up @@ -156,7 +156,7 @@
1},
{<<"sqerl">>,
{git,"https://github.com/chef/sqerl",
{ref,"ebbe4c20ab5cd21041229d22dd60a6b38aa2930c"}},
{ref,"a66fec043b369ece612cac657bc68d28027b3477"}},
0},
{<<"stats_hero">>,
{git,"https://github.com/chef/stats_hero",
Expand Down
Loading