RE: [NOVICE] I´ve got problems when I try to use de psql

Поиск
Список
Период
Сортировка
Искать

RE: [NOVICE] I´ve got problems when I try to use de psql

От:
Alejandro Fuentes González<alejandro.fuentes@SSP.DF.GOB.MX>
Дата:
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
FAQ