Skip site navigation (1) Skip section navigation (2)

Re: heap_modifytuple

From: Neil Conway <neilc(at)samurai(dot)com>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: heap_modifytuple
Date: 2005-01-27 23:24:28
Message-ID: 1106868268.3226.76.camel@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: 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.


In response to

pgsql-patches by date

Next:From: Neil ConwayDate: 2005-01-27 23:36:19
Subject: Re: Move get_grosysid() to utils/cache/lsyscache.c
Previous:From: Mark WongDate: 2005-01-27 21:30:25
Subject: Re: [HACKERS] WAL: O_DIRECT and multipage-writer

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group