Re: SIGSEGV taken on 8.1 during dump/reload - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SIGSEGV taken on 8.1 during dump/reload
Date
Msg-id 15704.1131550920@sss.pgh.pa.us
Whole thread Raw
In response to Re: SIGSEGV taken on 8.1 during dump/reload  (Robert Creager <Robert_Creager@LogicalChaos.org>)
Responses Re: SIGSEGV taken on 8.1 during dump/reload  (Robert Creager <Robert.Creager@Sun.com>)
List pgsql-hackers
Robert Creager <Robert_Creager@LogicalChaos.org> writes:
> CREATE FUNCTION sbox_in(cstring) RETURNS sbox
>     AS '/usr/local/pgsql802/lib/pg_sphere', 'spherebox_in'
>     LANGUAGE c IMMUTABLE STRICT;
> Now if I can just figure out how to get this egg off my face...

You'd be a lot better off to define all your functions as relative to
$libdir, ie,AS '$libdir/pg_sphere', 'spherebox_in'
(note the lack of any .so extension, too)

If pg_sphere is supplying a setup procedure that gets this wrong,
yell at them.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: plperl error when making 8.2dev CVS
Next
From: "Cristian Prieto"
Date:
Subject: Re: [GENERAL] Troubles with array_ref