Skip to content

Commit 17a68e6

Browse files
authored
Merge pull request #10 from Bearsampp/July
july updates
2 parents 60e3c10 + d3ca500 commit 17a68e6

29 files changed

Lines changed: 252 additions & 19 deletions

bin/postgresql11.17/bearsampp.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ postgresqlDumpExe = "bin/pg_dump.exe"
55
postgresqlDumpAllExe = "bin/pg_dumpall.exe"
66
postgresqlConf = "data/postgresql.conf"
77
postgresqlUserConf = "data/pg_hba.conf"
8-
postgresqlAltConf = "postgresql.conf.ber"
9-
postgresqlAltUserConf = "pg_hba.conf.ber"
8+
postgresqlAltConf = "postgresql.conf"
9+
postgresqlAltUserConf = "pg_hba.conf"
1010
postgresqlPort = "5432"
1111
postgresqlRootUser = "postgres"
1212
postgresqlRootPwd = ""

bin/postgresql11.20/bearsampp.conf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
postgresqlVersion = "11.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"
9+
postgresqlAltUserConf = "pg_hba.conf"
10+
postgresqlPort = "5432"
11+
postgresqlRootUser = "postgres"
12+
postgresqlRootPwd = ""
13+
14+
bundleRelease = "@RELEASE_VERSION@"
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/postgresql11.20/data'
5+
hba_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql11.20/data/pg_hba.conf'
6+
ident_file = '~BEARSAMPP_LIN_PATH~/bin/postgresql/postgresql11.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/postgresql11.3/bearsampp.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ postgresqlDumpExe = "bin/pg_dump.exe"
55
postgresqlDumpAllExe = "bin/pg_dumpall.exe"
66
postgresqlConf = "data/postgresql.conf"
77
postgresqlUserConf = "data/pg_hba.conf"
8-
postgresqlAltConf = "postgresql.conf.ber"
9-
postgresqlAltUserConf = "pg_hba.conf.ber"
8+
postgresqlAltConf = "postgresql.conf"
9+
postgresqlAltUserConf = "pg_hba.conf"
1010
postgresqlPort = "5432"
1111
postgresqlRootUser = "postgres"
1212
postgresqlRootPwd = ""

bin/postgresql12.12/bearsampp.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ postgresqlDumpExe = "bin/pg_dump.exe"
55
postgresqlDumpAllExe = "bin/pg_dumpall.exe"
66
postgresqlConf = "data/postgresql.conf"
77
postgresqlUserConf = "data/pg_hba.conf"
8-
postgresqlAltConf = "postgresql.conf.ber"
9-
postgresqlAltUserConf = "pg_hba.conf.ber"
8+
postgresqlAltConf = "postgresql.conf"
9+
postgresqlAltUserConf = "pg_hba.conf"
1010
postgresqlPort = "5432"
1111
postgresqlRootUser = "postgres"
1212
postgresqlRootPwd = ""

bin/postgresql12.15/bearsampp.conf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
postgresqlVersion = "12.15"
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"
9+
postgresqlAltUserConf = "pg_hba.conf"
10+
postgresqlPort = "5432"
11+
postgresqlRootUser = "postgres"
12+
postgresqlRootPwd = ""
13+
14+
bundleRelease = "@RELEASE_VERSION@"

bin/postgresql12.15/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

0 commit comments

Comments
 (0)