ST_SetName

更新时间:
复制 MD 格式

Sets the name of a raster object.

Syntax

raster ST_SetName(raster rast, cstring name);

Parameters

ParameterDescription
rastThe raster object.
nameThe name to assign to the raster object.

Examples

Set the name of the raster object in row id = 2 to image2:

UPDATE rat SET rast = ST_SetName(rast, 'image2') WHERE id = 2;
---------------------------------------------------------------
(1 row)