Re: Read data from text file

Поиск
Список
Период
Сортировка
От Frank Bax
Тема Re: Read data from text file
Дата
Msg-id 4A1B2BA5.6030009@sympatico.ca
обсуждение исходный текст
Ответ на Read data from text file  ("Just E. Mail" <justemail@imwell-usa.com>)
Ответы Re: Read data from text file  ("Just E. Mail" <justemail@imwell-usa.com>)
Re: Read data from text file  ("Just E. Mail" <justemail@imwell-usa.com>)
Список pgsql-novice
Just E. Mail wrote:
> What is the command to create a  table from a pre-written description
> text file?
>
> In mysql it is:
>
> %mysql sample_db < create_xxxx.sql
>
> In postgresql, there are schema and I want to create the DB in a
> particulat schema!



When I have multiple schemas in one database; I generally have a user
that "owns" each schema, as in:

      CREATE USER kevin;
      CREATE SCHEMA kevin AUTHORIZATION kevin;

Then I process the sql commands with:

% psql db_kevin kevin < create-kevin.sql



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

Предыдущее
От: Ron Arts
Дата:
Сообщение: I don't understand this explain output
Следующее
От: Luiz Eduardo Cantanhede Neri
Дата:
Сообщение: Re: I don't understand this explain output