nodejs and postgresql : interfacing