pg_restore cleanups
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 16 Apr 2025 15:58:44 +0000 (11:58 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 16 Apr 2025 16:04:34 +0000 (12:04 -0400)
commit40b9c27014d90d77c61e8f5c77ddeb84fa9a6b69
tree198a5845fe5babaeb2faa92947d6c7e2715e55f0
parent3b35f9a4c5e0ed85c367b1397dac02fe7bd5b8a8
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: https://postgr.es/m/202504141220.343fmoxfsbj4@alvherre.pgsql
src/bin/pg_dump/pg_restore.c
src/fe_utils/simple_list.c
src/include/fe_utils/simple_list.h
src/tools/pgindent/typedefs.list