PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ nullDBFValue()

static char * nullDBFValue ( char  fieldType)
static

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

Referenced by ShpLoaderGenerateShapeRow().

637 {
638  switch (fieldType)
639  {
640  case FTInteger:
641  case FTDouble:
642  /* NULL numeric fields have value "****************" */
643  return "****************";
644 
645  case FTDate:
646  /* NULL date fields have value "00000000" */
647  return " ";
648 
649  case FTLogical:
650  /* NULL boolean fields have value "?" */
651  return "?";
652 
653  default:
654  /* empty string fields are considered NULL */
655  return "";
656  }
657 }
Here is the caller graph for this function: