Re: Sample databases

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Sample databases
Дата
Msg-id 48E15233.6000602@iol.ie
обсуждение исходный текст
Ответ на Sample databases  ("Tommy Gibbons" <tomgig@gmail.com>)
Список pgsql-general
On 29/09/2008 23:03, Tommy Gibbons wrote:

> I would like some pointers as to how to install the dbsamples so that I
> can use them in Postgres.  These .tar.qz files seem to contain *.sql
> files.  These seem to be text files but I do not understand how to
> import to postgres or if there is some command line command to run.

You use psql to load them:

    psql -U <user> -f <file> <database>


Ray.


------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

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

Предыдущее
От: "Tommy Gibbons"
Дата:
Сообщение: Sample databases
Следующее
От: "David Rowley"
Дата:
Сообщение: Re: Sample databases