Add more explicit placeholder typing

Should investigate why this is necessary with postgres-async but was not with jdbc.