Skip to content

Add PostgreSQL 13.20, 14.17, 15.12, 16.8, and 17.4 configurations and update release properties #15

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

Merged
merged 2 commits into from
Feb 22, 2025
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
14 changes: 14 additions & 0 deletions bin/postgresql13.20/bearsampp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
postgresqlVersion = "13.20"
postgresqlCtlExe = "bin/pg_ctl.exe"
postgresqlCliExe = "bin/psql.exe"
postgresqlDumpExe = "bin/pg_dump.exe"
postgresqlDumpAllExe = "bin/pg_dumpall.exe"
postgresqlConf = "data/postgresql.conf"
postgresqlUserConf = "data/pg_hba.conf"
postgresqlAltConf = "postgresql.conf.ber"
postgresqlAltUserConf = "pg_hba.conf.ber"
postgresqlPort = "5432"
postgresqlRootUser = "postgres"
postgresqlRootPwd = ""

bundleRelease = "@RELEASE_VERSION@"
5 changes: 5 additions & 0 deletions bin/postgresql13.20/init.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@ECHO OFF

%~dp0bin\initdb.exe -U postgres -A trust -E utf8 -D "%~dp0data" > "~BEARSAMPP_WIN_PATH~\logs\postgresql-install.log" 2>&1
copy /y "%~dp0postgresql.conf.ber" "%~dp0data\postgresql.conf"
copy /y "%~dp0pg_hba.conf.ber" "%~dp0data\pg_hba.conf"
3 changes: 3 additions & 0 deletions bin/postgresql13.20/pg_hba.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TYPE DATABASE USER ADDRESS METHOD
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
35 changes: 35 additions & 0 deletions bin/postgresql13.20/postgresql.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#------------------------------------------------------------------------------
# FILE LOCATIONS
#------------------------------------------------------------------------------
data_directory = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql13.20/data'
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql13.20/data/pg_hba.conf'
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql13.20/data/pg_ident.conf'

#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------
listen_addresses = '*'
port = 5432
max_connections = 100

#------------------------------------------------------------------------------
# RESOURCE USAGE (except WAL)
#------------------------------------------------------------------------------
shared_buffers = 32MB

#------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------
log_destination = 'stderr'
logging_collector = on
log_directory = '~BEARSAMPP_LIN_PATH~/logs'
log_filename = 'postgresql.log'
log_file_mode = 0777
log_truncate_on_rotation = off
log_rotation_age = 0
log_rotation_size = 0

client_min_messages = notice
log_min_messages = warning
log_min_error_statement = error
log_min_duration_statement = -1
14 changes: 14 additions & 0 deletions bin/postgresql14.17/bearsampp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
postgresqlVersion = "14.17"
postgresqlCtlExe = "bin/pg_ctl.exe"
postgresqlCliExe = "bin/psql.exe"
postgresqlDumpExe = "bin/pg_dump.exe"
postgresqlDumpAllExe = "bin/pg_dumpall.exe"
postgresqlConf = "data/postgresql.conf"
postgresqlUserConf = "data/pg_hba.conf"
postgresqlAltConf = "postgresql.conf.ber"
postgresqlAltUserConf = "pg_hba.conf.ber"
postgresqlPort = "5432"
postgresqlRootUser = "postgres"
postgresqlRootPwd = ""

bundleRelease = "@RELEASE_VERSION@"
5 changes: 5 additions & 0 deletions bin/postgresql14.17/init.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@ECHO OFF

%~dp0bin\initdb.exe -U postgres -A trust -E utf8 -D "%~dp0data" > "~BEARSAMPP_WIN_PATH~\logs\postgresql-install.log" 2>&1
copy /y "%~dp0postgresql.conf.ber" "%~dp0data\postgresql.conf"
copy /y "%~dp0pg_hba.conf.ber" "%~dp0data\pg_hba.conf"
3 changes: 3 additions & 0 deletions bin/postgresql14.17/pg_hba.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TYPE DATABASE USER ADDRESS METHOD
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
35 changes: 35 additions & 0 deletions bin/postgresql14.17/postgresql.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#------------------------------------------------------------------------------
# FILE LOCATIONS
#------------------------------------------------------------------------------
data_directory = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql14.17/data'
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql14.17/data/pg_hba.conf'
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql14.17/data/pg_ident.conf'

#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------
listen_addresses = '*'
port = 5432
max_connections = 100

#------------------------------------------------------------------------------
# RESOURCE USAGE (except WAL)
#------------------------------------------------------------------------------
shared_buffers = 32MB

#------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------
log_destination = 'stderr'
logging_collector = on
log_directory = '~BEARSAMPP_LIN_PATH~/logs'
log_filename = 'postgresql.log'
log_file_mode = 0777
log_truncate_on_rotation = off
log_rotation_age = 0
log_rotation_size = 0

