Re: Fwd: Proposal: variant of regclass - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fwd: Proposal: variant of regclass
Date
Msg-id 21349.1396888092@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fwd: Proposal: variant of regclass  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> In other words, let's revert the whole refactoring of this file to
> create reg*_guts functions, and instead just copy the relevant logic
> for the name lookups into the new functions.

The main discomfort I'd had with this patch was the amount of refactoring
it did; that made it hard to verify and I wasn't feeling like it made for
much net improvement in cleanliness.  If we can do it without that, and
have only as much duplicate code as you suggest, then +1.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Including replication slot data in base backups
Next
From: Andres Freund
Date:
Subject: Re: Fwd: Proposal: variant of regclass