Name
ST_BandPath — Returns system file path to a band stored in file system. If no bandnum specified, 1 is assumed.
Synopsis
text ST_BandPath(
raster rast, integer bandnum=1)
;
Description
Returns system file path to a band. Returns null for in db raster bands.
Examples
SELECT rid, ST_BandPath(rast,1) AS file_path
FROM dem
LIMIT 1;