pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgres grabbing an old shared object
4+ messages / 4 participants
[nested] [flat]
* Postgres grabbing an old shared object
@ 2003-12-09 16:35 Kris Kiger <kris@musicrebellion.com>
2003-12-09 16:44 ` Re: Postgres grabbing an old shared object Peter Eisentraut <peter_e@gmx.net>
2003-12-09 16:55 ` Re: Postgres grabbing an old shared object Glenn Wiorek <gwiorek@jmlafferty.com>
2003-12-09 17:16 ` Re: Postgres grabbing an old shared object Joe Conway <mail@joeconway.com>
0 siblings, 3 replies; 4+ messages in thread
From: Kris Kiger @ 2003-12-09 16:35 UTC (permalink / raw)
To: pgsql-admin
Is there a way to force a shared object to reload? I've compiled a new
version of a .so, but postgres seems to be pulling the old version out
of memory. I've tried deleting the .so and recompiling it, but postgres
is insistant, for some reason, of using the old version. Any ideas?
Thanks for the help
Kris
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Postgres grabbing an old shared object
2003-12-09 16:35 Postgres grabbing an old shared object Kris Kiger <kris@musicrebellion.com>
@ 2003-12-09 16:44 ` Peter Eisentraut <peter_e@gmx.net>
2 siblings, 0 replies; 4+ messages in thread
From: Peter Eisentraut @ 2003-12-09 16:44 UTC (permalink / raw)
To: Kris Kiger <kris@musicrebellion.com>; pgsql-admin
Kris Kiger wrote:
> Is there a way to force a shared object to reload? I've compiled a
> new version of a .so, but postgres seems to be pulling the old
> version out of memory. I've tried deleting the .so and recompiling
> it, but postgres is insistant, for some reason, of using the old
> version. Any ideas? Thanks for the help
Use the LOAD command or just restart the session.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Postgres grabbing an old shared object
2003-12-09 16:35 Postgres grabbing an old shared object Kris Kiger <kris@musicrebellion.com>
@ 2003-12-09 16:55 ` Glenn Wiorek <gwiorek@jmlafferty.com>
2 siblings, 0 replies; 4+ messages in thread
From: Glenn Wiorek @ 2003-12-09 16:55 UTC (permalink / raw)
To: Kris Kiger <kris@musicrebellion.com>; pgsql-admin
Is it a postgres shared object only? Then shuting down and restarting
postgres should have worked. If it is a OS shared object then my best guess
is postgres will see it already in memory and not reload the object/lib. In
which case you will need to bounce the OS. Is it possible another program
is also using that object? Then shuting that program down also and
restarting postgres may do the trick.
One thing though, if the OS or another program is also using that shared
object isn't there a risk to having a newer version being loaded by postgres
affect other things?
----- Original Message -----
From: "Kris Kiger" <kris@musicrebellion.com>
To: "Postgres Admin List" <pgsql-admin@postgresql.org>
Sent: Tuesday, December 09, 2003 10:35 AM
Subject: [ADMIN] Postgres grabbing an old shared object
> Is there a way to force a shared object to reload? I've compiled a new
> version of a .so, but postgres seems to be pulling the old version out
> of memory. I've tried deleting the .so and recompiling it, but postgres
> is insistant, for some reason, of using the old version. Any ideas?
> Thanks for the help
>
> Kris
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Postgres grabbing an old shared object
2003-12-09 16:35 Postgres grabbing an old shared object Kris Kiger <kris@musicrebellion.com>
@ 2003-12-09 17:16 ` Joe Conway <mail@joeconway.com>
2 siblings, 0 replies; 4+ messages in thread
From: Joe Conway @ 2003-12-09 17:16 UTC (permalink / raw)
To: Kris Kiger <kris@musicrebellion.com>; +Cc: pgsql-admin
Kris Kiger wrote:
> Is there a way to force a shared object to reload? I've compiled a new
> version of a .so, but postgres seems to be pulling the old version out
> of memory. I've tried deleting the .so and recompiling it, but postgres
> is insistant, for some reason, of using the old version. Any ideas?
> Thanks for the help
>
See the LOAD command:
http://www.postgresql.org/docs/current/static/sql-load.html
Joe
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-12-09 17:16 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-12-09 16:35 Postgres grabbing an old shared object Kris Kiger <kris@musicrebellion.com>
2003-12-09 16:44 ` Peter Eisentraut <peter_e@gmx.net>
2003-12-09 16:55 ` Glenn Wiorek <gwiorek@jmlafferty.com>
2003-12-09 17:16 ` Joe Conway <mail@joeconway.com>
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