From: Christian Sengstock <csengstock@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: broken restore.sql script !?
Date: Wed, 22 Feb 2006 19:03:06 +0100
Message-ID: <febbf1590602221003h67c8ee38v@mail.gmail.com> (raw)
In-Reply-To: <12906.1140627604@sss.pgh.pa.us>
References: <febbf1590602220845t6160e88do@mail.gmail.com>
<12906.1140627604@sss.pgh.pa.us>
hi again,
2006/2/22, Tom Lane <tgl@sss.pgh.pa.us>:
>
> "Christian Sengstock" <csengstock@gmail.com> writes:
> > The function is created outside of the 'geo' schema, but after that, the
> > 'alter function' statement tries to alter the function inside of the
> 'geo'
> > schema.
This is pg_dump's normal method of operation. There should have been a
> "SET search_path = geo, pg_catalog;" command somewhere before the
> excerpt you gave.
does that mean a prior "SET search_path = geo, pg_catalog;" would create the
function inside of the geo schema ? i have this setting but it's not working
for me, despite the function is in the public schema.
i use /> psql -d mydb -U user -f restore.sql
to restore it. Could the behaviour be different when using 'pg_restore' ?
thanx,
chris
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: csengstock@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: broken restore.sql script !?
In-Reply-To: <febbf1590602221003h67c8ee38v@mail.gmail.com>
References: <febbf1590602220845t6160e88do@mail.gmail.com> <12906.1140627604@sss.pgh.pa.us> <febbf1590602221003h67c8ee38v@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