Re: Any reason to have heap_(de)formtuple?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Any reason to have heap_(de)formtuple?
Date: 2008-10-23 15:08:07
Message-ID: 4481.1224774487@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-10-23 15:11:33 Re: Unicode escapes in literals
Previous Message Peter Eisentraut 2008-10-23 15:04:43 Re: Unicode escapes in literals