File tree 3 files changed +14
-0
lines changed
3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -437,6 +437,15 @@ typedef struct SPITupleTable
437
437
</listitem>
438
438
</varlistentry>
439
439
440
+ <varlistentry>
441
+ <term><symbol>SPI_OK_MERGE</symbol></term>
442
+ <listitem>
443
+ <para>
444
+ if a <command>MERGE</command> was executed
445
+ </para>
446
+ </listitem>
447
+ </varlistentry>
448
+
440
449
<varlistentry>
441
450
<term><symbol>SPI_OK_INSERT_RETURNING</symbol></term>
442
451
<listitem>
Original file line number Diff line number Diff line change @@ -2029,6 +2029,10 @@ SPI_result_code_string(int code)
2029
2029
return "SPI_OK_REL_REGISTER" ;
2030
2030
case SPI_OK_REL_UNREGISTER :
2031
2031
return "SPI_OK_REL_UNREGISTER" ;
2032
+ case SPI_OK_TD_REGISTER :
2033
+ return "SPI_OK_TD_REGISTER" ;
2034
+ case SPI_OK_MERGE :
2035
+ return "SPI_OK_MERGE" ;
2032
2036
}
2033
2037
/* Unrecognized code ... return something useful ... */
2034
2038
sprintf (buf , "Unrecognized SPI code %d" , code );
Original file line number Diff line number Diff line change @@ -2441,6 +2441,7 @@ pltcl_process_SPI_result(Tcl_Interp *interp,
2441
2441
case SPI_OK_INSERT :
2442
2442
case SPI_OK_DELETE :
2443
2443
case SPI_OK_UPDATE :
2444
+ case SPI_OK_MERGE :
2444
2445
Tcl_SetObjResult (interp , Tcl_NewWideIntObj (ntuples ));
2445
2446
break ;
2446
2447
You can’t perform that action at this time.
0 commit comments