PostgreSQL Server 9.4 for Linux x86 64-bit
Install and run PostgreSQL server under the current user inside of the application directory.
npm install pg-server-9.4-linux-x64
Provides function for spawning PostgreSQL server instance specifying the data directory and configuration options. Returns ChildProcess
.
var startServer = ; /* * Start the PostgreSQL server * @param {String} dataDir Directory will be initialized if does not exist * @param {Object} config Settings for postgresql.conf */var postgres = ; postgresstdout; postgresstderr; postgres; // Later on, stop server...postgres;
Default Settings
- Default user name will be the the same as the user name for on the system.
- Default password is
numtel
as specified in thedefaultpw
file. - Default database is
postgres
. - Default port is
5432
(may be changed withport
configuration setting).
License
PostgreSQL