Search for srtext and proj4text given auth_name and auth_srid, returns TABLE(auth_name text, auth_srid text, srtext text, proj4text text)
Definition at line 534 of file postgis/lwgeom_transform.c.
536 #if POSTGIS_PROJ_VERSION < 60
537 elog(ERROR,
"%s is not supported with Proj < 6.0", __func__);
543 TupleDesc tuple_desc;
545 if (get_call_result_type(fcinfo, 0, &tuple_desc) != TYPEFUNC_COMPOSITE)
547 ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
548 errmsg(
"%s called with incompatible return type", __func__)));
550 BlessTupleDesc(tuple_desc);
char result[OUT_DOUBLE_BUFFER_SIZE]
static Datum srs_tuple_from_entry(const struct srs_entry *entry, TupleDesc tuple_desc)
References srs_entry::auth_code, srs_entry::auth_name, result, and srs_tuple_from_entry().