pgsql/src/backend/access/common (heaptuple.c indextuple.c)

Started by Tom Laneover 25 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Date: Thursday, November 30, 2000 @ 13:38:45
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/access/common
from hub.org:/home/projects/pgsql/tmp/cvs-serv98727/src/backend/access/common

Modified Files:
heaptuple.c indextuple.c

----------------------------- Log Message -----------------------------

Remove VARLENA_FIXED_SIZE hack, which is irreversibly broken now that
both MULTIBYTE and TOAST prevent char(n) from being truly fixed-size.
Simplify and speed up fastgetattr() and index_getattr() macros by
eliminating special cases for attnum=1. It's just as fast to handle
the first attribute by presetting its attcacheoff to zero; so do that
instead when loading the tupledesc in relcache.c.