Skip to content

Commit

Permalink
Update to postgres 13.6
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed May 23, 2024
1 parent 40b54fe commit f61e93a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion config/software/postgresql-windows.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#

name "postgresql-windows"
default_version "9.6.20"
default_version "14.5"

relative_path "pgsql"

Expand Down Expand Up @@ -46,6 +46,10 @@

source url: "http://get.enterprisedb.com/postgresql/postgresql-#{version}-1-windows-binaries.zip"
else
version "13.6" do
source sha256: "44ba5f480c45afa554bf70688c025a7298a96b5541a1c302e6223988768e83a8"
end

version "9.6.20" do
source sha256: "a76e41e3101e09a2e772a26f0b93b405a97482b42b0695893465f3533c76d326"
end
Expand Down
8 changes: 6 additions & 2 deletions config/software/postgresql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#

name "postgresql"
default_version "9.6.20"
default_version "14.5"

license "PostgreSQL"
license_file "COPYRIGHT"
Expand All @@ -28,6 +28,9 @@
dependency "ncurses"
dependency "config_guess"

version("13.6") { source sha256: "bafc7fa3d9d4da8fe71b84c63ba8bdfe8092935c30c0aa85c24b2c08508f67fc" }
version("14.5") { source sha256: "d4f72cb5fb857c9a9f75ec8cf091a1771272802f2178f0b2e65b7b6ff64f4a30" }

version "9.6.20" do
source sha256: "3d08cba409d45ab62d42b24431a0d55e7537bcd1db2d979f5f2eefe34d487bb6"
end
Expand All @@ -54,14 +57,15 @@

build do
env = with_standard_compiler_flags(with_embedded_path)
env['MAKELEVEL'] = '0'

update_config_guess(target: "config")

command "./configure" \
" --prefix=#{install_dir}/embedded" \
" --with-libedit-preferred" \
" --with-openssl" \
" --with-uuid=e2fs" \
" --with-ossp-uuid" \
" --with-includes=#{install_dir}/embedded/include" \
" --with-libraries=#{install_dir}/embedded/lib", env: env

Expand Down

0 comments on commit f61e93a

Please sign in to comment.