Re: Any reason to have heap_(de)formtuple? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Any reason to have heap_(de)formtuple?
Date
Msg-id 4481.1224774487@sss.pgh.pa.us
Whole thread Raw
In response to Any reason to have heap_(de)formtuple?  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: Any reason to have heap_(de)formtuple?
Re: Any reason to have heap_(de)formtuple?
List pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Currently in heaptuple.c we have duplicated code.  heap_deformtuple and 
> heap_formtuple are mark as a obsolete interface. Is any reason to have still 
> them? I know that they are still used on many places, but is there any stopper 
> to keep these function alive?

Well, aside from the gruntwork needed to convert all the core code that
still uses the old APIs, there's the prospect of breaking extension
modules that still use the old APIs.  It's kind of annoying to have two
copies of that code, but less annoying than removing it would be ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Unicode escapes in literals
Next
From: Tom Lane
Date:
Subject: Re: Unicode escapes in literals