• Michael Paquier's avatar
    Split handling of reloptions for partitioned tables · 1bbd608f
    Michael Paquier authored
    Partitioned tables do not have relation options yet, but, similarly to
    what's done for views which have their own parsing table, it could make
    sense to introduce new parameters for some of the existing default ones
    like fillfactor, autovacuum, etc.  Splitting things has the advantage to
    make the information stored in rd_options include only the necessary
    information, reducing the amount of memory used for a relcache entry
    with partitioned tables if new reloptions are introduced at this level.
    
    Author:  Nikolay Shaplov
    Reviewed-by: Amit Langote, Michael Paquier
    Discussion: https://postgr.es/m/1627387.Qykg9O6zpu@x200m
    1bbd608f
tablecmds.c 512 KB