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

From Alvaro Herrera
Subject Re: Any reason to have heap_(de)formtuple?
Date
Msg-id 20081023151412.GA4845@alvh.no-ip.org
Whole thread Raw
In response to Re: Any reason to have heap_(de)formtuple?  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: Any reason to have heap_(de)formtuple?
List pgsql-hackers
Zdenek Kotala wrote:
> Tom Lane napsal(a):

>> 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 ...
>
> What's about convert null array to boolean and call heap_form_tuple?

Agreed, I started doing that some time ago ... it doesn't seem all that
complicated.  We could try to add a #warning if an external module uses
the deprecated interface, for a couple of releases, and then perhaps
drop it.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Any reason to have heap_(de)formtuple?
Next
From: Zdenek Kotala
Date:
Subject: Re: Any reason to have heap_(de)formtuple?