Re: SQL state 58P01 triggered by a database script execution

From: aymen marouani <marouani(dot)aymen(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: SQL state 58P01 triggered by a database script execution
Date: 2009-12-09 13:33:47
Message-ID: bebe9cb90912090533s7e2c945ei65f9beb06b63c4fe@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Thanks for the help,

In deed I found those lines in my script

"--
-- TOC entry 25 (class 1255 OID 16409)
-- Dependencies: 6
-- Name: bt_metap(text); Type: FUNCTION; Schema: public; Owner: postgres
--

CREATE FUNCTION bt_metap(relname text, OUT magic integer, OUT version
integer, OUT root integer, OUT level integer, OUT fastroot integer, OUT
fastlevel integer) RETURNS record
AS '$libdir/pageinspect', 'bt_metap'
LANGUAGE c STRICT;
"

Can I comment those lines to remove the error ?

2009/12/9 A. Kretschmer <andreas(dot)kretschmer(at)schollglas(dot)com>

> In response to aymen marouani :
> > Hi,
> >
> > I have a database under Postgres v8.3 and I generated its backups script
> using
> > PGAdmin III.
> > I executed the same script under Postgres v8.2 in order to create the
> same
> > database but I get the following error
> >
> > " ERROR: could not access file "$libdir/pageinspect": No such file or
> directory
> > SQL state :58P01"
> >
>
> Pageinspect is a contrib-modul, so i think, you should install that. But
> i don't know if this available for 8.2.
>
>
> Andreas
> --
> Andreas Kretschmer
> Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
> GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message A. Kretschmer 2009-12-09 13:46:23 Re: SQL state 58P01 triggered by a database script execution
Previous Message A. Kretschmer 2009-12-09 13:24:54 Re: SQL state 58P01 triggered by a database script execution