Skip to content

Commit c962c47

Browse files
authored
Merge pull request #14 from Bearsampp/17.2.1
Add PostgreSQL 17.2.1 configuration and update release properties
2 parents 27b09e8 + 9209414 commit c962c47

File tree

6 files changed

+59
-1
lines changed

6 files changed

+59
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
postgresqlVersion = "17.2.1"
2+
postgresqlCtlExe = "bin/pg_ctl.exe"
3+
postgresqlCliExe = "bin/psql.exe"
4+
postgresqlDumpExe = "bin/pg_dump.exe"
5+
postgresqlDumpAllExe = "bin/pg_dumpall.exe"
6+
postgresqlConf = "data/postgresql.conf"
7+
postgresqlUserConf = "data/pg_hba.conf"
8+
postgresqlAltConf = "postgresql.conf.ber"
9+
postgresqlAltUserConf = "pg_hba.conf.ber"
10+
postgresqlPort = "5432"
11+
postgresqlRootUser = "postgres"
12+
postgresqlRootPwd = ""
13+
14+
bundleRelease = "@RELEASE_VERSION@"

bin/postgresql17.2.1/init.bat

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@ECHO OFF
2+
3+
%~dp0bin\initdb.exe -U postgres -A trust -E utf8 -D "%~dp0data" > "~BEARSAMPP_WIN_PATH~\logs\postgresql-install.log" 2>&1
4+
copy /y "%~dp0postgresql.conf.ber" "%~dp0data\postgresql.conf"
5+
copy /y "%~dp0pg_hba.conf.ber" "%~dp0data\pg_hba.conf"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# TYPE DATABASE USER ADDRESS METHOD
2+
host all all 127.0.0.1/32 trust
3+
host all all ::1/128 trust
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#------------------------------------------------------------------------------
2+
# FILE LOCATIONS
3+
#------------------------------------------------------------------------------
4+
data_directory = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.2.1/data'
5+
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.2.1/data/pg_hba.conf'
6+
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.2.1/data/pg_ident.conf'
7+
8+
#------------------------------------------------------------------------------
9+
# CONNECTIONS AND AUTHENTICATION
10+
#------------------------------------------------------------------------------
11+
listen_addresses = '*'
12+
port = 5432
13+
max_connections = 100
14+
15+
#------------------------------------------------------------------------------
16+
# RESOURCE USAGE (except WAL)
17+
#------------------------------------------------------------------------------
18+
shared_buffers = 32MB
19+
20+
#------------------------------------------------------------------------------
21+
# ERROR REPORTING AND LOGGING
22+
#------------------------------------------------------------------------------
23+
log_destination = 'stderr'
24+
logging_collector = on
25+
log_directory = '~BEARSAMPP_LIN_PATH~/logs'
26+
log_filename = 'postgresql.log'
27+
log_file_mode = 0777
28+
log_truncate_on_rotation = off
29+
log_rotation_age = 0
30+
log_rotation_size = 0
31+
32+
client_min_messages = notice
33+
log_min_messages = warning
34+
log_min_error_statement = error
35+
log_min_duration_statement = -1

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bundle.name = postgresql
2-
bundle.release = 2024.9.18
2+
bundle.release = 2024.12.1
33
bundle.type = bins
44
bundle.format = 7z
55

releases.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@
2626
16.2 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.4.16/bearsampp-postgresql-16.2-2024.4.16.7z
2727
16.4 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.9.18/bearsampp-postgresql-16.4-2024.9.18.7z
2828
17.0-RC1 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.9.18/bearsampp-postgresql-17.0-RC1-2024.9.18.7z
29+
17.2.1 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.12.1/bearsampp-postgresql-17.2.1-2024.12.1.7z

0 commit comments

Comments
 (0)