On 2/5/21 2:55 AM, Ian Lawrence Barwick wrote: > ... > > There's a minor typo in the doc's version of the > ExecForeignBatchInsert() declaration; > is: > > TupleTableSlot ** > ExecForeignBatchInsert(EState *estate, > ResultRelInfo *rinfo, > TupleTableSlot **slots, > TupleTableSlot *planSlots, > int *numSlots); > > should be: > > TupleTableSlot ** > ExecForeignBatchInsert(EState *estate, > ResultRelInfo *rinfo, > TupleTableSlot **slots, > TupleTableSlot **planSlots, > int *numSlots); > > (Trivial patch attached). > > > Forgot to mention the relevant doc link: > > > https://www.postgresql.org/docs/devel/fdw-callbacks.html#FDW-CALLBACKS-UPDATE > <https://www.postgresql.org/docs/devel/fdw-callbacks.html#FDW-CALLBACKS-UPDATE> >
Thanks, I'll get this fixed. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company