Unix and Linux Discussions Tagged with row |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
6,287 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
6,889 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,868 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,798 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,443 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
3,021 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,807 |
Shell Programming and Scripting |
|
|
|
8 |
3,779 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
1,305 |
Shell Programming and Scripting |
|
|
|
8 |
3,197 |
Shell Programming and Scripting |
|
|
|
6 |
1,938 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,479 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,720 |
Shell Programming and Scripting |
|
|
|
3 |
2,529 |
Shell Programming and Scripting |
|
|
|
7 |
5,322 |
Shell Programming and Scripting |
|
|
|
3 |
1,867 |
Shell Programming and Scripting |
|
|
|
8 |
4,297 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,935 |
Web Development |
|
|
|
10 |
9,995 |
Shell Programming and Scripting |
|
|
|
2 |
16,256 |
Shell Programming and Scripting |
|
|
|
4 |
4,313 |
Shell Programming and Scripting |
|
|
|
24 |
8,112 |
Shell Programming and Scripting |
|
|
|
4 |
1,569 |
Shell Programming and Scripting |
|
|
|
8 |
3,911 |
Shell Programming and Scripting |
|
|
|
5 |
19,552 |
Shell Programming and Scripting |
|
|
|
1 |
1,829 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
14,032 |
Shell Programming and Scripting |
|
|
|
7 |
3,743 |
Shell Programming and Scripting |
|
|
|
6 |
21,121 |
Shell Programming and Scripting |
|
|
|
0 |
2,705 |
Oracle Updates (RSS) |
|
|
|
0 |
2,556 |
Oracle Updates (RSS) |
|
|
|
7 |
12,221 |
Shell Programming and Scripting |
|
|
|
4 |
3,217 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,758 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
8,314 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,476 |
Programming |
|
|
|
2 |
2,357 |
UNIX for Dummies Questions & Answers |
SPI_MODIFYTUPLE(3) PostgreSQL 9.2.7 Documentation SPI_MODIFYTUPLE(3)
NAME
SPI_modifytuple - create a row by replacing selected fields of a given row
SYNOPSIS
HeapTuple SPI_modifytuple(Relation rel, HeapTuple row, int ncols,
int * colnum, Datum * values, const char * nulls)
DESCRIPTION
SPI_modifytuple creates a new row by substituting new values for selected columns, copying the original row's columns at other positions.
The input row is not modified.
ARGUMENTS
Relation rel
Used only as the source of the row descriptor for the row. (Passing a relation rather than a row descriptor is a misfeature.)
HeapTuple row
row to be modified
int ncols
number of column numbers in the array colnum
int * colnum
array of the numbers of the columns that are to be changed (column numbers start at 1)
Datum * values
new values for the specified columns
const char * Nulls
which new values are null, if any (see SPI_execute_plan for the format)
RETURN VALUE
new row with modifications, allocated in the upper executor context; NULL only if row is NULL
On error, SPI_result is set as follows:
SPI_ERROR_ARGUMENT
if rel is NULL, or if row is NULL, or if ncols is less than or equal to 0, or if colnum is NULL, or if values is NULL.
SPI_ERROR_NOATTRIBUTE
if colnum contains an invalid column number (less than or equal to 0 or greater than the number of column in row)
PostgreSQL 9.2.7 2014-02-17 SPI_MODIFYTUPLE(3)