X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 0FC1A9DC87A for ; Wed, 22 Feb 2006 13:00:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 44808-08 for ; Wed, 22 Feb 2006 13:00:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id EC9B89DC857 for ; Wed, 22 Feb 2006 13:00:06 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k1MH04oX012907; Wed, 22 Feb 2006 12:00:04 -0500 (EST) To: "Christian Sengstock" cc: pgsql-admin@postgresql.org Subject: Re: broken restore.sql script !? In-reply-to: References: Comments: In-reply-to "Christian Sengstock" message dated "Wed, 22 Feb 2006 17:45:31 +0100" Date: Wed, 22 Feb 2006 12:00:04 -0500 Message-ID: <12906.1140627604@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.274 required=5 tests=[AWL=-0.052, PLING_QUERY=0.326] X-Spam-Score: 0.274 X-Spam-Level: X-Archive-Number: 200602/264 X-Sequence-Number: 20685 "Christian Sengstock" 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