Skip to content

Commit 27b09e8

Browse files
authored
Merge pull request #13 from Bearsampp/16.4
Add PostgreSQL 16.4 and 17.0-RC1 configurations and update release properties
2 parents d77a503 + 59e94d7 commit 27b09e8

File tree

10 files changed

+117
-2
lines changed

10 files changed

+117
-2
lines changed

bin/postgresql16.4/bearsampp.conf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
postgresqlVersion = "16.4"
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/postgresql16.4/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"

bin/postgresql16.4/pg_hba.conf.ber

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/postgresql16.4/data'
5+
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql16.4/data/pg_hba.conf'
6+
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql16.4/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
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
postgresqlVersion = "17.0-RC1"
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.0-RC1/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.0-RC1/data'
5+
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.0-RC1/data/pg_hba.conf'
6+
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql17.0-RC1/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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
bundle.name = postgresql
2-
bundle.release = 2024.4.16
2+
bundle.release = 2024.9.18
33
bundle.type = bins
44
bundle.format = 7z
55

66
#build.path = C:/Bearsampp-build
7-

releases.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@
2424
15.6 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.4.16/bearsampp-postgresql-15.6-2024.4.16.7z
2525
16.0 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.10.9/bearsampp-postgresql-16.0-2023.10.9.7z
2626
16.2 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.4.16/bearsampp-postgresql-16.2-2024.4.16.7z
27+
16.4 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.9.18/bearsampp-postgresql-16.4-2024.9.18.7z
28+
17.0-RC1 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.9.18/bearsampp-postgresql-17.0-RC1-2024.9.18.7z

0 commit comments

Comments
 (0)