Undefined subroutine &main::spi_prepare

From: Tony Cebzanov <tonyceb(at)andrew(dot)cmu(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Undefined subroutine &main::spi_prepare
Date: 2009-12-02 16:33:29
Message-ID: 4B1696D9.2080602@andrew.cmu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a PL/Perl stored procedure that's worked fine on my development
boxes but is suddenly failing when installed on a test machine. Both my
test machines and the new machine are RHEL AS5. The differences are the
test machine is 64-bit, and running Postgres 8.1.18 instead of my
development machine which is 32-bit and running Postgres 8.2.7.

The error in the postgresql log is:

ERROR: error from Perl function: Undefined subroutine
&main::spi_prepare called at line 2.
LOG: unexpected EOF on client connection

My first thought was that the postgresql-pl package wasn't installed,
but it appears to be there. Does anyone else know what sort of
installation/configuration error could cause a failure like this?

Thanks.
-Tony

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2009-12-02 16:41:11 Re: Roles with passwords; SET ROLE ... WITH PASSWORD ?
Previous Message River Tarnell 2009-12-02 16:29:49 Re: Postgres performance on Veritas VxVM