Re: batch file

Поиск
Список
Период
Сортировка
От missive@frontiernet.net (Lee Harr)
Тема Re: batch file
Дата
Msg-id slrna78r85.75.missive@whave.frontiernet.net
обсуждение исходный текст
Ответы Re: batch file
Список pgsql-general
> In the postgresql tutorial it is explained how to enter commands one by
> one, I was wondering whether it is possible to first put a series of
> commands in an ascii file and then read in that file with psql. Here are
> my questions:
> 1. What should be the default extension of such a file

I do not know of a standard. How about .sql ?

> 2. Which command in psql should I use to read in suc a file

\i commands.sql

Also, take a look at \? which will show you other goodies.



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

Предыдущее
От: "paul simdars"
Дата:
Сообщение: Re: OID - insert statement
Следующее
От: missive@frontiernet.net (Lee Harr)
Дата:
Сообщение: Re: deleting an identical record