From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Vondra <tv@fuzzy.cz>
Cc: pgsql-bugs@postgresql.org
Subject: Re: overwriting an existing .so while being used crashes the server process
Date: Wed, 30 May 2012 16:35:55 -0400
Message-ID: <8227.1338410155@sss.pgh.pa.us> (raw)
In-Reply-To: <4FC6833C.6080501@fuzzy.cz>
References: <4FC6833C.6080501@fuzzy.cz>
Tomas Vondra <tv@fuzzy.cz> writes:
> whenever I run a C-function (part of an .so file) and the file is
> overwritten, the connection crashes. Tested on 9.1.3 and 9.2-beta1.
"Doctor, it hurts when I do this."
"So don't do that."
What exactly would you expect Postgres to do about such a thing, anyway?
It has no control over people overwriting its executable files.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, tv@fuzzy.cz
Subject: Re: overwriting an existing .so while being used crashes the server process
In-Reply-To: <8227.1338410155@sss.pgh.pa.us>
References: <4FC6833C.6080501@fuzzy.cz> <8227.1338410155@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox