ST_BandPath — Returns system file path to a band stored in file system. If no bandnum specified, 1 is assumed.
text ST_BandPath(raster rast, integer bandnum=1);
text ST_BandPath(
)
Returns system file path to a band. Throws an error if called with an in db band.