id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 4202,limited varchar for ogr-pg driver,martinl,warmerdam,"Hi, currently OGR-PG driver doesn't allow to define fields with '''limited varchar type'''. If you define {{{PRECISION=YES}}} for columns of character type OGR uses {{{CHAR(width)}}} otherwise {{{VARCHAR}}}. The attached patch defines {{{VARCHAR(width)}}} or {{{VARCHAR}}} when field width is not positive integer. Better solution would be probably not to mix precision with char/varchar. In other words there would be new option {{{USE_VARCHAR}}} which would define if to use {{{VARCHAR}}} or {{{CHAR}}}. Option {{{PRECISION}}} would just control whether to use {{{[VAR]CHAR(width)}}} or just {{{[VAR]CHAR}}}. What do you think? ",enhancement,closed,normal,1.9.0,OGR_SF,unspecified,normal,fixed,"postgresql, varchar, width",pramsey