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 682299DCC0D for ; Wed, 22 Feb 2006 14:59:39 -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 63524-09 for ; Wed, 22 Feb 2006 14:59:39 -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 A6CC89DCC3B for ; Wed, 22 Feb 2006 14:59:36 -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 k1MIxZ5e014054; Wed, 22 Feb 2006 13:59:35 -0500 (EST) To: "Christian Sengstock" cc: pgsql-admin@postgresql.org Subject: Re: broken restore.sql script !? In-reply-to: References: <12906.1140627604@sss.pgh.pa.us> Comments: In-reply-to "Christian Sengstock" message dated "Wed, 22 Feb 2006 19:03:06 +0100" Date: Wed, 22 Feb 2006 13:59:35 -0500 Message-ID: <14053.1140634775@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/267 X-Sequence-Number: 20688 "Christian Sengstock" writes: > does that mean a prior "SET search_path =3D geo, pg_catalog;" would create = > the > function inside of the geo schema ? i have this setting but it's not workin= > g > 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' ? Shouldn't be different. Can you provide a test case? regards, tom lane