Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 1C6E89F9CD6 for ; Sat, 22 Sep 2007 17:41:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 17728-01 for ; Sat, 22 Sep 2007 17:41:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id D02CA9F9CCB for ; Sat, 22 Sep 2007 17:41:14 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l8MKfD6G003839; Sat, 22 Sep 2007 16:41:13 -0400 (EDT) To: John Mulkerin cc: pgsql-sql@postgresql.org Subject: Re: Intermittent Empty return In-reply-to: <46F57BBC.8070008@comcast.net> References: <46F57BBC.8070008@comcast.net> Comments: In-reply-to John Mulkerin message dated "Sat, 22 Sep 2007 13:31:56 -0700" Date: Sat, 22 Sep 2007 16:41:12 -0400 Message-ID: <3838.1190493672@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/142 X-Sequence-Number: 29355 John Mulkerin writes: > I'm new to Postgres. I'm trying to select data from my survey_results > table. My server is running Postgres 7.3.4. Do you realize how ancient that version is? An update would be a real good idea. > I log in as root (its RH), then > psql database_name. Its says "Welcome..... ". I then type "SELECT * > from survey_results" and hit enter. Nothing! It just goes back to the > database_name prompt. It sounds like you've forgotten to end the command with a semicolon. regards, tom lane