dsd: print error message only when PGprepare fail