pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_restore cleanups
Date: Wed, 16 Apr 2025 16:15:42 +0000
Message-ID: <E1u55QL-000Lkr-2M@gemulon.postgresql.org> (raw)

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

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(-)



Message-ID: <E1u55QL-000Lkr-2M@gemulon.postgresql.org>
Permalink:  ../E1u55QL-000Lkr-2M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1u55QL-000Lkr-2M@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_restore cleanups
  In-Reply-To: <E1u55QL-000Lkr-2M@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox