Re: pg_restore -N loses extension comment

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore -N loses extension comment
Дата
Msg-id 4054893.1715089969@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_restore -N loses extension comment  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: pg_restore -N loses extension comment  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes:
> pg_dump -Fc |pg_restore -l -N schema:
> | 2; 3079 18187 EXTENSION - pg_buffercache 
> Without -N schema also shows:
> | 2562; 0 0 COMMENT - EXTENSION pg_buffercache 

Hmm, but what happens if you actually do the restore?

I think this may be a bug in -l mode: ProcessArchiveRestoreOptions
saves the result of _tocEntryRequired in te->reqs, but PrintTOCSummary
doesn't, and that will bollix its subsequent _tocEntryRequired checks
for "dependent" TOC entries.

            regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: WHERE CURRENT OF with RLS quals that are ctid conditions
Следующее
От: Robert Haas
Дата:
Сообщение: Re: WHERE CURRENT OF with RLS quals that are ctid conditions