Re: Problem running script

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Problem running script
Дата
Msg-id 48882C2A.8000801@lelarge.info
обсуждение исходный текст
Ответ на Problem running script  ("Sushma Sagaram" <sushma.2276@gmail.com>)
Список pgadmin-support
Sushma Sagaram a écrit :
> My requirement is to write a query in a file read the input from that 
> file run in postgresql and write the output(query results) into a file. 
> I'm not able to sue combination of \i and \o
> Let' say I have file test.sql and in test.sql I write
> select * from abc;
>  
> Now I need to read the query from the file and write the output to a 
> file. I tried
> =>\i test.sql \o test
>  

=> \o test
and then
=> \i test.sql

But this is not related to pgadmin. You should have ask on pgsql-general.


-- 
Guillaume. http://www.postgresqlfr.org http://dalibo.com


В списке pgadmin-support по дате отправления:

Предыдущее
От: "Sushma Sagaram"
Дата:
Сообщение: Problem running script
Следующее
От: osalcedo@unitecnologica.edu.co
Дата:
Сообщение: problemas al crear el servicio