Re: heap_modifytuple - Mailing list pgsql-patches

From Neil Conway
Subject Re: heap_modifytuple
Date
Msg-id 1106868268.3226.76.camel@localhost.localdomain
Whole thread Raw
In response to heap_modifytuple  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-patches
On Wed, 2004-09-08 at 16:31 -0400, Alvaro Herrera wrote:
> Here is a simple patch that changes heap_modifytuple to require a
> TupleDesc instead of a Relation (driven off a comment in the same
> function).

Patch applied to HEAD. I went to the trouble of checking the call sites
of heap_modifytuple() and using the TupleDesc of the relation if we have
already fetched it, rather than calling RelationGetDescr() again.

Thanks for the patch.

-Neil



pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Shared dependency patch
Next
From: Neil Conway
Date:
Subject: Re: Move get_grosysid() to utils/cache/lsyscache.c