This function obtains n consecutive pcpoint objects that start from a sequence number from a pcpatch object and returns a new pcpatch object that is composed of these pcpoint objects.


pcpatch ST_range(pcpatch pc, integer start, integer n);


Parameter Description
pc The pcpatch object.
start The sequence number of the start pcpoint object. The value starts from 1.
n The number of pcpoint objects after the pcpoint object (included) specified by the start parameter.


update patches set pa=ST_range(pa, 2, 16);
(1 rows)