The installation of PostgreSQL 11.2 fails under Win10 (pro) with a 0xC0000005 memory access violation error.
... ## Initialization pg11 ########################### Setting directory and file permissions. processed file: C: PostgreSQL data pg11 Successfully processed 1 files; Failed to process 0 files setting of the logging authorization dir processed file: C: POSTGR ~ 1 data logs pg11 Successfully processed 1 files; Failed to process 0 files Initializing the Postgres database with: C: POSTGR ~ 1 pg11 bin initdb -U postgres -A md5 -encoding UTF8 -D "C: PostgreSQL data pg11" --pwfile = "C: POSTGR ~ 1 pg11 .pgpass ">" C: POSTGR ~ 1 data logs pg11 install.log "2> & 1 ERROR: Unable to initialize the PG. see the log file: C: POSTGR ~ 1 data logs pg11 install.log Error while running init-pg11 Script stderr: The program has ended with an error exit code Configuration or permissions error. Please check the log file for more information. Problem during the post-installation step. The installation may not finish properly Configuration or permissions error. Please check the log file for more information. Clean ...
… data pg11 install.log
The files belonging to this database system will be owned by the user "jeroe". This user must also have the server process. The database cluster will be initialized with the locale "English_United Kingdom.1252". The default text search setting will be set to "English". The checksums on the data page are disabled. setting the permissions on the existing directory C: / PostgreSQL / data / pg11 ... ok create subdirectories ... ok selecting max_connections by default ... 100 default selection of shared_buffers ... 128 MB selection of the dynamic implementation of shared memory ... Windows create configuration files ... ok execution of the bootstrap script ... the child process was interrupted by a 0xC0000005 exception initdb: deleting the contents of the data directory "C: / PostgreSQL / data / pg11"
does not seem to be the typical permissions with the postgre user, as this seems to be outdated information: https://stackoverflow.com/questions/18292725/no-postgresql-user-created-after-new-windows-install