client_min_messages = notice
log_min_messages = warning
log_min_error_statement = error
log_min_duration_statement = -1
14 changes: 14 additions & 0 deletions bin/postgresql15.12/bearsampp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
postgresqlVersion = "15.12"
postgresqlCtlExe = "bin/pg_ctl.exe"
postgresqlCliExe = "bin/psql.exe"
postgresqlDumpExe = "bin/pg_dump.exe"
postgresqlDumpAllExe = "bin/pg_dumpall.exe"
postgresqlConf = "data/postgresql.conf"
postgresqlUserConf = "data/pg_hba.conf"
postgresqlAltConf = "postgresql.conf.ber"
postgresqlAltUserConf = "pg_hba.conf.ber"
postgresqlPort = "5432"
postgresqlRootUser = "postgres"
postgresqlRootPwd = ""

bundleRelease = "@RELEASE_VERSION@"
5 changes: 5 additions & 0 deletions bin/postgresql15.12/init.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@ECHO OFF

%~dp0bin\initdb.exe -U postgres -A trust -E utf8 -D "%~dp0data" > "~BEARSAMPP_WIN_PATH~\logs\postgresql-install.log" 2>&1
copy /y "%~dp0postgresql.conf.ber" "%~dp0data\postgresql.conf"
copy /y "%~dp0pg_hba.conf.ber" "%~dp0data\pg_hba.conf"
3 changes: 3 additions & 0 deletions bin/postgresql15.12/pg_hba.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TYPE DATABASE USER ADDRESS METHOD
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
35 changes: 35 additions & 0 deletions bin/postgresql15.12/postgresql.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#------------------------------------------------------------------------------
# FILE LOCATIONS
#------------------------------------------------------------------------------
data_directory = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql15.12/data'
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql15.12/data/pg_hba.conf'
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql15.12/data/pg_ident.conf'

#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------
listen_addresses = '*'
port = 5432
max_connections = 100

#------------------------------------------------------------------------------
# RESOURCE USAGE (except WAL)
#------------------------------------------------------------------------------
shared_buffers = 32MB

#------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------
log_destination = 'stderr'
logging_collector = on
log_directory = '~BEARSAMPP_LIN_PATH~/logs'
log_filename = 'postgresql.log'
log_file_mode = 0777
log_truncate_on_rotation = off
log_rotation_age = 0
log_rotation_size = 0

client_min_messages = notice
log_min_messages = warning
log_min_error_statement = error
log_min_duration_statement = -1
14 changes: 14 additions & 0 deletions bin/postgresql16.8/bearsampp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
postgresqlVersion = "16.8"
postgresqlCtlExe = "bin/pg_ctl.exe"
postgresqlCliExe = "bin/psql.exe"
postgresqlDumpExe = "bin/pg_dump.exe"
postgresqlDumpAllExe = "bin/pg_dumpall.exe"
postgresqlConf = "data/postgresql.conf"
postgresqlUserConf = "data/pg_hba.conf"
postgresqlAltConf = "postgresql.conf.ber"
postgresqlAltUserConf = "pg_hba.conf.ber"
postgresqlPort = "5432"
postgresqlRootUser = "postgres"
postgresqlRootPwd = ""

bundleRelease = "@RELEASE_VERSION@"
5 changes: 5 additions & 0 deletions bin/postgresql16.8/init.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@ECHO OFF

%~dp0bin\initdb.exe -U postgres -A trust -E utf8 -D "%~dp0data" > "~BEARSAMPP_WIN_PATH~\logs\postgresql-install.log" 2>&1
copy /y "%~dp0postgresql.conf.ber" "%~dp0data\postgresql.conf"
copy /y "%~dp0pg_hba.conf.ber" "%~dp0data\pg_hba.conf"
3 changes: 3 additions & 0 deletions bin/postgresql16.8/pg_hba.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TYPE DATABASE USER ADDRESS METHOD
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
35 changes: 35 additions & 0 deletions bin/postgresql16.8/postgresql.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#------------------------------------------------------------------------------
# FILE LOCATIONS
#------------------------------------------------------------------------------
data_directory = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql16.8/data'
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql16.8/data/pg_hba.conf'
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql16.8/data/pg_ident.conf'

#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------
listen_addresses = '*'
port = 5432
max_connections = 100

#------------------------------------------------------------------------------
# RESOURCE USAGE (except WAL)
#------------------------------------------------------------------------------
shared_buffers = 32MB

#------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------
log_destination = 'stderr'
logging_collector = on
log_directory = '~BEARSAMPP_LIN_PATH~/logs'
log_filename = 'postgresql.log'
log_file_mode = 0777
log_truncate_on_rotation = off
log_rotation_age = 0
log_rotation_size = 0

