Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 2FBB1633B56 for ; Mon, 13 Apr 2009 19:57:07 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36298-02 for ; Mon, 13 Apr 2009 19:57:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id E194C6331DC for ; Mon, 13 Apr 2009 19:57:02 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n3DMv0so024098; Mon, 13 Apr 2009 18:57:00 -0400 (EDT) To: Alvaro Herrera cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Make new strings more alike previously existing messages. In-reply-to: <20090413210336.300427540F4@cvs.postgresql.org> References: <20090413210336.300427540F4@cvs.postgresql.org> Comments: In-reply-to alvherre@postgresql.org (Alvaro Herrera) message dated "Mon, 13 Apr 2009 21:03:36 -0000" Date: Mon, 13 Apr 2009 18:57:00 -0400 Message-ID: <24097.1239663420@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/169 X-Sequence-Number: 36663 alvherre@postgresql.org (Alvaro Herrera) writes: > Make new strings more alike previously existing messages. This patch changed the meaning of one of the messages: *************** main(int argc, char **argv) *** 316,322 **** /* Can't do single-txn mode with multiple connections */ if (opts->single_txn && opts->number_of_jobs > 1) { ! fprintf(stderr, _("%s: cannot specify both --single-transaction and multiple jobs\n"), progname); exit(1); } --- 316,322 ---- /* Can't do single-txn mode with multiple connections */ if (opts->single_txn && opts->number_of_jobs > 1) { ! fprintf(stderr, _("%s: options -1/--single-transaction and -j/--jobs cannot be used together\n"), progname); exit(1); } As the comment and the code itself show, "-j 1" works just fine with --single-transaction. The original wording reflected that, the new does not. Maybe this amount of imprecision is acceptable, but "make it look more like the other messages" doesn't seem to me like enough justification. regards, tom lane