X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 99F53474E61 for ; Thu, 20 Feb 2003 10:21:31 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 12924-03 for ; Thu, 20 Feb 2003 10:21:21 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id C65A2474E4F for ; Thu, 20 Feb 2003 10:21:20 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h1KFLN5u022214; Thu, 20 Feb 2003 10:21:23 -0500 (EST) To: "Donald Fraser" Cc: "[ADMIN]" Subject: Re: pg_dumpall In-reply-to: <003401c2d8cd$48fcaf50$1664a8c0@DEMOLITION> References: <20030219112211.K36237-100000@megazone23.bigpanda.com> <003401c2d8cd$48fcaf50$1664a8c0@DEMOLITION> Comments: In-reply-to "Donald Fraser" message dated "Thu, 20 Feb 2003 10:46:03 +0000" Date: Thu, 20 Feb 2003 10:21:22 -0500 Message-ID: <22213.1045754482@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/332 X-Sequence-Number: 7530 "Donald Fraser" writes: > My question now would be, is there an easy way to place your own objects > into pg_catalog for template0? Changing template0 is exactly what you are NOT supposed to do, as it breaks what pg_dump is trying to accomplish. However, you could probably just edit the dump file to replace the references to template0 with template1. When you reload the dump, you will get lots of errors as the customized objects coming in from the dump collide with the ones copied from template1 --- but that's what you want. regards, tom lane