[postgis-tickets] [PostGIS] #5046: Old postgis library needed to upgrade
PostGIS
trac at osgeo.org
Thu Jan 13 14:33:25 PST 2022
#5046: Old postgis library needed to upgrade
------------------------------------+---------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.2.1
Component: build/upgrade/install | Version: 3.2.x
Resolution: | Keywords:
------------------------------------+---------------------------
Comment (by strk):
The problem seems to be that pg_get_function_arguments fail when passed
the OID of some function having a non-existent probin (but not for all of
them).
Example:
{{{
NOTICE: Success calling pg_get_function_arguments for oid 22100136
(st_locatebetweenelevations(geometry,double precision,double precision)):
geometry geometry, fromelevation double precision, toelevation double
precision
NOTICE: Success calling pg_get_function_arguments for oid 22100137
(st_interpolatepoint(geometry,geometry)): line geometry, point geometry
NOTICE: Failed calling pg_get_function_arguments for oid 22100138
(st_hexagon(double precision,integer,integer,geometry))
NOTICE: Success calling pg_get_function_arguments for oid 22100251
(geometry_spgist_inner_consistent_3d(internal,internal)): internal,
internal
}}}
I wonder what's special about, for example, ST_Hexagon, which does not
affect others.
These are actually the ONLY function for which pg_get_function_arguments
raises an exception:
{{{
NOTICE: Failed calling pg_get_function_arguments for oid 22099491
(st_angle(geometry,geometry,geometry,geometry))
NOTICE: Failed calling pg_get_function_arguments for oid 22099549
(st_tileenvelope(integer,integer,integer,geometry,double precision))
NOTICE: Failed calling pg_get_function_arguments for oid 22100138
(st_hexagon(double precision,integer,integer,geometry))
NOTICE: Failed calling pg_get_function_arguments for oid 22100139
(st_square(double precision,integer,integer,geometry))
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5046#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list