Re: pgsql: Non text modes for pg_dumpall, correspondingly change pg_restore
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Andrew Dunstan <andrew@dunslane.net>, Mahendra Singh Thalor <mahi6run@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-04-14T12:20:10Z
Lists: pgsql-hackers
Attachments
- 0001-remove-unnecessary-oid_string-list-stuff.patch (text/x-diff)
On 2025-Apr-04, Andrew Dunstan wrote: > Non text modes for pg_dumpall, correspondingly change pg_restore I think the new oid_string_list stuff in this commit is unnecessary, and we can remove a bunch of lines by simplifying that to using SimplePtrList, as the attached illustrates. (Perhaps the names of members of the proposed struct can be improved.) I also propose to remove the open-coded implementation of pg_get_line. WDYT? I'm also not sure about the double sscanf() business there ... There must be a better way to do this. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pg_restore cleanups
- 40b9c27014d9 18.0 landed
-
Non text modes for pg_dumpall, correspondingly change pg_restore
- 1495eff7bdb0 18.0 cited