Skip to content

Commit 3aee34d

Browse files
committed
Fix typos in comments.
Backpatch to all supported versions, where applicable, to make backpatching of future fixes go more smoothly. Josh Soref Discussion: https://www.postgresql.org/message-id/CACZqfqCf+5qRztLPgmmosr-B0Ye4srWzzw_mo4c_8_B_mtjmJQ@mail.gmail.com
1 parent e5e75ea commit 3aee34d

File tree

105 files changed

+147
-147
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+147
-147
lines changed

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7008,7 +7008,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
70087008
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
70097009

70107010
# When Autoconf chooses install-sh as install program it tries to generate
7011-
# a relative path to it in each makefile where it subsitutes it. This clashes
7011+
# a relative path to it in each makefile where it substitutes it. This clashes
70127012
# with our Makefile.global concept. This workaround helps.
70137013
case $INSTALL in
70147014
*install-sh*) install_bin='';;
@@ -7152,7 +7152,7 @@ fi
71527152
$as_echo "$MKDIR_P" >&6; }
71537153

71547154
# When Autoconf chooses install-sh as mkdir -p program it tries to generate
7155-
# a relative path to it in each makefile where it subsitutes it. This clashes
7155+
# a relative path to it in each makefile where it substitutes it. This clashes
71567156
# with our Makefile.global concept. This workaround helps.
71577157
case $MKDIR_P in
71587158
*install-sh*) MKDIR_P='\${SHELL} \${top_srcdir}/config/install-sh -c -d';;

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ fi
862862

863863
AC_PROG_INSTALL
864864
# When Autoconf chooses install-sh as install program it tries to generate
865-
# a relative path to it in each makefile where it subsitutes it. This clashes
865+
# a relative path to it in each makefile where it substitutes it. This clashes
866866
# with our Makefile.global concept. This workaround helps.
867867
case $INSTALL in
868868
*install-sh*) install_bin='';;
@@ -875,7 +875,7 @@ AC_PROG_LN_S
875875
AC_PROG_AWK
876876
AC_PROG_MKDIR_P
877877
# When Autoconf chooses install-sh as mkdir -p program it tries to generate
878-
# a relative path to it in each makefile where it subsitutes it. This clashes
878+
# a relative path to it in each makefile where it substitutes it. This clashes
879879
# with our Makefile.global concept. This workaround helps.
880880
case $MKDIR_P in
881881
*install-sh*) MKDIR_P='\${SHELL} \${top_srcdir}/config/install-sh -c -d';;

contrib/cube/expected/cube.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ SELECT cube_dim('(4,8,15,16,23),(4,8,15,16,23)'::cube);
10191019
5
10201020
(1 row)
10211021

1022-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
1022+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
10231023
--
10241024
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
10251025
cube_ll_coord
@@ -1075,7 +1075,7 @@ SELECT cube_ll_coord('(42,137)'::cube, 3);
10751075
0
10761076
(1 row)
10771077

1078-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
1078+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
10791079
--
10801080
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
10811081
cube_ur_coord

contrib/cube/expected/cube_1.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ SELECT cube_dim('(4,8,15,16,23),(4,8,15,16,23)'::cube);
10191019
5
10201020
(1 row)
10211021

1022-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
1022+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
10231023
--
10241024
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
10251025
cube_ll_coord
@@ -1075,7 +1075,7 @@ SELECT cube_ll_coord('(42,137)'::cube, 3);
10751075
0
10761076
(1 row)
10771077

1078-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
1078+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
10791079
--
10801080
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
10811081
cube_ur_coord

contrib/cube/expected/cube_2.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ SELECT cube_dim('(4,8,15,16,23),(4,8,15,16,23)'::cube);
10191019
5
10201020
(1 row)
10211021

1022-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
1022+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
10231023
--
10241024
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
10251025
cube_ll_coord
@@ -1075,7 +1075,7 @@ SELECT cube_ll_coord('(42,137)'::cube, 3);
10751075
0
10761076
(1 row)
10771077

1078-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
1078+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
10791079
--
10801080
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
10811081
cube_ur_coord

contrib/cube/expected/cube_3.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ SELECT cube_dim('(4,8,15,16,23),(4,8,15,16,23)'::cube);
10191019
5
10201020
(1 row)
10211021

1022-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
1022+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
10231023
--
10241024
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
10251025
cube_ll_coord
@@ -1075,7 +1075,7 @@ SELECT cube_ll_coord('(42,137)'::cube, 3);
10751075
0
10761076
(1 row)
10771077

1078-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
1078+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
10791079
--
10801080
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
10811081
cube_ur_coord

contrib/cube/sql/cube.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ SELECT cube_dim('(0,0,0)'::cube);
246246
SELECT cube_dim('(42,42,42),(42,42,42)'::cube);
247247
SELECT cube_dim('(4,8,15,16,23),(4,8,15,16,23)'::cube);
248248

249-
-- Test of cube_ll_coord function (retrieves LL coodinate values)
249+
-- Test of cube_ll_coord function (retrieves LL coordinate values)
250250
--
251251
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
252252
SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 2);
@@ -258,7 +258,7 @@ SELECT cube_ll_coord('(42,137)'::cube, 1);
258258
SELECT cube_ll_coord('(42,137)'::cube, 2);
259259
SELECT cube_ll_coord('(42,137)'::cube, 3);
260260

261-
-- Test of cube_ur_coord function (retrieves UR coodinate values)
261+
-- Test of cube_ur_coord function (retrieves UR coordinate values)
262262
--
263263
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
264264
SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 2);

contrib/earthdistance/earthdistance--1.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ CREATE FUNCTION earth() RETURNS float8
1111
LANGUAGE SQL IMMUTABLE
1212
AS 'SELECT ''6378168''::float8';
1313

14-
-- Astromers may want to change the earth function so that distances will be
14+
-- Astronomers may want to change the earth function so that distances will be
1515
-- returned in degrees. To do this comment out the above definition and
1616
-- uncomment the one below. Note that doing this will break the regression
1717
-- tests.

contrib/isn/ISSN.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Product 9 + 21 + 7 + 3 + 1 + 12 + 4 + 24 + 7 + 15 + 0 + 0 = 103
2424
* 103 / 10 = 10 remainder 3
2525
* Check digit 10 - 3 = 7
26-
* => 977-1144875-00-7 ?? <- suplemental number (number of the week, month, etc.)
26+
* => 977-1144875-00-7 ?? <- supplemental number (number of the week, month, etc.)
2727
* ^^ 00 for non-daily publications (01=Monday, 02=Tuesday, ...)
2828
*
2929
* The hyphenation is always in after the four digits of the ISSN code.

contrib/isn/isn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ dehyphenate(char *bufO, char *bufI)
160160
* into bufO using the given hyphenation range TABLE.
161161
* Assumes the input string to be used is of only digits.
162162
*
163-
* Returns the number of characters acctually hyphenated.
163+
* Returns the number of characters actually hyphenated.
164164
*/
165165
static unsigned
166166
hyphenate(char *bufO, char *bufI, const char *(*TABLE)[2], const unsigned TABLE_index[10][2])
@@ -748,7 +748,7 @@ string2ean(const char *str, bool errorOK, ean13 *result,
748748
}
749749
else if (*aux2 == '!' && *(aux2 + 1) == '\0')
750750
{
751-
/* the invalid check digit sufix was found, set it */
751+
/* the invalid check digit suffix was found, set it */
752752
if (!magic)
753753
valid = false;
754754
magic = true;

0 commit comments

Comments
 (0)