Re: SIGSEGV taken on 8.1 during dump/reload

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Creager <Robert_Creager(at)LogicalChaos(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SIGSEGV taken on 8.1 during dump/reload
Date: 2005-11-09 15:42:00
Message-ID: 15704.1131550920@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Creager <Robert_Creager(at)LogicalChaos(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Cristian Prieto 2005-11-09 15:42:36 Re: [HACKERS] Troubles with array_ref
Previous Message Rod Taylor 2005-11-09 15:27:31 Possible savepoint bug