Skip to content

Commit af65d07

Browse files
authored
Merge pull request #15 from Bearsampp/february
Add PostgreSQL 13.20, 14.17, 15.12, 16.8, and 17.4 configurations and update release properties
2 parents 5ea0c2f + 05cea2a commit af65d07

22 files changed

+291
-1
lines changed

bin/postgresql13.20/bearsampp.conf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
postgresqlVersion = "13.20"
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/postgresql13.20/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/postgresql13.20/data'
5+
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql13.20/data/pg_hba.conf'
6+
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql13.20/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

bin/postgresql14.17/bearsampp.conf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
postgresqlVersion = "14.17"
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/postgresql14.17/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/postgresql14.17/data'
5+
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql14.17/data/pg_hba.conf'
6+
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql14.17/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

bin/postgresql15.12/bearsampp.conf

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

0 commit comments

Comments
 (0)