-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
The current implementation of the Postgres adapter establishes a connection using the default settings. It would be helpful if we could customize the options available in the Postgres driver. As things stand, there are two sets of options that can be configured:
- The initialization options for the
pg-promisewrapper - The options for the
node-postgresinstance available viapgp.pg.defaults.OPTION_NAME
To implement this, parse server can accept them individually as command line parameters/environment variable (the existing --databaseOptions option and a new option).
Alternatively, they can be combined into the existing --databaseOptions option with the convention that this option have a structure similar to:
{
"pgpOptions": { },
"pgOptions": { }
}Of course, the keys could have more descriptive names. If we can decide on the preferable approach and the naming convention, I could take a stab at implementing this.
rendongsc
Metadata
Metadata
Assignees
Labels
No labels