Skip to content

Commit f2c71cb

Browse files
committed
Stop using spelling "nonexistant".
The documentation used "nonexistent" exclusively, and the source tree used it three times as often as "nonexistant".
1 parent 31d250e commit f2c71cb

File tree

21 files changed

+69
-69
lines changed

21 files changed

+69
-69
lines changed

contrib/test_decoding/expected/ddl.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ HINT: Replication slot names may only contain lower case letters, numbers, and
1717
SELECT 'init' FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', 'frakbar');
1818
ERROR: could not parse value "frakbar" for parameter "include-xids"
1919
CONTEXT: slot "regression_slot", output plugin "test_decoding", in the startup callback
20-
SELECT 'init' FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'nonexistant-option', 'frakbar');
21-
ERROR: option "nonexistant-option" = "frakbar" is unknown
20+
SELECT 'init' FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'nonexistent-option', 'frakbar');
21+
ERROR: option "nonexistent-option" = "frakbar" is unknown
2222
CONTEXT: slot "regression_slot", output plugin "test_decoding", in the startup callback
2323
SELECT 'init' FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', 'frakbar');
2424
ERROR: could not parse value "frakbar" for parameter "include-xids"

contrib/test_decoding/sql/ddl.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SELECT 'init' FROM pg_create_logical_replication_slot('Invalid Name', 'test_deco
99

1010
-- fail twice because of an invalid parameter values
1111
SELECT 'init' FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', 'frakbar');
12-
SELECT 'init' FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'nonexistant-option', 'frakbar');
12+
SELECT 'init' FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'nonexistent-option', 'frakbar');
1313
SELECT 'init' FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', 'frakbar');
1414

1515
-- succeed once

src/bin/pg_dump/t/002_pg_dump.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3340,22 +3340,22 @@
33403340
# Test dumping a non-existent schema, table, and patterns with --strict-names
33413341
33423342
command_fails_like(
3343-
[ 'pg_dump', '-p', "$port", '-n', 'nonexistant' ],
3343+
[ 'pg_dump', '-p', "$port", '-n', 'nonexistent' ],
33443344
qr/\Qpg_dump: error: no matching schemas were found\E/,
33453345
'dumping a non-existent schema');
33463346
33473347
command_fails_like(
3348-
[ 'pg_dump', '-p', "$port", '-t', 'nonexistant' ],
3348+
[ 'pg_dump', '-p', "$port", '-t', 'nonexistent' ],
33493349
qr/\Qpg_dump: error: no matching tables were found\E/,
33503350
'dumping a non-existent table');
33513351
33523352
command_fails_like(
3353-
[ 'pg_dump', '-p', "$port", '--strict-names', '-n', 'nonexistant*' ],
3353+
[ 'pg_dump', '-p', "$port", '--strict-names', '-n', 'nonexistent*' ],
33543354
qr/\Qpg_dump: error: no matching schemas were found for pattern\E/,
33553355
'no matching schemas');
33563356
33573357
command_fails_like(
3358-
[ 'pg_dump', '-p', "$port", '--strict-names', '-t', 'nonexistant*' ],
3358+
[ 'pg_dump', '-p', "$port", '--strict-names', '-t', 'nonexistent*' ],
33593359
qr/\Qpg_dump: error: no matching tables were found for pattern\E/,
33603360
'no matching tables');
33613361

src/interfaces/ecpg/test/connect/test1.pgc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exec sql end declare section;
5050
exec sql disconnect;
5151

5252
/* wrong db */
53-
exec sql connect to tcp:postgresql://localhost/nonexistant user regress_ecpg_user1 identified by connectpw;
53+
exec sql connect to tcp:postgresql://localhost/nonexistent user regress_ecpg_user1 identified by connectpw;
5454
exec sql disconnect;
5555

5656
/* wrong port */

src/interfaces/ecpg/test/connect/test5.pgc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ exec sql end declare section;
7070
exec sql disconnect main;
7171

7272
/* not connected */
73-
exec sql disconnect nonexistant;
73+
exec sql disconnect nonexistent;
7474

7575
return 0;
7676
}

