[postgis-tickets] r16262 - When looking up SRID numbers, assume that spatial_ref_sys will

Sandro Santilli strk at kbt.io
Fri Jan 12 00:59:40 PST 2018


On Thu, Jan 11, 2018 at 02:09:36AM +0000, Paul Ramsey wrote:
> Author: pramsey
> Date: 2018-01-11 14:09:35 -0800 (Thu, 11 Jan 2018)
> New Revision: 16262

[...]

> When looking up SRID numbers, assume that spatial_ref_sys will
> share a schema will the calling function (st_transform, usually)
> and look for spatial_ref_sys there. (References #3975)

I'm concerned about the "usually", how else could the 
GetProjectionsUsingFCInfo function be called ?

> +	nsp_name = get_namespace_name(get_func_namespace(fcinfo->flinfo->fn_oid));
> +	elog(DEBUG4, "%s located %s in namespace %s", __func__, get_func_name(fcinfo->flinfo->fn_oid), nsp_name);

Should this be using POSTGIS_DEBUG instead ?


--strk;


More information about the postgis-tickets mailing list