Re: command

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: command
Дата
Msg-id Pine.LNX.4.33.0211070953060.29627-100000@css120.ihs.com
обсуждение исходный текст
Ответ на command  (Florian Litot <flitot@besancon.sema.slb.com>)
Список pgsql-hackers
On Tue, 5 Nov 2002, Florian Litot wrote:

> what is the command to launch a sql script not in psql
> thanks

without actually being IN psql, you can use it to run one line scripts
like this:

psql dbname -c -- 'single query goes here'

or you can run a large file full of sql queries like this:

psql dbname -f filename.sql


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

Предыдущее
От: Olivier PRENANT
Дата:
Сообщение: Re: [PORTS] PostgreSQL supported platform report and a
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: [PORTS] PostgreSQL supported platform report and a