| От | Tom Lane |
|---|---|
| Тема | Re: pg_dump, pg_restore, insert vs copy |
| Дата | |
| Msg-id | 27059.1111679526@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | pg_dump, pg_restore, insert vs copy ("Lee Wu" <Lwu@mxlogic.com>) |
| Ответы |
Re: pg_dump, pg_restore, insert vs copy
|
| Список | pgsql-admin |
"Lee Wu" <Lwu@mxlogic.com> writes:
> When I use pg_dump to back up the whole database and then pg_restore an
> individual table,
> pg_restore uses COPY. Great.
> When I use pg_dump to back up an individual table and pg_restore it,
> pg_restore uses INSERT.
Not for me...
That decision is fixed at pg_dump time; it's not possible for pg_restore
to change it, because the data is already that way (or not) in the dump
file. Maybe you misinterpreted what you saw?
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера