- an array
containing the OIDs of
- the data types of the parameters
+ an array
of length nargs, containing the
+
OIDs of the data types of the parameters
- an array of actual parameter values
+ an array of length
nargs, containing the actual
+ parameter values
- an array describing which parameters are null
+ an array of length
nargs, describing which
+ parameters are null
- SPI_execute_with_args assumes that no parameters are
- null.
+ SPI_execute_with_args assumes that no parameters
+ are null. Otherwise, each entry of the
nulls
+ array should be ' '> if the corresponding parameter
+ value is non-null, or 'n'> if the corresponding parameter
+ value is null. (In the latter case, the actual value in the
+ corresponding
values entry doesn't matter.) Note
+ that
nulls is not a text string, just an array:
+ it does not need a '\0'> terminator.
An array describing which parameters are null. Must have same length as
the statement's number of arguments.
- n indicates a null value (entry in
-
values> will be ignored); a space indicates a
- nonnull value (entry in
values> is valid).
- SPI_execute_plan assumes that no parameters are
- null.
+ SPI_execute_plan assumes that no parameters
+ are null. Otherwise, each entry of the
nulls
+ array should be ' '> if the corresponding parameter
+ value is non-null, or 'n'> if the corresponding parameter
+ value is null. (In the latter case, the actual value in the
+ corresponding
values entry doesn't matter.) Note
+ that
nulls is not a text string, just an array:
+ it does not need a '\0'> terminator.
An array describing which parameters are null. Must have same length as
the statement's number of arguments.
- n indicates a null value (entry in
-
values> will be ignored); a space indicates a
- nonnull value (entry in
values> is valid).
- SPI_execp assumes that no parameters are
- null.
+ SPI_execp assumes that no parameters
+ are null. Otherwise, each entry of the
nulls
+ array should be ' '> if the corresponding parameter
+ value is non-null, or 'n'> if the corresponding parameter
+ value is null. (In the latter case, the actual value in the
+ corresponding
values entry doesn't matter.) Note
+ that
nulls is not a text string, just an array:
+ it does not need a '\0'> terminator.
An array describing which parameters are null. Must have same length as
the statement's number of arguments.
- n indicates a null value (entry in
-
values> will be ignored); a space indicates a
- nonnull value (entry in
values> is valid).
- SPI_cursor_open assumes that no parameters are
- null.
+ SPI_cursor_open assumes that no parameters
+ are null. Otherwise, each entry of the
nulls
+ array should be ' '> if the corresponding parameter
+ value is non-null, or 'n'> if the corresponding parameter
+ value is null. (In the latter case, the actual value in the
+ corresponding
values entry doesn't matter.) Note
+ that
nulls is not a text string, just an array:
+ it does not need a '\0'> terminator.
- an array
containing the OIDs of
- the data types of the parameters
+ an array
of length nargs, containing the
+
OIDs of the data types of the parameters
- an array of actual parameter values
+ an array of length
nargs, containing the actual
+ parameter values
- an array describing which parameters are null
+ an array of length
nargs, describing which
+ parameters are null
- SPI_cursor_open_with_args assumes that no
- parameters are null.
+ SPI_cursor_open_with_args assumes that no parameters
+ are null. Otherwise, each entry of the
nulls
+ array should be ' '> if the corresponding parameter
+ value is non-null, or 'n'> if the corresponding parameter
+ value is null. (In the latter case, the actual value in the
+ corresponding
values entry doesn't matter.) Note
+ that
nulls is not a text string, just an array:
+ it does not need a '\0'> terminator.
- number of column numbers in the array
+ number of columns to be changed
- array of the numbers of the columns that are to be changed
- (column numbers start at 1)
+ a
n array of length ncols, containing the numbers
+ of the columns that are to be changed (column numbers start at 1)
+ an array of length
ncols, containing the
new values for the specified columns
- which new values are null, if any (see
- SPI_execute_plan for the format)
+ an array of length
ncols, describing which
+ new values are null
+
+
+ SPI_modifytuple assumes that no new values
+ are null. Otherwise, each entry of the
nulls
+ array should be ' '> if the corresponding new value is
+ non-null, or 'n'> if the corresponding new value is
+ null. (In the latter case, the actual value in the corresponding
+
values entry doesn't matter.) Note that
+
nulls is not a text string, just an array: it
+ does not need a '\0'> terminator.