This function returns an uncompressed version of the pcpatch object.

Syntax

pcpatch ST_unCompress(pcpatch pc);

Parameters

Parameter Description
pc The pcpatch object.

Description

All the pcpatch objects returned by functions are compressed based on the compression method specified in the schema before they are returned.

Examples

SELECT ST_Uncompress(pa) FROM patches WHERE ST_NumPoints(pa) = 1;
--------------------------------------
01010000000000000001000000C8CEFFFFF8110000102700000A00