Re: input from a file

Поиск
Список
Период
Сортировка
От Joel Burton
Тема Re: input from a file
Дата
Msg-id Pine.LNX.4.21.0105031445510.5476-100000@olympus.scw.org
обсуждение исходный текст
Ответ на input from a file  ("Stephen M. Ford" <sford@Eng.Auburn.EDU>)
Список pgsql-novice
On Thu, 3 May 2001, Stephen M. Ford wrote:

> I have a dump from a msql database into a file and would like postgre to build the tables and insert the data into
thosetables.  How do I go about getting postgre to read commands from a file?  

  psql dbname < yourfile.sql

is always a likely way to pump some data into a Unix program.


--
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington


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

Предыдущее
От: "Albert REINER"
Дата:
Сообщение: pl/pgSQL: locale and ~ '[a-z]'
Следующее
От: "Eric Naujock "
Дата:
Сообщение: Re: input from a file