fix postgresql:link

use $3 in there, since it actually points to a postgresql instance name