Re: Database connectivity using a unix shell

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Database connectivity using a unix shell
Дата
Msg-id 1151599249.13129.18.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Re: Database connectivity using a unix shell  ("Jasbinder Bali" <jsbali@gmail.com>)
Ответы Re: Database connectivity using a unix shell
Список pgsql-general
On Thu, 2006-06-29 at 11:29, Jasbinder Bali wrote:
> isn't my normal bash script different from psql.
> In a bash script how wud u specify the db parameters

Look at how I'm doing it here:

>         > > query="select * from sometable";
>         > > a=`echo $query|psql -tq dbname`;

Note that I'm calling psql from within a bash script. So, the connection
params are the same as for psql, cause that's what I'm using.

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

Предыдущее
От: "Jasbinder Bali"
Дата:
Сообщение: Re: Database connectivity using a unix shell
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: Database connectivity using a unix shell