• Tom Lane's avatar
    Cleanup of code for creating index entries. Functional indexes with · 6bfe6403
    Tom Lane authored
    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).
    6bfe6403
vacuum.h 2.77 KB