Re: pgsql: Prevent redeclaration of typedef TocEntry. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Prevent redeclaration of typedef TocEntry.
Date
Msg-id 2408468.1743833410@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Prevent redeclaration of typedef TocEntry.  (Álvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: pgsql: Prevent redeclaration of typedef TocEntry.
List pgsql-committers
=?utf-8?Q?=C3=81lvaro?= Herrera <alvherre@alvh.no-ip.org> writes:
> ... AFAICS we could move both DefnDumperPtr and
> DataDumperPtr typedefs to pg_backup_archiver.h, together with struct
> _tocEntry (the only place where they are used), and we'd have less of a
> mess here.  Then we don't need struct TocEntry in pg_backup.h anymore.

+1 for this simplification.

            regards, tom lane



pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: pg_dump: Fix query for gathering attribute stats on older versio
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing