From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_dump: Don't use enums for defining bit mask values
Date: Fri, 11 Dec 2020 18:18:04 +0000
Message-ID: <E1knmzU-0003QJ-R8@gemulon.postgresql.org> (raw)
pg_dump: Don't use enums for defining bit mask values
This usage would mean that values of the enum type are potentially not
one of the enum values. Use macros instead, like everywhere else.
Discussion: https://www.postgresql.org/message-id/14dde730-1d34-260e-fa9d-7664df2d6313@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d2a2808eb444986d2fe716a48e21993329142f3d
Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 10 +++++-----
src/bin/pg_dump/pg_backup_archiver.h | 13 +++++--------
src/bin/pg_dump/pg_backup_utils.h | 12 +++++-------
3 files changed, 15 insertions(+), 20 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: pg_dump: Don't use enums for defining bit mask values
In-Reply-To: <E1knmzU-0003QJ-R8@gemulon.postgresql.org>
References: <E1knmzU-0003QJ-R8@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