RE: [NOVICE] I´ve got problems when I try to use de psql - Mailing list pgsql-novice

From Alejandro Fuentes González
Subject RE: [NOVICE] I´ve got problems when I try to use de psql
Date
Msg-id 3B6938C4F833D71181C5000874335A5E0310D0@mail.ssp.df.gob.mx
Whole thread Raw
List pgsql-novice
Josh I tried what you told me, but actually I ve got a response from the
console, unfourtanelly the answer is just "SELECT", when I tried to save its
results to a file, the file only stores "SELECT".


-----Mensaje original-----
De: Josh Berkus [mailto:josh@agliodbs.com]
Enviado el: Viernes, 18 de Julio de 2003 11:32 a.m.
Para: Alejandro Fuentes González; pgsql-novice@postgresql.org
Asunto: Re: [NOVICE] I´ve got problems when I try to use de psql


Alejandro,

> When I try to do a "select version();" or  a "select 4 + 4;" or even a
> "select * from anytable;" I only receive a SELECT as response, what do
> you thing I'm doing wrong??

You've probably set your PSQL to output its results to a file.   Try typing:
\o
to reset the response to the console.

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-novice by date:

Previous
From: Josh Berkus
Date:
Subject: Re: I´ve got problems when I try to use de
Next
From: Panagiotis Vossos
Date:
Subject: pgsql 7.3.3 and odbc on linux ?