• Tom Lane's avatar
    Fix failure to copy IndexScan.indexorderbyops in copyfuncs.c. · 42466191
    Tom Lane authored
    This oversight results in a crash at executor startup if the plan has
    been copied.  outfuncs.c was missed as well.
    
    While we could probably have taught both those files to cope with the
    originally chosen representation of an Oid array, it would have been
    painful, not least because there'd be no easy way to verify the array
    length.  An Oid List is far easier to work with.  And AFAICS, there is
    no particular notational benefit to using an array rather than a list
    in the existing parts of the patch either.  So just change it to a list.
    
    Error in commit 35fcb1b3, which is new,
    so no need for back-patch.
    42466191
createplan.c 147 KB