We do not update the newer Postgres versions, since we stopped supporting HM2.
Install 8.4, then uninstall it afterwards.
Regards udbrky (Chris)
BTW !!!
The support of the postgres site reply:
https://www.postgresql.org/docs/8.4/install-win32.html
"It is recommended that most users download the binary distribution for Windows, available as a Windows Installer package from the PostgreSQL website. Building from source is only intended for people developing PostgreSQL or extensions.
There are several different ways of building PostgreSQL on Windows. The complete system can be built using MinGW or Visual C++ 2005. It can also be built for older versions of Windows using Cygwin. Finally, the client access library (libpq) can be built using Visual C++ 7.1 or Borland C++ for compatibility with statically linked applications built using these tools.
Building using MinGW or Cygwin uses the normal build system, see Chapter 15 and the specific notes in Section 15.8.5 and Section 15.8.2. Cygwin is not recommended and should only be used for older versions of Windows where the native build does not work, such as Windows 98."
8.4 is included in HM2's installation, so choosing to install it when prompted is what I assumed you were going to do.
Regards udbrky (Chris)
postgres 13 seems working ok with hm2, but default authentication has to be tweaked.
in addition to basic parameters:
port 5432
user postgres
password postgrespass
either plaintext auth method has to be enabled (in ph_hba.conf):
host all all 127.0.0.1/32 password
or md5 (in ph_hba.conf ):
host all all 127.0.0.1/32 md5
but to md5 auth to work, there also must be md5 password hashes stored inside postgres. and by default they are scram-sha-256.
so password_encryption (in postgresql.conf) has to be:
password_encryption = md5
after that applied, password must be reset to 'postgrespass' again to update hash.
PostgreSQL Tuning function in HM2 will not work with v13. That is what it changes in postgresql.conf:
### REPLACED ### shared_buffers = 128MB # min 128kB
# (change requires restart)
### REPLACED ### #work_mem = 4MB # min 64kB
### REPLACED ### #hash_mem_multiplier = 1.0 # 1-1000.0 multiplier on hash table work_mem
### REPLACED ### #maintenance_work_mem = 64MB # min 1MB
### REPLACED ### #autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
### REPLACED ### #logical_decoding_work_mem = 64MB # min 64kB
### REPLACED ### #wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
# (change requires restart)
### REPLACED ### #commit_delay = 0 # range 0-100000, in microseconds
### REPLACED ### #checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
### REPLACED ### #effective_cache_size = 4GB
shared_buffers = 1024MB
effective_cache_size = 1024MB
work_mem = 16MB
maintenance_work_mem = 16MB
commit_delay = 10000
max_wal_size = 1800MB # here it places checkpoint_segments=128, but that option is deprecated since v9.5, max_wal_size is its equivalent.
checkpoint_completion_target = 0.9
wal_buffers = 2MB