Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B170C9F9DF9 for ; Sat, 22 Sep 2007 19:10:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 66534-09 for ; Sat, 22 Sep 2007 19:10:00 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by postgresql.org (Postfix) with ESMTP id C28BB9F9DEC for ; Sat, 22 Sep 2007 19:10:04 -0300 (ADT) Received: from [192.168.1.102] (c-24-6-155-241.hsd1.ca.comcast.net[24.6.155.241]) by comcast.net (sccrmhc11) with ESMTP id <2007092222100301100lkuq2e>; Sat, 22 Sep 2007 22:10:03 +0000 Message-ID: <46F59280.7050809@comcast.net> Date: Sat, 22 Sep 2007 15:09:04 -0700 From: John Mulkerin User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tom Lane CC: pgsql-sql@postgresql.org Subject: Re: Intermittent Empty return References: <46F57BBC.8070008@comcast.net> <3838.1190493672@sss.pgh.pa.us> In-Reply-To: <3838.1190493672@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/143 X-Sequence-Number: 29356 I agree its old. I'm working on the upgrade but first need to verify and then purge some data. I tried with and without a semicolon However, with a semicolon results in Just tried semicolon again.. First time resulted in results. Second time resulted in select * from survey_results; ERROR: parser: parse error at or near "select" at character 30. Maybe another reason I need to upgrade? Tom Lane wrote: > 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 > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > >