Search for enforce_out_db in: http://trac.osgeo.org/postgis/wiki/WKTRaster/SpecificationWorking03
Did you load your raster using the -R raster2plpgsql option? > -----Original Message----- > From: [email protected] [mailto:postgis-users- > [email protected]] On Behalf Of Zelio Fernandes > Sent: Thursday, February 16, 2012 5:45 AM > To: [email protected] > Subject: [postgis-users] what is constraint "enforce_out_db_rast"? > > UPDATE image2tiff set rast = ST_AddBand(ST_Band(rast, 2), rast ,1) where > rid=5; > > > ERROR: new row for relation "image2tiff" violates check constraint > "enforce_out_db_rast" > > > ********** Error ********** > > ERROR: new row for relation "image2tiff" violates check constraint > "enforce_out_db_rast" > SQL state: 23514 > > -- > View this message in context: http://postgis.17.n6.nabble.com/what-is- > constraint-enforce-out-db-rast-tp4475511p4475511.html > Sent from the PostGIS - User mailing list archive at Nabble.com. > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
