1SPI_COPYTUPLE(3)        PostgreSQL 9.2.24 Documentation       SPI_COPYTUPLE(3)
2
3
4

NAME

6       SPI_copytuple - make a copy of a row in the upper executor context
7

SYNOPSIS

9       HeapTuple SPI_copytuple(HeapTuple row)
10

DESCRIPTION

12       SPI_copytuple makes a copy of a row in the upper executor context. This
13       is normally used to return a modified row from a trigger. In a function
14       declared to return a composite type, use SPI_returntuple instead.
15

ARGUMENTS

17       HeapTuple row
18           row to be copied
19

RETURN VALUE

21       the copied row; NULL only if tuple is NULL
22
23
24
25PostgreSQL 9.2.24                 2017-11-06                  SPI_COPYTUPLE(3)
Impressum