diff --git a/contrib/pgstattuple/expected/pgstattuple.out b/contrib/pgstattuple/expected/pgstattuple.out
index 29caf5b52d29cf6035cac89f95d327e5ffe33d9b..baee2bd96ecdbbddbd2dd8d51b5ef2ab2b67a6c2 100644
--- a/contrib/pgstattuple/expected/pgstattuple.out
+++ b/contrib/pgstattuple/expected/pgstattuple.out
@@ -223,7 +223,7 @@ select pgstatginindex('test_partition');
 ERROR:  relation "test_partition" is not a GIN index
 select pgstathashindex('test_partition');
 ERROR:  "test_partition" is not an index
--- an actual index of a partitiond table should work though
+-- an actual index of a partitioned table should work though
 create index test_partition_idx on test_partition(a);
 create index test_partition_hash_idx on test_partition using hash (a);
 WARNING:  hash indexes are not WAL-logged and their use is discouraged
diff --git a/contrib/pgstattuple/sql/pgstattuple.sql b/contrib/pgstattuple/sql/pgstattuple.sql
index 25a0daa331294db80511c4be8e98bc074ea3fdb8..a8e341e35181e293f697a250805a5fcd2a3af863 100644
--- a/contrib/pgstattuple/sql/pgstattuple.sql
+++ b/contrib/pgstattuple/sql/pgstattuple.sql
@@ -103,7 +103,7 @@ select pgstatindex('test_partition');
 select pgstatginindex('test_partition');
 select pgstathashindex('test_partition');
 
--- an actual index of a partitiond table should work though
+-- an actual index of a partitioned table should work though
 create index test_partition_idx on test_partition(a);
 create index test_partition_hash_idx on test_partition using hash (a);
 -- these should work