client_min_messages = notice
log_min_messages = warning
log_min_error_statement = error
log_min_duration_statement = -1
14 changes: 14 additions & 0 deletions bin/postgresql17.4/bearsampp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
postgresqlVersion = "17.4"
postgresqlCtlExe = "bin/pg_ctl.exe"
postgresqlCliExe = "bin/psql.exe"
postgresqlDumpExe = "bin/pg_dump.exe"
postgresqlDumpAllExe = "bin/pg_dumpall.exe"
postgresqlConf = "data/postgresql.conf"
postgresqlUserConf = "data/pg_hba.conf"
postgresqlAltConf = "postgresql.conf.ber"
postgresqlAltUserConf = "pg_hba.conf.ber"
postgresqlPort = "5432"
postgresqlRootUser = "postgres"
postgresqlRootPwd = ""

bundleRelease = "@RELEASE_VERSION@"
5 changes: 5 additions & 0 deletions bin/postgresql17.4/init.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@ECHO OFF

%~dp0bin\initdb.exe -U postgres -A trust -E utf8 -D "%~dp0data" > "~BEARSAMPP_WIN_PATH~\logs\postgresql-install.log" 2>&1
copy /y "%~dp0postgresql.conf.ber" "%~dp0data\postgresql.conf"
copy /y "%~dp0pg_hba.conf.ber" "%~dp0data\pg_hba.conf"
3 changes: 3 additions & 0 deletions bin/postgresql17.4/pg_hba.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TYPE DATABASE USER ADDRESS METHOD
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
35 changes: 35 additions & 0 deletions bin/postgresql17.4/postgresql.conf.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#------------------------------------------------------------------------------
# FILE LOCATIONS
#------------------------------------------------------------------------------
data_directory = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.4/data'
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.4/data/pg_hba.conf'
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.4/data/pg_ident.conf'

#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------
listen_addresses = '*'
port = 5432
max_connections = 100

#------------------------------------------------------------------------------
# RESOURCE USAGE (except WAL)
#------------------------------------------------------------------------------
shared_buffers = 32MB

#------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------
log_destination = 'stderr'
logging_collector = on
log_directory = '~BEARSAMPP_LIN_PATH~/logs'
log_filename = 'postgresql.log'
log_file_mode = 0777
log_truncate_on_rotation = off
log_rotation_age = 0
log_rotation_size = 0

client_min_messages = notice
log_min_messages = warning
log_min_error_statement = error
log_min_duration_statement = -1
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bundle.name = postgresql
bundle.release = 2025.2.13
bundle.release = 2025.2.21
bundle.type = bins
bundle.format = 7z

Expand Down
5 changes: 5 additions & 0 deletions releases.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,25 @@
13.11 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.7.23/bearsampp-postgresql-13.11-2023.7.23.7z
13.12 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.10.9/bearsampp-postgresql-13.12-2023.10.9.7z
13.14 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.4.16/bearsampp-postgresql-13.14-2024.4.16.7z
13.20 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.21/bearsampp-postgresql-13.20-2025.2.21.7z
14.4 = https://github.com/Bearsampp/module-postgresql/releases/download/2022.08.04/bearsampp-postgresql-14.4-2022.08.04.7z
14.5 = https://github.com/Bearsampp/module-postgresql/releases/download/2022.08.28/bearsampp-postgresql-14.5-2022.08.28.7z
14.7 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.4.20/bearsampp-postgresql-14.7-2023.4.24.7z
14.8 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.7.23/bearsampp-postgresql-14.8-2023.7.23.7z
14.9 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.10.9/bearsampp-postgresql-14.9-2023.10.9.7z
14.11 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.4.16/bearsampp-postgresql-14.11-2024.4.16.7z
14.17 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.21/bearsampp-postgresql-14.17-2025.2.21.7z
15.0 = https://github.com/Bearsampp/module-postgresql/releases/download/2022.10.28/bearsampp-postgresql-15.0-2022.10.28.7z
15.2 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.4.20/bearsampp-postgresql-15.2-2023.4.24.7z
15.3 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.7.23/bearsampp-postgresql-15.3-2023.7.23.7z
15.4 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.10.9/bearsampp-postgresql-15.4-2023.10.9.7z
15.6 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.4.16/bearsampp-postgresql-15.6-2024.4.16.7z
15.12 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.21/bearsampp-postgresql-15.12-2025.2.21.7z
16.0 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.10.9/bearsampp-postgresql-16.0-2023.10.9.7z
16.2 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.4.16/bearsampp-postgresql-16.2-2024.4.16.7z
16.4 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.9.18/bearsampp-postgresql-16.4-2024.9.18.7z
16.8 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.21/bearsampp-postgresql-16.8-2025.2.21.7z
17.0-RC1 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.9.18/bearsampp-postgresql-17.0-RC1-2024.9.18.7z
17.2.1 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.12.1/bearsampp-postgresql-17.2.1-2024.12.1.7z
17.2.3 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.13/bearsampp-postgresql-17.2.3-2025.2.13.7z
17.4 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.21/bearsampp-postgresql-17.4-2025.2.21.7z