Because my previous mail contains some Chinese character, now I modified
it, the whole problem is described as below:
I need to create language Pl/Perl. I have checked all dependencies of
plperl.dll and all is ok.
D:\Program Files\Postgresql\bin>createlang -U postgres -e plperl example
(example is my dbname)
SELECT oid FROM pg_catalog.pg_language WHERE lanname = 'plperl';
CREATE LANGUAGE "plperl";
createlang: language installation failed: server closed the connection
This probably means the server terminated abnormally
before or while processing the request.
And pg_log is :
2009-09-24 10:50:55 HKT LOG: loaded library
2009-09-24 10:50:59 HKT LOG: loaded library
Substitution pattern not terminated at line 1.
2009-09-24 10:51:01 HKT LOG: Server process (PID 1640) exited, exit code
2009-09-24 10:51:01 HKT LOG: terminating any other active server processes
2009-09-24 10:51:01 HKT LOG: all server processes terminated;
2009-09-24 10:51:02 HKT FATAL: pre-existing shared memory block is still in
2009-09-24 10:51:02 HKT HINT: Check if there are any old server processes
still running, and terminate them.
Then unsurprised, I found pgsql-8.3 service has stopped. But then I can
start up it successfully.
Thank you for any advice in advance.
I have been kept on it for two days..
pgsql-bugs by date
|Next:||From: John R Pierce||Date: 2009-09-24 04:48:02|
|Subject: Re: Encounter shared memory error when running createlang
|Previous:||From: Kaelten||Date: 2009-09-24 03:11:33|
|Subject: Re: BUG #5077: Corrupted Table|