| От | Doug McNaught |
|---|---|
| Тема | Re: duplicating tables (accross databases) |
| Дата | |
| Msg-id | m3bsg14zc0.fsf@varsoon.denali.to обсуждение исходный текст |
| Ответ на | duplicating tables (accross databases) (Jim Martinez <jjm@bigbigorg.org>) |
| Список | pgsql-general |
Jim Martinez <jjm@bigbigorg.org> writes: > > I know this will seem silly, but I'm trying to > > make a copy of a table with a few modifications. > > A variation on the above: > > Suppose I create and populate a table called people in the test database > and I want to move it to another database called production. How can a > query across the schema? And schema may not be the correct word. Schema is in fact the correct word (it's in the SQL standard). Schemas are currently not implemented in PostgreSQL. They are on the TODO list for a future version. You'll have to use two different databases and use pg_dump/psql to move the data, or write custom client code to do so. -Doug -- Let us cross over the river, and rest under the shade of the trees. --T. J. Jackson, 1863
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера