Re: pg_dump of partitioned table not working.

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: pg_dump of partitioned table not working.
Дата
Msg-id CAKFQuwYP_R_pfgCAoHm68gtO7rvYYxX-7WL-p3y3UqOHOoAfRg@mail.gmail.com
обсуждение исходный текст
Ответ на pg_dump of partitioned table not working.  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: pg_dump of partitioned table not working.
Список pgsql-general
On Wednesday, December 2, 2020, Ron <ronljohnsonjr@gmail.com> wrote:
What am I missing?

postgres=# \d+ measurement
                           Partitioned table "public.measurement"


$ /usr/lib/postgresql/12/bin/pg_dump -p5433 -d postgres -t measurement --data-only

I’m unsure whether to expect a dump of only the partitioned table’s data to be empty or include everything.  I suspect “empty” is the correct answer.  If you dump everything the individual tables would be dumped, and not all partition should be dumped.

David J.
 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump of partitioned table not working.
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: "Server versions prior to 8.0 do not support savepoints" when using JDBC ...