adding pg sql