ST_GeomFromText('POINT(25 17)') AS geom) AS q;
-- unsupported input
-SELECT 'TU1';
-SELECT encode(ST_AsMVT('test',
- ST_MakeBox2D(ST_Point(0, 0), ST_Point(4096, 4096)), 4096, 0, false, 'geom', NULL
-), 'base64');
+-- NOTE: disabled test as it's dependant on PostgreSQL error text that cannot be expected to be stable
+--SELECT 'TU1';
+--SELECT encode(ST_AsMVT('test',
+-- ST_MakeBox2D(ST_Point(0, 0), ST_Point(4096, 4096)), 4096, 0, false, 'geom', NULL
+--), 'base64');
SELECT 'TU2';
SELECT encode(ST_AsMVT('test',
ST_MakeBox2D(ST_Point(0, 0), ST_Point(4096, 4096)), 4096, 0, false, 'geom', 1
TA4|GjAKBHRlc3QSDBICAAAYASIECTLePxIMEgIAARgBIgQJMt4/GgJjMSICKAEiAigCeAI=
TA5|GiwKBHRlc3QSDhIEAAABARgBIgQJMt4/GgJjMRoCYzIiAigBIgYKBGFiY2R4Ag==
TA6|GigKBHRlc3QSDhIEAAABARgBIgQJMt4/GgJjMRoCYzIiAigBIgIwAXgC
-TU1
-ERROR: could not determine polymorphic type because input has type "unknown"
TU2
ERROR: pgis_asmvt_transfn: parameter row cannot be other than a rowtype
TU3