Thread: pgsql/src/include/catalog (pg_type.h)

pgsql/src/include/catalog (pg_type.h)

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

Update of /home/projects/pgsql/cvsroot/pgsql/src/include/catalog
     from hub.org:/home/projects/pgsql/tmp/cvs-serv98727/src/include/catalog

Modified Files:
    pg_type.h

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