Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPugJ-0006x2-Rd for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Mar 2014 14:07:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WPugJ-0002o8-9T for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Mar 2014 14:07:51 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPugH-0002lu-Ha for pgsql-bugs@postgresql.org; Tue, 18 Mar 2014 14:07:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPugE-0002ua-ST for pgsql-bugs@postgresql.org; Tue, 18 Mar 2014 14:07:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s2IE7e4K032163; Tue, 18 Mar 2014 10:07:40 -0400 From: Tom Lane To: postgresql@htmledit.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9620: pg_dumpall -i --globals-only = wrong behaviour In-reply-to: <20140318103131.16847.54881@wrigleys.postgresql.org> References: <20140318103131.16847.54881@wrigleys.postgresql.org> Comments: In-reply-to postgresql@htmledit.com message dated "Tue, 18 Mar 2014 10:31:31 -0000" Date: Tue, 18 Mar 2014 10:07:40 -0400 Message-ID: <32162.1395151660@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org postgresql@htmledit.com writes: > When using short option "-i" with option "--globals-only", pg_dumpall dumps > all databases (structure and data) instead of just global objects: > pg_dumpall -i --globals-only Huh. Somebody typo'd the getopt() call so that it thinks -i takes an argument, and thus proceeds to ignore the next word on the command line. Will fix (unfortunately, this came too late for this week's releases). Thanks for the report! regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs