PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ nullDBFValue()

static char * nullDBFValue ( char  fieldType)
static

Definition at line 624 of file pgsql2shp-core.c.

Referenced by ShpLoaderGenerateShapeRow().

625 {
626  switch (fieldType)
627  {
628  case FTInteger:
629  case FTDouble:
630  /* NULL numeric fields have value "****************" */
631  return "****************";
632 
633  case FTDate:
634  /* NULL date fields have value "00000000" */
635  return " ";
636 
637  case FTLogical:
638  /* NULL boolean fields have value "?" */
639  return "?";
640 
641  default:
642  /* empty string fields are considered NULL */
643  return "";
644  }
645 }
Here is the caller graph for this function: