Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id D7A831FA2A50 for ; Thu, 26 Jul 2012 15:31:14 -0300 (ADT) Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SuSq8-00075g-Fx for pgsql-admin@postgresql.org; Thu, 26 Jul 2012 18:31:14 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1SuSpu-0003ay-4E; Thu, 26 Jul 2012 14:30:58 -0400 Date: Thu, 26 Jul 2012 14:30:58 -0400 From: Bruce Momjian To: Stephen Davies Cc: pgsql-admin@postgresql.org Subject: Re: could not find function "LWGEOM_distance_ellipsoid_point" Message-ID: <20120726183058.GB21270@momjian.us> References: <201207161427.45192.sdavies@sdc.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <201207161427.45192.sdavies@sdc.com.au> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/94 X-Sequence-Number: 39811 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 16, 2012 at 02:27:45PM +0930, Stephen Davies wrote: > (I used the rsync method suggested in the last paragraph of the pg_upgrade man > pages to create a copy of the databases to be upgraded. > This works fine except that the paragraph should also point out that the file > postmaster.pid must be deleted from the copy to avoid an error message from > pg_upgrade.) OK, we already document the problems with postmaster.pid and rsync in the backup section, so I added a mention of that to the pg_upgrade docs, and backpatched that to 9.2. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + --pWyiEgJYm5f9v55/ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="rsync.diff" diff --git a/doc/src/sgml/pgupgrade.sgml b/doc/src/sgml/pgupgrade.sgml new file mode 100644 index cffcebb..fcbe551 *** a/doc/src/sgml/pgupgrade.sgml --- b/doc/src/sgml/pgupgrade.sgml *************** psql --username postgres --file script.s *** 530,536 **** of the old cluster, use rsync to create a dirty copy of the old cluster while the server is running, then shut down the old server and run rsync again to update the copy with any ! changes to make it consistent. --- 530,538 ---- of the old cluster, use rsync to create a dirty copy of the old cluster while the server is running, then shut down the old server and run rsync again to update the copy with any ! changes to make it consistent. You might want to exclude some ! files, e.g. postmaster.pid, as documented in . --pWyiEgJYm5f9v55/--