[postgis-devel] PG_NARGS not defined in fmgr.h < 7.3

Sebastien NICAISE snicaise at iciatechnologies.com
Thu Oct 28 11:28:16 PDT 2004


It's ok for lwgparse.c

I have a problem in loader/pgsql2shp.c with PQunescapeBytea(), but i see
your TODO file (Add a own version
of PQunescapeBytea() to be used for USE_VERSION<73)

I change lwgeom/Makefile because keyword substitution of
@MODULE_FILENAME@ in lwpostgis.sql.in don't
work properly for me :
ifeq (${USE_VERSION},71)
    MODULE_INSTALLDIR = $(libdir)
    MODULE_FILENAME = $(MODULE_INSTALLDIR)/$(shlib)
else
    MODULE_INSTALLDIR = $(pkglibdir)
    MODULE_FILENAME = $(MODULE_INSTALLDIR)/$(shlib)
endif

And the last problem :
#>psql -f lwpostgis.sql -d mydb
#> psql:lwpostgis.sql:80: ERROR:  argument type cstring does not exist
CREATE OR REPLACE FUNCTION geometry_in(cstring)
        RETURNS geometry
        AS '/usr/lib/postgresql/liblwgeom.so.1.0','LWGEOM_in'
        LANGUAGE 'C' WITH (isstrict,iscachable);
I don't find geometry_in in HEAD (geometry_in was defined in postgis.h
in release 0.9.0)

strk at refractions.net wrote:

>Well.. since Ralph didn't step on this I handled it.
>Sebastien, can you please try current HEAD branch ?
>
>REF: http://postgis.refractions.net/pipermail/postgis-devel/2004-October/000561.html
>
>--strk;
>





More information about the postgis-devel mailing list