Re: Trouble with plpgsql on 7.4.6

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trouble with plpgsql on 7.4.6
Дата
Msg-id 19011.1100805941@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Trouble with plpgsql on 7.4.6  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Ответы Re: Trouble with plpgsql on 7.4.6  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Список 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 по дате отправления:

Предыдущее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Trouble with plpgsql on 7.4.6
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Timing of pgstats updates