Re: pg_restore error

From: Laurette Cisneros <laurette(at)nextbus(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_restore error
Date: 2002-09-03 22:33:32
Message-ID: Pine.LNX.4.44.0209031532350.28841-100000@visor.corp.nextbus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ah. Makes sense. Since this is but our "restore" system, I will re-do the
server from scratch to ensure the right probin entries.

Thanks for the help and info.

L.
On Tue, 3 Sep 2002, Tom Lane wrote:

> Laurette Cisneros <laurette(at)nextbus(dot)com> writes:
> > I am currently on 7.2.1 and the software location has changed (to
> > /usr/local/pgsql). And, further research shows that the pg_proc shows:
> > This shows /usr/local/pgsql-7.2/lib/plpgsql for the "probin" column.
>
> > How should an update of software be handled as per pg_proc?
>
> The preferred contents of probin are now like
> $libdir/plpgsql
> (the dollar sign is literal text here). As of 7.2 the server will
> substitute a suitable directory name for "$libdir". You probably
> have a database that was reloaded from an old dump without taking
> advantage of this feature --- before 7.2 you could only use an
> absolute path in probin. Now, absolute paths are deprecated for exactly
> the reason that they make version updates hard.
>
> Note the lack of a ".so" in that probin entry, too. This is also
> a recommended new practice in 7.2 --- no reason to put
> platform-dependent assumptions about shared library extensions into
> your dumps.
>
> regards, tom lane
>

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David F. Skoll 2002-09-03 22:59:12 Re: [GWAVA:ecwa6lyk] Source block message notification (fwd)
Previous Message Laurette Cisneros 2002-09-03 22:32:28 [GWAVA:ecwa6lyk] Source block message notification (fwd)