pgsql: pg_restore cleanups

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_restore cleanups
Date: 2025-04-16 16:15:42
Message-ID: E1u55QL-000Lkr-2M@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_restore cleanups

. remove unnecessary oid_string list stuff
. use pg_get_line_buf() instead of open-coding it
. cleaner parsing of map.dat lines

Reverts 2b69afbe50d add new list type simple_oid_string_list to fe-utils/simple_list

Author: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Author: Andrew Dunstan <andrew(at)dunslane(dot)net>

Discussion: https://postgr.es/m/202504141220.343fmoxfsbj4@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/40b9c27014d90d77c61e8f5c77ddeb84fa9a6b69

Modified Files
--------------
src/bin/pg_dump/pg_restore.c | 105 ++++++++++++++++++++++---------------
src/fe_utils/simple_list.c | 41 ---------------
src/include/fe_utils/simple_list.h | 16 ------
src/tools/pgindent/typedefs.list | 3 +-
4 files changed, 65 insertions(+), 100 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2025-04-16 16:17:53 Re: pgsql: Non text modes for pg_dumpall, correspondingly change pg_restore
Previous Message Mahendra Singh Thalor 2025-04-16 02:53:28 Re: pgsql: Non text modes for pg_dumpall, correspondingly change pg_restore