[Mapbender_dev] Re: [Mapbender] #783: WMS upload

Mapbender mapbender_dev at lists.osgeo.org
Fri Feb 18 11:34:19 EST 2011


#783: WMS upload
----------------------+-----------------------------------------------------
 Reporter:  arnulf    |       Owner:  dev
     Type:  defect    |      Status:  new
 Priority:  major     |   Milestone:     
Component:  database  |     Version:  2.7
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by arnulf):

 Workaround (hack!). Increase the size of the corresponding fields:

 update pg_attribute set atttypmod = 512+4 where attrelid =
 'layer_style'::regclass and attname = 'legendurl';
 update pg_attribute set atttypmod = 255+4 where attrelid =
 'layer_style'::regclass and attname = 'name';

 (4 needs to be added to the actual field size for Postgres legacy reasons,
 don't ask...)

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/783#comment:2>
Mapbender <http://www.mapbender.org/>
Mapbender


More information about the Mapbender_dev mailing list