pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: aymen marouani <marouani.aymen@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: SQL state 58P01 triggered by a database script execution
Date: Wed, 9 Dec 2009 14:33:47 +0100
Message-ID: <bebe9cb90912090533s7e2c945ei65f9beb06b63c4fe@mail.gmail.com> (raw)
In-Reply-To: <20091209132454.GC5519@a-kretschmer.de>
References: <bebe9cb90912090510w67d1265cq789b39b79ccef396@mail.gmail.com>
	<20091209132454.GC5519@a-kretschmer.de>

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.kretschmer@schollglas.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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>

view thread (4+ messages)  latest in thread

Message-ID: <bebe9cb90912090533s7e2c945ei65f9beb06b63c4fe@mail.gmail.com>
Permalink:  ../bebe9cb90912090533s7e2c945ei65f9beb06b63c4fe@mail.gmail.com/
Also on:    postgresql.org/message-id/bebe9cb90912090533s7e2c945ei65f9beb06b63c4fe@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: marouani.aymen@gmail.com
  Subject: Re: SQL state 58P01 triggered by a database script execution
  In-Reply-To: <bebe9cb90912090533s7e2c945ei65f9beb06b63c4fe@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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