I have already set the environment in windows
SET postgis.gdal_enabled_drivers = 'ENABLE_ALL';
Even I tried by adding following in environment path-
But still I am getting error:
ERROR: rt_raster_to_gdal: Could not load the output GDAL driver SQL
The query I am running is
SELECT ST_AsGDALRaster(rast, 'GTiff') As rastjpg FROM myRaster WHERE rid=1;
How to remove this issue?