Обсуждение: pgsql/src/backend/bootstrap (bootparse.y bootscanner.l bootstrap.c)

Поиск
Список
Период
Сортировка

pgsql/src/backend/bootstrap (bootparse.y bootscanner.l bootstrap.c)

От
Tom Lane
Дата:
  Date: Friday, July 14, 2000 @ 18:17:39
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/bootstrap
     from hub.org:/home/projects/pgsql/tmp/cvs-serv55747/src/backend/bootstrap

Modified Files:
    bootparse.y bootscanner.l bootstrap.c

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

Cleanup of code for creating index entries.  Functional indexes with
pass-by-ref data types --- eg, an index on lower(textfield) --- no longer
leak memory during index creation or update.  Clean up a lot of redundant
code ... did you know that copy, vacuum, truncate, reindex, extend index,
and bootstrap each basically duplicated the main executor's logic for
extracting information about an index and preparing index entries?
Functional indexes should be a little faster now too, due to removal
of repeated function lookups.
CREATE INDEX 'opt_type' clause is deimplemented by these changes,
but I haven't removed it from the parser yet (need to merge with
Thomas' latest change set first).