setup postgresql apt repo and pins during compile time