Обсуждение: Re: executing sql statements from file

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

Re: executing sql statements from file

От
Lee Harr
Дата:
In article <3d8c77ae$0$13217$e4fe514c@dreader4.news.xs4all.nl>, Frank wrote:
> Hello,
>
> how can I execute a bunch of sql queries from a file? This is normally done
> by connecting to the database and something like
>
>=> start /tmp/hutsemefluts.sql
> or
>=> @ /tmp/hutsemefluts.sql
>
> but how can this by done in PostgreSQL?
>
> thanks
>

\i /tmp/hutsemefluts.sql