Re: problem with restore of functions

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: problem with restore of functions
Date: 2002-02-22 15:20:14
Message-ID: Pine.GSO.4.44.0202221811490.13463-100000@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 22 Feb 2002, Tom Lane wrote:

> Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> writes:
> > there is a problem with restore if oid of user defined function is used as
> > a reference ( for index creation, for example ).
>
> How so? The OID isn't used in the pg_dump script, AFAIR.
>

Sorry, I meant when we use contrib module, for example 'tsearch',
it creates functions, defines op_classes for 'gist_txtidx_ops',
which use OID of that functions.
pg_dump doesn't dumps op_clasess and it's impossible to use pg_restore.

> regards, tom lane
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2002-02-22 15:21:51 Re: [PATCHES] Automatic transactions in psql
Previous Message Tom Lane 2002-02-22 14:50:00 Re: how to stop running postgres process