From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christian Sengstock <csengstock@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: broken restore.sql script !?
Date: Wed, 22 Feb 2006 12:00:04 -0500
Message-ID: <12906.1140627604@sss.pgh.pa.us> (raw)
In-Reply-To: <febbf1590602220845t6160e88do@mail.gmail.com>
References: <febbf1590602220845t6160e88do@mail.gmail.com>
"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. I think you probably broke the script by carelessly
extracting a part of it...
regards, tom lane
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: tgl@sss.pgh.pa.us, csengstock@gmail.com
Subject: Re: broken restore.sql script !?
In-Reply-To: <12906.1140627604@sss.pgh.pa.us>
References: <febbf1590602220845t6160e88do@mail.gmail.com> <12906.1140627604@sss.pgh.pa.us>
* 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