Node-DBI
Node-DBI copied to clipboard
pg.connection()
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();
@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 ?