X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.225.181]) by svr1.postgresql.org (Postfix) with ESMTP id 4F87ECC631 for ; Wed, 16 Jul 2003 14:43:07 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr5.postgresql.org [64.117.225.181]) (amavisd-new, port 10024) with ESMTP id 39905-03 for ; Wed, 16 Jul 2003 14:43:08 +0000 (GMT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id F197ACC68D for ; Wed, 16 Jul 2003 11:42:45 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h6GEfdQ3018173; Wed, 16 Jul 2003 10:41:40 -0400 (EDT) To: Alvaro Herrera Cc: Rod Taylor , "Kuhn, Dylan K (4520500D)" , pgsql-admin@postgresql.org, PostgreSQL Development Subject: Re: [HACKERS] problems with pg_restore In-reply-to: <20030715204704.GC9410@dcc.uchile.cl> References: <78ED1F30F0D85B4698FBD6CF2A5AC8F5A576F9@NAWECHLKEX01VA.nadsuswe.nads.navy.mil> <23211.1058286389@sss.pgh.pa.us> <1058298650.9981.117.camel@jester> <8299.1058299393@sss.pgh.pa.us> <20030715204704.GC9410@dcc.uchile.cl> Comments: In-reply-to Alvaro Herrera message dated "Tue, 15 Jul 2003 16:47:04 -0400" Date: Wed, 16 Jul 2003 10:41:39 -0400 Message-ID: <18172.1058366499@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/141 X-Sequence-Number: 9481 Alvaro Herrera writes: > On Tue, Jul 15, 2003 at 04:03:13PM -0400, Tom Lane wrote: >> Given the current implementation, it seems like there are three possible >> behaviors for COMMENT ON DATABASE when the database name isn't the same >> as the current database: > There's a fourth possibility: ignore the command and issue a WARNING. Hmm, that seems like a reasonable choice. Anyone have an objection? regards, tom lane