Re: refactor CreateTupleDescCopy() - Mailing list pgsql-patches

From Tom Lane
Subject Re: refactor CreateTupleDescCopy()
Date
Msg-id 6641.1069361480@sss.pgh.pa.us
Whole thread Raw
In response to Re: refactor CreateTupleDescCopy()  (Neil Conway <neilc@samurai.com>)
Responses Re: refactor CreateTupleDescCopy()
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> Now that I think about
> it, we could also just change the API to remove
> CreateTupleDescCopyConstr(), and replace it with an additional bool
> parameter to CreateTupleDescCopy().

That would be okay with me.  It might be a good idea to change the name
completely (perhaps CopyTupleDesc() ?) as a means of catching places
that aren't correctly updated.  (I worry about add-on modules that might
not get recompiled between versions; they'd still link, but then crash,
if the routine name is the same.)

            regards, tom lane

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: refactor CreateTupleDescCopy()
Next
From: Neil Conway
Date:
Subject: Re: refactor CreateTupleDescCopy()