summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorDavid Rowley2024-05-03 14:33:25 +0000
committerDavid Rowley2024-05-03 14:33:25 +0000
commita42fc1c903b54ba94374e5e0c08905b9a1479f19 (patch)
tree179e5cab5edf67090abbc3edd6e31fe50ff74e87 /src/test
parent4a044b9497093f349605fb9912446c5f1bcf228c (diff)
Fix an assortment of typos
Author: Alexander Lakhin Discussion: https://postgr.es/m/ae9f2fcb-4b24-5bb0-4240-efbbbd944ca1@gmail.com
Diffstat (limited to 'src/test')
-rw-r--r--src/test/authentication/t/006_login_trigger.pl2
-rw-r--r--src/test/modules/test_json_parser/t/004_test_parser_perf.pl2
-rw-r--r--src/test/modules/worker_spi/t/001_worker_spi.pl2
-rw-r--r--src/test/modules/worker_spi/worker_spi.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/authentication/t/006_login_trigger.pl b/src/test/authentication/t/006_login_trigger.pl
index 8229490ae27..30d852a96ad 100644
--- a/src/test/authentication/t/006_login_trigger.pl
+++ b/src/test/authentication/t/006_login_trigger.pl
@@ -143,7 +143,7 @@ psql_command(
log_exact => '2',
err_like => [qr/You are welcome/]);
-# Try to login as allowed Alice. We don't check the Mallroy login, because
+# Try to login as allowed Alice. We don't check the Mallory login, because
# FATAL error could cause a timing-dependant panic of IPC::Run.
psql_command(
$node, 'SELECT 1;', 0, 'try regress_alice',
diff --git a/src/test/modules/test_json_parser/t/004_test_parser_perf.pl b/src/test/modules/test_json_parser/t/004_test_parser_perf.pl
index c61fdf898a9..e82bb3695b8 100644
--- a/src/test/modules/test_json_parser/t/004_test_parser_perf.pl
+++ b/src/test/modules/test_json_parser/t/004_test_parser_perf.pl
@@ -4,7 +4,7 @@
# Test the JSON parser performance tester. Here we are just checking that
# the performance tester can run, both with the standard parser and the
# incremental parser. An actual performance test will run with thousands
-# of iterations onstead of just one.
+# of iterations instead of just one.
use strict;
use warnings;
diff --git a/src/test/modules/worker_spi/t/001_worker_spi.pl b/src/test/modules/worker_spi/t/001_worker_spi.pl
index 177e1c6314f..fcd76b43e8e 100644
--- a/src/test/modules/worker_spi/t/001_worker_spi.pl
+++ b/src/test/modules/worker_spi/t/001_worker_spi.pl
@@ -115,7 +115,7 @@ my $noconndb_id = $node->safe_psql('mydb',
my $log_offset = -s $node->logfile;
# worker_spi_launch() may be able to detect that the worker has been
-# stopped, so do not rely on psql_safe().
+# stopped, so do not rely on safe_psql().
$node->psql('postgres',
qq[SELECT worker_spi_launch(12, $noconndb_id, $myrole_id);]);
$node->wait_for_log(
diff --git a/src/test/modules/worker_spi/worker_spi.c b/src/test/modules/worker_spi/worker_spi.c
index 22177cf2b59..7e1042f4ab6 100644
--- a/src/test/modules/worker_spi/worker_spi.c
+++ b/src/test/modules/worker_spi/worker_spi.c
@@ -384,7 +384,7 @@ _PG_init(void)
/*
* Now fill in worker-specific data, and do the actual registrations.
*
- * bgw_extra can optionally include a dabatase OID, a role OID and a set
+ * bgw_extra can optionally include a database OID, a role OID and a set
* of flags. This is left empty here to fallback to the related GUCs at
* startup (0 for the bgworker flags).
*/