From 45e0c27a9478db3c5a93a40924f6d30f63741a3e Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Thu, 22 Oct 2015 15:57:51 +0000 Subject: [PATCH] #3342, ignoring M in typmod output git-svn-id: http://svn.osgeo.org/postgis/trunk@14304 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/gserialized_typmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgis/gserialized_typmod.c b/postgis/gserialized_typmod.c index 407b01542..c8800fd9d 100644 --- a/postgis/gserialized_typmod.c +++ b/postgis/gserialized_typmod.c @@ -58,7 +58,7 @@ Datum postgis_typmod_out(PG_FUNCTION_ARGS) POSTGIS_DEBUGF(3, "Got typmod(srid = %d, type = %d, hasz = %d, hasm = %d)", srid, type, hasz, hasm); /* No SRID or type or dimensionality? Then no typmod at all. Return empty string. */ - if ( ! ( srid || type || hasz || hasz ) ) + if ( ! ( srid || type || hasz || hasm ) ) { *str = '\0'; PG_RETURN_CSTRING(str); -- 2.40.0