Re: Trouble w/plperl sproc on red hat 9

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kenneth Downs <ken(at)secdat(dot)com>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trouble w/plperl sproc on red hat 9
Date: 2007-02-10 17:25:42
Message-ID: 18629.1171128342@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kenneth Downs <ken(at)secdat(dot)com> writes:
> Eventually we pinned it down to a failed load of a sproc written in
> plperl. He says he's running a Red Hat 9 system with Postgres 8.1 and
> perl is 5.8.5. When he takes the plperl sproc and attempts to load it
> through pgsql he gets:
> **** SQL ERROR ****: server closed the connection unexpectedly

It should work if plperl was compiled with that specific Perl version.
If he's attempting to use an RPM built against a different Perl version,
maybe not so much --- I'm not sure how ABI-compatible Perl is across
versions.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-02-10 17:34:20 Re: Adding TEXT columns tanks performance?
Previous Message Douglas McNaught 2007-02-10 16:48:31 Re: Trouble w/plperl sproc on red hat 9