Postgresql Command Line Select From Stored