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

From Zdenek Kotala
Subject Re: Any reason to have heap_(de)formtuple?
Date
Msg-id 4900956C.7020704@sun.com
Whole thread Raw
In response to Re: Any reason to have heap_(de)formtuple?  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Any reason to have heap_(de)formtuple?
List pgsql-hackers
Alvaro Herrera napsal(a):
> 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.  

Do you have any half patch?

> 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.

+1
Zdenek


-- 
Zdenek Kotala              Sun Microsystems
Prague, Czech Republic     http://sun.com/postgresql



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Any reason to have heap_(de)formtuple?
Next
From: Magnus Hagander
Date:
Subject: patch: Client certificate requirements