forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd5a83d7
committed
Rethink recently-added SPI interfaces.
SPI_execute_with_receiver and SPI_cursor_parse_open_with_paramlist arenew in v14 (cf. commit2f48ede). Before they can get out the door,let's change their APIs to follow the practice recently established bySPI_prepare_extended etc: shove all optional arguments into a structthat callers are supposed to pre-zero. The hope is to allow futureaddition of more options without either API breakage or a continuingproliferation of new SPI entry points. With that in mind, chooseslightly more generic names for them: SPI_execute_extended andSPI_cursor_parse_open respectively.Discussion:https://postgr.es/m/CAFj8pRCLPdDAETvR7Po7gC5y_ibkn_-bOzbeJb39WHms01194Q@mail.gmail.com1 parent7292fd8 commitd5a83d7