PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ postgis_typmod_srid()

Datum postgis_typmod_srid ( PG_FUNCTION_ARGS  )

Definition at line 456 of file gserialized_typmod.c.

457 {
458  int32 typmod = PG_GETARG_INT32(0);
459  if ( typmod < 0 )
460  PG_RETURN_INT32(0);
461  PG_RETURN_INT32(TYPMOD_GET_SRID(typmod));
462 }
#define TYPMOD_GET_SRID(typmod)
Macros for manipulating the 'typemod' int.
Definition: liblwgeom.h:192
unsigned int int32
Definition: shpopen.c:54

References TYPMOD_GET_SRID.