[postgis-users] argument type cstring does not exits

Toshimi Minoura minoura at cs.orst.edu
Wed Feb 26 15:46:22 PST 2003

We reinstalled PostgreSQL and Proj4 and made sure that we
were running PostgreSQL newly installed instead of the one
that came with RedHat 8.0.

Now PostGIS is working.

Thank you very much.


>Date: Mon, 24 Feb 2003 22:02:11 -0800
>From: Paul Ramsey <pramsey at refractions.net>
>Subject: Re: [postgis-users] argument type cstring does not exits
>To: Toshimi Minoura <minoura at cs.orst.edu>, PostGIS Users Discussion 
<postgis-users at postgis.refractions.net>

>Are you sure the running instance you are installing into is PgSQL 
>7.3.X? Connect to the database and run 'select version();'.
>Toshimi Minoura wrote:
>> 1) We installed PostgreSQL 7.3.2, and it seems to be working correctly.
>> 2) We then installed PostGIS 0.7.4 with make and make install.
>> 3) We issued the following command:
>>    createlang plpgsql zpostgis     -- zpostgis is a database name
>>    Now, plpgsql_call_handler can be seen as a function in zpostgis.
>> 4) Now, when we issue the command 
>>    psql -d zpostgis -f postgis.sql
>>    we get an error:
>>       "argument type cstring does not exit"
>>   This error comes from the first create function statement:
>>        create function histogram2d_in(CSTRING) returns histogram2d as '
>>            . . .
>>    Type CSSTRING is indeed not in pg_type. We can create other functions
>>    using types found in pg_type.
>> What do we need to install to make CSSTRING defined?
>> We will appreciate any help.
>> Please send a reply to minoura at cs.orst.edu also.
>> Toshi

More information about the postgis-users mailing list