[postgis-tickets] [PostGIS] #3047: ERROR: function st_astwkb(geometry, integer) does not exist
PostGIS
trac at osgeo.org
Fri Feb 20 11:13:04 PST 2015
#3047: ERROR: function st_astwkb(geometry, integer) does not exist
------------------------+---------------------------------------------------
Reporter: phreakdawg | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version: trunk
Keywords: |
------------------------+---------------------------------------------------
Comment(by nicklas):
I works as expected for me.
Is it a fresh database that you are trying to install in?
It is correct that function st_astwkb(geometry, integer) does not exist.
It is a replaced with a version using default values instead of multiple
functions.
see below.
So I don't really understand why that signature is requested at all.
{{{
CREATE OR REPLACE FUNCTION st_astwkb(
geometry,
integer,
bigint DEFAULT NULL::bigint,
boolean DEFAULT false,
boolean DEFAULT false)
RETURNS bytea AS
'$libdir/postgis-2.2', 'TWKBFromLWGEOM'
LANGUAGE c IMMUTABLE
COST 1;
ALTER FUNCTION st_astwkb(geometry, integer, bigint, boolean, boolean)
}}}
The only thing I can think of is if you haven't run ./configure after
update. Then you might have old .sql files but new .sql.in files
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3047#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