Typo in 001_initdb.pl

Started by Michael Paquierover 9 years ago4 messages
#1Michael Paquier
michael.paquier@gmail.com
1 attachment(s)

Hi all,

I just bumped into the following typo for $subject:
--- a/src/bin/initdb/t/001_initdb.pl
+++ b/src/bin/initdb/t/001_initdb.pl
@@ -31,7 +31,7 @@ command_fails(
 command_fails(
        [ 'initdb', '-U', 'pg_test', $datadir ],
-       'role names cannot being with "pg_"');
+       'role names cannot begin with "pg_"');

Regards,
--
Michael

Attachments:

initdb-typo.patchinvalid/octet-stream; name=initdb-typo.patchDownload
diff --git a/src/bin/initdb/t/001_initdb.pl b/src/bin/initdb/t/001_initdb.pl
index 8cf762a..372865d 100644
--- a/src/bin/initdb/t/001_initdb.pl
+++ b/src/bin/initdb/t/001_initdb.pl
@@ -31,7 +31,7 @@ command_fails(
 
 command_fails(
 	[ 'initdb', '-U', 'pg_test', $datadir ],
-	'role names cannot being with "pg_"');
+	'role names cannot begin with "pg_"');
 
 mkdir $datadir;
 command_ok([ 'initdb', '-N', '-T', 'german', '-X', $xlogdir, $datadir ],
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Michael Paquier (#1)
Re: Typo in 001_initdb.pl

Michael Paquier <michael.paquier@gmail.com> writes:

I just bumped into the following typo for $subject:
-       'role names cannot being with "pg_"');
+       'role names cannot begin with "pg_"');

Pushed, thanks.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Michael Paquier
michael.paquier@gmail.com
In reply to: Tom Lane (#2)
Re: Typo in 001_initdb.pl

On Mon, May 23, 2016 at 5:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Michael Paquier <michael.paquier@gmail.com> writes:

I just bumped into the following typo for $subject:
-       'role names cannot being with "pg_"');
+       'role names cannot begin with "pg_"');

Pushed, thanks.

Thanks.
--
Michael

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#4Stephen Frost
sfrost@snowman.net
In reply to: Michael Paquier (#3)
Re: Typo in 001_initdb.pl

* Michael Paquier (michael.paquier@gmail.com) wrote:

On Mon, May 23, 2016 at 5:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Michael Paquier <michael.paquier@gmail.com> writes:

I just bumped into the following typo for $subject:
-       'role names cannot being with "pg_"');
+       'role names cannot begin with "pg_"');

Pushed, thanks.

Thanks.

Thanks from me also, I had been planning to fix this, but got caught up
with something else this evening.

Stephen