pgsql: pg_restore cleanups
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@kurilemu.de>
Author: Andrew Dunstan <andrew@dunslane.net>
Discussion: /messages/by-id/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(-)