PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * nullDBFValue ( char  fieldType)
static

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

Referenced by ShpLoaderGenerateShapeRow().

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

Here is the caller graph for this function: