Re: problem with restore of functions - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: problem with restore of functions
Date
Msg-id Pine.GSO.4.44.0202221811490.13463-100000@ra.sai.msu.su
Whole thread Raw
In response to Re: problem with restore of functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, 22 Feb 2002, Tom Lane wrote:

> Oleg Bartunov <oleg@sai.msu.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@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83



pgsql-hackers by date:

Previous
From: Sean Chittenden
Date:
Subject: Re: Replication direction
Next
From: Bruce Momjian
Date:
Subject: Re: point in time recovery and moving datafiles online