Re: pg_restore -N loses extension comment
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-05-07T13:52:49Z
Lists: 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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Ensure that "pg_restore -l" reports dependent TOC entries correctly.
- a3c00ab15450 12.20 landed
- b99dc6694ca6 13.16 landed
- 52b23b4e1c6f 14.13 landed
- 6a458d93ba5f 15.8 landed
- 5dce8ce0ac48 16.4 landed
- c1aea206e3e3 17.0 landed