Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

pg.connection() #17

Open
alexsuslov opened this issue Mar 13, 2013 · 1 comment
Open

pg.connection() #17

alexsuslov opened this issue Mar 13, 2013 · 1 comment

Comments

@alexsuslov
Copy link

No connection with '@' in user.

var config={
user:"noname@site"
, password:"password"
, host:"localhost"
, database:"database"
}
var dbWrapper = new pg.DBWrapper('pg', config);
dbWrapper.connect();

@olivierphi
Copy link
Owner

@alexsuslov Well, I'm far from being a PostreSQL expert. Do postgres users really use "@" in usernames ?? :-)

The problem is that the pg driver relies on "@" for its connexion String : it's a separator between the username and the server address.
Would you have an idea about how we could solve this issue ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants