Re: copying tables

Поиск
Список
Период
Сортировка
От ERIC Lawson - x52010
Тема Re: copying tables
Дата
Msg-id Pine.LNX.4.21.0102210858580.355-100000@arwen.bioeng.washington.edu
обсуждение исходный текст
Ответ на copying tables  (Robert Kernell <kernell@sundog.larc.nasa.gov>)
Список pgsql-novice
Check out pg_dump:  basically, this works --

pg_dump -t tablename olddbname > table.out

followed by

psql -d newdbname < table.out

or

psql -d newdbname -f table.out

On Tue, 20 Feb 2001, Robert Kernell wrote:

> Hi. I am trying to copy tables. I want to copy a table in one database to a
> table in another database. The tables are identical. Here is to code and the
> error when using DBI. Can I just use postgresQL somehow?
>
> Thank you.
>
> Bob Kernell
> Research Scientist
> Analytical Services & Materials, Inc.
> NASA Atmospheric Sciences Competency
> Radiation and Aerolsols Branch
> email: r.w.kernell@larc.nasa.gov
> tel: 757-827-4631
>

--

James Eric Lawson
Research Publications Editor III
National Simulation Resource

eric@bioeng.washington.edu

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Everyday language is a part of the human organism and is no less
complicated than it. - Ludwig Wittgenstein (1889-1951) [Tractatus
Logico-Philosophicus, 1921]



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

Предыдущее
От: ERIC Lawson - x52010
Дата:
Сообщение: Re: changing column data types
Следующее
От: Mike Friesen
Дата:
Сообщение: General Inquiry