Re: Trouble with plpgsql on 7.4.6 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Trouble with plpgsql on 7.4.6
Date
Msg-id 19011.1100805941@sss.pgh.pa.us
Whole thread Raw
In response to Trouble with plpgsql on 7.4.6  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Responses Re: Trouble with plpgsql on 7.4.6  ("D'Arcy J.M. Cain" <darcy@druid.net>)
List pgsql-hackers
"D'Arcy J.M. Cain" <darcy@druid.net> writes:
> Has anyone else had any problem installing plpgsql into a 7.4.6
> database?  When I try (on NetBSD 2.0RC5) I get the following message:

> createlang: language installation failed: server closed the connection
> unexpectedly

Probably indicates a failure to load the plpgsql shared library.

> I turned on a bunch of logging and this is what gets spit out into the
> log:

> Nov 18 11:49:18 panther cert198[21983]: [47-1] LOG:  00000: server
> process (PID 7864) was terminated by signal 6

There wasn't anything interesting just before that?

Signal 6 is SIGABRT (at least on my machine) so something decided to
abort() in that backend.  Postgres would abort() on assertion failure,
but it would have logged a message first.  My guess is that the shared
library loader did the abort(), and probably it griped on stderr rather
than to syslog.  Fix your postmaster startup arrangement so that stderr
goes someplace useful instead of to /dev/null, so you can see what it's
complaining about.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Trouble with plpgsql on 7.4.6
Next
From: Jan Wieck
Date:
Subject: Re: Timing of pgstats updates