Re: Trouble using plpgsql after 8.0 install

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trouble using plpgsql after 8.0 install
Дата
Msg-id 24900.1109622030@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Trouble using plpgsql after 8.0 install  (Aaron Craig <mercutio@pobox.com>)
Список pgsql-admin
Aaron Craig <mercutio@pobox.com> writes:
> I get this result:
> ERROR:  could not load library "/usr/lib/pgsql/plpgsql.so":
> /usr/lib/pgsql/plpgsql.so: undefined symbol: PG_exception_stack

This sounds like you are trying to load a newer plpgsql.so into an older
backend.  In the context of the update process you describe, I can't
help wondering if you remembered to stop the old postmaster and start a
new one.  You could still be talking to the running old postmaster
despite having deleted all its executable files from underneath it.

(Recent RPMs include an auto postmaster stop when uninstalling the server
package, but that wasn't always there.)

Note that another important step missing from your description was
dumping the old database so you could load it into the new postmaster.
It'd be a good idea to run pg_dumpall before trying to shut down the
old postmaster --- I'm not 100% sure that will work, but if it does,
it will save you having to reinstall the old RPMs in order to dump your
data.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 8.0.1 compile success Regression Fails
Следующее
От: "Margabandhu De.Sambath"
Дата:
Сообщение: unsubscribe