gcc 4.5.1 This .so files works fine in older postgres's versions. Postgres has support for this, but postgres team says do not use it? thanks tom, regards... > To: fabrixio1@xxxxxxxxxxx > CC: pgsql-admin@xxxxxxxxxxxxxx > Subject: Re: PostgreSQL 9.0.2. This is a Bug? > Date: Fri, 14 Jan 2011 17:41:31 -0500 > From: tgl@xxxxxxxxxxxxx > > Fabricio <fabrixio1@xxxxxxxxxxx> writes: > > A developer is writing a function in C code and when he makes some change and replace the old library with the new one and if run CREATE OR REPLACE FUNCTION Postgre crash and restart. After restart CREATE OR REPLACE FUNCTION does not crash postgres, only the first time. He makes a function test. > > You didn't say what platform this is, but overwriting an actively-used > .so file isn't a safe thing to do on all systems. There's nothing > Postgres can do about that. > > regards, tom lane |