Thread: pgsql/src/backend/utils/cache (relcache.c)

pgsql/src/backend/utils/cache (relcache.c)

From
tgl@postgresql.org
Date:
  Date: Thursday, November 30, 2000 @ 13:38:46
Author: tgl

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

Modified Files:
    relcache.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.