Re: Creating tables from files

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Creating tables from files
Дата
Msg-id Pine.LNX.4.33.0111061857050.7562-100000@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Creating tables from files  (Jason Earl <jason.earl@simplot.com>)
Список pgsql-general
On 6 Nov 2001, Jason Earl wrote:

> Let's say you had a file (create.sql) that had:
>
> CREATE TABLE foo (
>         bar     SERIAL PRIMARY KEY,
>         baz     text
> );
>
> and you wanted to load this into the processdata database.  The
> command would look like this:
>
> psql processdata -f create.sql
>
> See man psql for more information, and fire up psql and do /? and
> check out the /i command it does the same thing.
>
> I hope this is helpful,

  Yup. Thank you very much, Jason.

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
                         http://www.appl-ecosys.com


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

Предыдущее
От: Jason Earl
Дата:
Сообщение: Re: Creating tables from files
Следующее
От: Bruce Momjian
Дата:
Сообщение: Sourceforge on Oracle?