Re: Executing SQL Script

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Executing SQL Script
Дата
Msg-id 42B115AA.8080304@archonet.com
обсуждение исходный текст
Ответ на Executing SQL Script  (Jamie Deppeler <jamie@doitonce.net.au>)
Список pgsql-general
Jamie Deppeler wrote:
> This is a simple question what is the best way to execute a SQL script,
> this script will create schemas and tables for a database i created.

psql -f my_script_file -U username mydbname
or
psql -U username mydbname < my_script_file

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: [HACKERS] INHERITS and planning
Следующее
От: Nico Callewaert
Дата:
Сообщение: Re: Installation on latest version of Suse Linux