mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
Changed style of #14 to be more in line with other questions
parent
632bd0f390
commit
75efc44eb8
4
FAQ.md
4
FAQ.md
@ -163,11 +163,11 @@ Personally, I like the pure JavaScript bindings because it's JavaScript all the
|
||||
|
||||
Nothing. You are responsible for calling either `client.query('COMMIT')` or `client.query('ROLLBACK')` If you call neither and call the `done()` callback the client will be returned to the pool with an open transaction, and I assume _bad things will happen_ in your application.
|
||||
|
||||
### 14. How to install pg on Windows?
|
||||
### 14. How do I install pg on Windows?
|
||||
|
||||
Problem: `npm install pg` fails with error message `Call to 'pg_config --libdir' returned exit status 1. while trying to load binding.gyp`
|
||||
|
||||
You need PosgreSQL installed on your system. Path to PostgreSQL bin directory must be included in environment PATH variable. `pg_config` is stored in that bin directory.
|
||||
You need PostgreSQL installed on your system. The path to PostgreSQL bin directory must be included in the environment PATH variable. `pg_config` is stored in that bin directory.
|
||||
|
||||
Quick fix for PowerShell:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user