Re: pgsql: Make new strings more alike previously existing messages. - Mailing list pgsql-committers

From Alvaro Herrera
Subject Re: pgsql: Make new strings more alike previously existing messages.
Date
Msg-id 20090414000634.GM7709@alvh.no-ip.org
Whole thread Raw
In response to Re: pgsql: Make new strings more alike previously existing messages.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Tom Lane wrote:

>       /* 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.

Hmm, I didn't realize that you could usefully pass -j1 ... now I realize
that it even works in Make.  You're right, the new message is bogus.
I'll revert this part.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-committers by date:

Previous
From: alvherre@postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: pg_restore -jN does not equate "multiple jobs", so partly revert
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Do some copy-editing on description of ts_headline().