• Tom Lane's avatar
    Refactor SPI_cursor_open/SPI_cursor_open_with_args so that the latter sets · 6a9fffcd
    Tom Lane authored
    the PARAM_FLAG_CONST flag on the parameters that are passed into the portal,
    while the former's behavior is unchanged.  This should only affect the case
    where the portal is executing an EXPLAIN; it will cause the generated plan to
    look more like what would be generated if the portal were actually executing
    the command being explained.  Per gripe from Pavel.
    6a9fffcd
spi.c 55.2 KB