src/interfaces/ecpg/test/expected/connect-test1-minGW32.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@
5252
[NO_PID]: sqlca: code: 0, state: 00000
5353
[NO_PID]: ecpg_finish: connection ecpg2_regression closed
5454
[NO_PID]: sqlca: code: 0, state: 00000
55-
[NO_PID]: ECPGconnect: opening database nonexistant on localhost port <DEFAULT> for user regress_ecpg_user1
55+
[NO_PID]: ECPGconnect: opening database nonexistent on localhost port <DEFAULT> for user regress_ecpg_user1
5656
[NO_PID]: sqlca: code: 0, state: 00000
57-
[NO_PID]: ECPGconnect: could not open database: FATAL: database "nonexistant" does not exist
57+
[NO_PID]: ECPGconnect: could not open database: FATAL: database "nonexistent" does not exist
5858

5959
[NO_PID]: sqlca: code: 0, state: 00000
60-
[NO_PID]: ecpg_finish: connection nonexistant closed
60+
[NO_PID]: ecpg_finish: connection nonexistent closed
6161
[NO_PID]: sqlca: code: 0, state: 00000
62-
[NO_PID]: raising sqlcode -402 on line 53: could not connect to database "nonexistant" on line 53
62+
[NO_PID]: raising sqlcode -402 on line 53: could not connect to database "nonexistent" on line 53
6363
[NO_PID]: sqlca: code: -402, state: 08001
6464
[NO_PID]: raising sqlcode -220 on line 54: connection "CURRENT" does not exist on line 54
6565
[NO_PID]: sqlca: code: -220, state: 08003

src/interfaces/ecpg/test/expected/connect-test1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ main(void)
101101

102102

103103
/* wrong db */
104-
{ ECPGconnect(__LINE__, 0, "tcp:postgresql://localhost/nonexistant" , "regress_ecpg_user1" , "connectpw" , NULL, 0); }
104+
{ ECPGconnect(__LINE__, 0, "tcp:postgresql://localhost/nonexistent" , "regress_ecpg_user1" , "connectpw" , NULL, 0); }
105105
#line 53 "test1.pgc"
106106

107107
{ ECPGdisconnect(__LINE__, "CURRENT");}

src/interfaces/ecpg/test/expected/connect-test1.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@
5252
[NO_PID]: sqlca: code: 0, state: 00000
5353
[NO_PID]: ecpg_finish: connection ecpg2_regression closed
5454
[NO_PID]: sqlca: code: 0, state: 00000
55-
[NO_PID]: ECPGconnect: opening database nonexistant on localhost port <DEFAULT> for user regress_ecpg_user1
55+
[NO_PID]: ECPGconnect: opening database nonexistent on localhost port <DEFAULT> for user regress_ecpg_user1
5656
[NO_PID]: sqlca: code: 0, state: 00000
57-
[NO_PID]: ECPGconnect: could not open database: FATAL: database "nonexistant" does not exist
57+
[NO_PID]: ECPGconnect: could not open database: FATAL: database "nonexistent" does not exist
5858

5959
[NO_PID]: sqlca: code: 0, state: 00000
60-
[NO_PID]: ecpg_finish: connection nonexistant closed
60+
[NO_PID]: ecpg_finish: connection nonexistent closed
6161
[NO_PID]: sqlca: code: 0, state: 00000
62-
[NO_PID]: raising sqlcode -402 on line 53: could not connect to database "nonexistant" on line 53
62+
[NO_PID]: raising sqlcode -402 on line 53: could not connect to database "nonexistent" on line 53
6363
[NO_PID]: sqlca: code: -402, state: 08001
6464
[NO_PID]: raising sqlcode -220 on line 54: connection "CURRENT" does not exist on line 54
6565
[NO_PID]: sqlca: code: -220, state: 08003

src/interfaces/ecpg/test/expected/connect-test5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ main(void)
154154

155155

156156
/* not connected */
157-
{ ECPGdisconnect(__LINE__, "nonexistant");}
157+
{ ECPGdisconnect(__LINE__, "nonexistent");}
158158
#line 73 "test5.pgc"
159159

160160

src/interfaces/ecpg/test/expected/connect-test5.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@
8888
[NO_PID]: sqlca: code: 0, state: 00000
8989
[NO_PID]: ecpg_finish: connection main closed
9090
[NO_PID]: sqlca: code: 0, state: 00000
91-
[NO_PID]: raising sqlcode -220 on line 73: connection "nonexistant" does not exist on line 73
91+
[NO_PID]: raising sqlcode -220 on line 73: connection "nonexistent" does not exist on line 73
9292
[NO_PID]: sqlca: code: -220, state: 08003

0 commit comments

Comments
 (0)