Corrected Postgresql Command