diff --git a/bin/postgresql17.2.1/bearsampp.conf b/bin/postgresql17.2.1/bearsampp.conf new file mode 100644 index 0000000..1e4ae5e --- /dev/null +++ b/bin/postgresql17.2.1/bearsampp.conf @@ -0,0 +1,14 @@ +postgresqlVersion = "17.2.1" +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@" diff --git a/bin/postgresql17.2.1/init.bat b/bin/postgresql17.2.1/init.bat new file mode 100644 index 0000000..f0acb2d --- /dev/null +++ b/bin/postgresql17.2.1/init.bat @@ -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" diff --git a/bin/postgresql17.2.1/pg_hba.conf.ber b/bin/postgresql17.2.1/pg_hba.conf.ber new file mode 100644 index 0000000..29b8f8b --- /dev/null +++ b/bin/postgresql17.2.1/pg_hba.conf.ber @@ -0,0 +1,3 @@ +# TYPE DATABASE USER ADDRESS METHOD + host all all 127.0.0.1/32 trust + host all all ::1/128 trust diff --git a/bin/postgresql17.2.1/postgresql.conf.ber b/bin/postgresql17.2.1/postgresql.conf.ber new file mode 100644 index 0000000..52dce31 --- /dev/null +++ b/bin/postgresql17.2.1/postgresql.conf.ber @@ -0,0 +1,35 @@ +#------------------------------------------------------------------------------ +# FILE LOCATIONS +#------------------------------------------------------------------------------ +data_directory = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.2.1/data' +hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.2.1/data/pg_hba.conf' +ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.2.1/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 diff --git a/build.properties b/build.properties index 25132a7..689c472 100644 --- a/build.properties +++ b/build.properties @@ -1,5 +1,5 @@ bundle.name = postgresql -bundle.release = 2024.9.18 +bundle.release = 2024.12.1 bundle.type = bins bundle.format = 7z diff --git a/releases.properties b/releases.properties index b8b2476..4c6bc36 100644 --- a/releases.properties +++ b/releases.properties @@ -26,3 +26,4 @@ 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 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