8000 Fix typos in comments. · postgrespro/postgres_cluster@181bdb9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 181bdb9

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 9863017 commit 181bdb9

File tree

137 files changed

+195
-195
lines changed
  • sql
  • seg
  • sepgsql
  • spi
  • start-scripts/osx
  • tsearch2
  • xml2
  • src
  • Some content is hidden

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

    137 files changed

    +195
    -195
    lines changed

    configure

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

    70907090
    # When Autoconf chooses install-sh as install program it tries to generate
    7091-
    # a relative path to it in each makefile where it subsitutes it. This clashes
    7091+
    # a relative path to it in each makefile where it substitutes it. This clashes
    70927092
    # with our Makefile.global concept. This workaround helps.
    70937093
    case $INSTALL in
    70947094
    *install-sh*) install_bin='';;
    @@ -7232,7 +7232,7 @@ fi
    72327232
    $as_echo "$MKDIR_P" >&6; }
    72337233

    72347234
    # When Autoconf chooses install-sh as mkdir -p program it tries to generate
    7235-
    # a relative path to it in each makefile where it subsitutes it. This clashes
    7235+
    # a relative path to it in each makefile where it substitutes it. This clashes
    72367236
    # with our Makefile.global concept. This workaround helps.
    72377237
    case $MKDIR_P in
    72387238
    *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
    @@ -887,7 +887,7 @@ fi
    887887

    888888
    AC_PROG_INSTALL
    889889
    # When Autoconf chooses install-sh as install program it tries to generate
    890-
    # a relative path to it in each makefile where it subsitutes it. This clashes
    890+
    # a relative path to it in each makefile where it substitutes it. This clashes
    891891
    # with our Makefile.global concept. This workaround helps.
    892892
    case $INSTALL in
    893893
    *install-sh*) install_bin='';;
    @@ -900,7 +900,7 @@ AC_PROG_LN_S
    900900
    AC_PROG_AWK
    901901
    AC_PROG_MKDIR_P
    902902
    # When Autoconf chooses install-sh as mkdir -p program it tries to generate
    903-
    # a relative path to it in each makefile where it subsitutes it. This clashes
    903+
    # a relative path to it in each makefile where it substitutes it. This clashes
    904904
    # with our Makefile.global concept. This workaround helps.
    905905
    case $MKDIR_P in
    906906
    *install-sh*) MKDIR_P='\${SHELL} \${top_srcdir}/config/install-sh -c -d';;

    contrib/bloom/blvacuum.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -51,7 +51,7 @@ blbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats,
    5151
    initBloomState(&state, index);
    5252

    5353
    /*
    54-
    * Interate over the pages. We don't care about concurrently added pages,
    54+
    * Iterate over the pages. We don't care about concurrently added pages,
    5555
    * they can't contain tuples to delete.
    5656
    */
    5757
    npages = RelationGetNumberOfBlocks(index);

    contrib/cube/expected/cube.out

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

    1059-
    -- Test of cube_ll_coord function (retrieves LL coodinate values)
    1059+
    -- Test of cube_ll_coord function (retrieves LL coordinate values)
    10601060
    --
    10611061
    SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
    10621062
    cube_ll_coord
    @@ -1112,7 +1112,7 @@ SELECT cube_ll_coord('(42,137)'::cube, 3);
    11121112
    0
    11131113
    (1 row)
    11141114

    1115-
    -- Test of cube_ur_coord function (retrieves UR coodinate values)
    1115+
    -- Test of cube_ur_coord function (retrieves UR coordinate values)
    11161116
    --
    11171117
    SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
    11181118
    cube_ur_coord

    contrib/cube/expected/cube_2.out

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

    105 341A 9-
    -- Test of cube_ll_coord function (retrieves LL coodinate values)
    1059+
    -- Test of cube_ll_coord function (retrieves LL coordinate values)
    10601060
    --
    10611061
    SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
    10621062
    cube_ll_coord
    @@ -1112,7 +1112,7 @@ SELECT cube_ll_coord('(42,137)'::cube, 3);
    11121112
    0
    11131113
    (1 row)
    11141114

    1115-
    -- Test of cube_ur_coord function (retrieves UR coodinate values)
    1115+
    -- Test of cube_ur_coord function (retrieves UR coordinate values)
    11161116
    --
    11171117
    SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
    11181118
    cube_ur_coord

    contrib/cube/sql/cube.sql

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -256,7 +256,7 @@ SELECT cube_dim('(0,0,0)'::cube);
    256256
    SELECT cube_dim('(42,42,42),(42,42,42)'::cube);
    257257
    SELECT cube_dim('(4,8,15,16,23),(4,8,15,16,23)'::cube);
    258258

    259-
    -- Test of cube_ll_coord function (retrieves LL coodinate values)
    259+
    -- Test of cube_ll_coord function (retrieves LL coordinate values)
    260260
    --
    261261
    SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 1);
    262262
    SELECT cube_ll_coord('(-1,1),(2,-2)'::cube, 2);
    @@ -268,7 +268,7 @@ SELECT cube_ll_coord('(42,137)'::cube, 1);
    268268
    SELECT cube_ll_coord('(42,137)'::cube, 2);
    269269
    SELECT cube_ll_coord('(42,137)'::cube, 3);
    270270

    271-
    -- Test of cube_ur_coord function (retrieves UR coodinate values)
    271+
    -- Test of cube_ur_coord function (retrieves UR coordinate values)
    272272
    --
    273273
    SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 1);
    274274
    SELECT cube_ur_coord('(-1,1),(2,-2)'::cube, 2);

    contrib/earthdistance/earthdistance--1.1.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 PARALLEL SAFE
    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;

    contrib/ltree/expected/ltree.out

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -1113,7 +1113,7 @@ SELECT '{a.b.c.d.e,B.df}'::ltree[] ? '{A.b.c.d.e,*.df}';
    11131113
    t
    11141114
    (1 row)
    11151115

    1116-
    --exractors
    1116+
    --extractors
    11171117
    SELECT ('{3456,1.2.3.34}'::ltree[] ?@> '1.2.3.4') is null;
    11181118
    ?column?
    11191119
    ----------

    contrib/ltree/ltxtquery_io.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -197,7 +197,7 @@ pushval_asis(QPRS_STATE *state, int type, char *strval, int lenval, uint16 flag)
    197197

    198198
    #define STACKDEPTH 32
    199199
    /*
    200-
    * make polish notaion of query
    200+
    * make polish notation of query
    201201
    */
    202202
    static int32
    203203
    makepol(QPRS_STATE *state)

    contrib/ltree/sql/ltree.sql

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -209,7 +209,7 @@ SELECT 'a.b.c.d.e'::ltree ? '{A.b.c.d.e, a.*}';
    209209
    SELECT '{a.b.c.d.e,B.df}'::ltree[] ? '{A.b.c.d.e}';
    210210
    SELECT '{a.b.c.d.e,B.df}'::ltree[] ? '{A.b.c.d.e,*.df}';
    211211

    212-
    --exractors
    212+
    --extractors
    213213
    SELECT ('{3456,1.2.3.34}'::ltree[] ?@> '1.2.3.4') is null;
    214214
    SELECT '{3456,1.2.3}'::ltree[] ?@> '1.2.3.4';
    215215
    SELECT '{3456,1.2.3.4}'::ltree[] ?<@ '1.2.3';

    contrib/pg_standby/pg_standby.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -779,7 +779,7 @@ main(int argc, char **argv)
    779779
    {
    780780
    /*
    781781
    * Once we have restored this file successfully we can remove some
    782-
    * prior WAL files. If this restore fails we musn't remove any
    782+
    * prior WAL files. If this restore fails we mustn't remove any
    783783
    * file because some of them will be requested again immediately
    784784
    * after the failed restore, or when we restart recovery.
    785785
    */

    contrib/pg_stat_statements/pg_stat_statements.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -139,7 +139,7 @@ typedef struct Counters
    139139
    {
    140140
    int64 calls; /* # of times executed */
    141141
    double total_time; /* total execution time, in msec */
    142-
    double min_time; /* minimim execution time in msec */
    142+
    double min_time; /* minimum execution time in msec */
    143143
    double max_time; /* maximum execution time in msec */
    144144
    double mean_time; /* mean execution time in msec */
    145145
    double sum_var_time; /* sum of variances in execution time in msec */

    contrib/pg_trgm/trgm_op.c

    Lines changed: 3 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -413,7 +413,7 @@ comp_ptrgm(const void *v1, const void *v2)
    413413
    * ulen1: count of unique trigrams of array "trg1".
    414414
    * len2: length of array "trg2" and array "trg2indexes".
    415415
    * len: length of the array "found".
    416-
    * check_only: if true then only check existaince of similar search pattern in
    416+
    * check_only: if true then only check existence of similar search pattern in
    417417
    * text.
    418418
    *
    419419
    * Returns word similarity.
    @@ -456,7 +456,7 @@ iterate_word_similarity(int *trg2indexes,
    456456
    lastpos[trgindex] = i;
    457457
    }
    458458

    459-
    /* Adjust lower bound if this trigram is present in required substing */
    459+
    /* Adjust lower bound if this trigram is present in required substring */
    460460
    if (found[trgindex])
    461461
    {
    462462
    int prev_lower,
    @@ -547,7 +547,7 @@ iterate_word_similarity(int *trg2indexes,
    547547
    *
    548548
    * str1: search pattern string, of length slen1 bytes.
    549549
    * str2: text in which we are looking for a word, of length slen2 bytes.
    550-
    * check_only: if true then only check existaince of similar search pattern in
    550+
    * check_only: if true then only check existence of similar search pattern in
    551551
    * text.
    552552
    *
    553553
    * Returns word similarity.

    contrib/pgcrypto/mbuf.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -311,7 +311,7 @@ pullf_read_max(PullFilter *pf, int len, uint8 **data_p, uint8 *tmpbuf)
    311311
    }
    312312

    313313
    /*
    314-
    * caller wants exatly len bytes and dont bother with references
    314+
    * caller wants exactly len bytes and don't bother with references
    315315
    */
    316316
    int
    317317
    pullf_read_fixed(PullFilter *src, int len, uint8 *dst)

    contrib/pgcrypto/pgp-mpi-internal.c

    Lines changed: 3 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -141,16 +141,16 @@ bn_to_mpi(mpz_t *bn)
    141141
    }
    142142

    143143
    /*
    144-
    * Decide the number of bits in the random componont k
    144+
    * Decide the number of bits in the random component k
    145145
    *
    146146
    * It should be in the same range as p for signing (which
    147147
    * is deprecated), but can be much smaller for encrypting.
    148148
    *
    149149
    * Until I research it further, I just mimic gpg behaviour.
    150150
    * It has a special mapping table, for values <= 5120,
    151151
    * above that it uses 'arbitrary high number'. Following
    152-
    * algorihm hovers 10-70 bits above gpg values. And for
    153-
    * larger p, it uses gpg's algorihm.
    152+
    * algorithm hovers 10-70 bits above gpg values. And for
    153+
    * larger p, it uses gpg's algorithm.
    154154
    *
    155155
    * The point is - if k gets large, encryption will be
    156156
    * really slow. It does not matter for decryption.

    contrib/pgcrypto/pgp-mpi-openssl.c

    Lines changed: 3 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -74,16 +74,16 @@ bn_to_mpi(BIGNUM *bn)
    7474
    }
    7575

    7676
    /*
    77-
    * Decide the number of bits in the random componont k
    77+
    * Decide the number of bits in the random component k
    7878
    *
    7979
    * It should be in the same range as p for signing (which
    8080
    * is deprecated), but can be much smaller for encrypting.
    8181
    *
    8282
    * Until I research it further, I just mimic gpg behaviour.
    8383
    * It has a special mapping table, for values <= 5120,
    8484
    * above that it uses 'arbitrary high number'. Following
    85-
    * algorihm hovers 10-70 bits above gpg values. And for
    86-
    * larger p, it uses gpg's algorihm.
    85+
    * algorithm hovers 10-70 bits above gpg values. And for
    86+
    * larger p, it uses gpg's algorithm.
    8787
    *
    8888
    * The point is - if k gets large, encryption will be
    8989
    * really slow. It does not matter for decryption.

    contrib/postgres_fdw/expected/postgres_fdw.out

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -2057,7 +2057,7 @@ SELECT t1."C 1" FROM "S 1"."T 1" t1, LATERAL (SELECT DISTINCT t2.c1, t3.c1 FROM
    20572057
    1
    20582058
    (10 rows)
    20592059

    2060-
    -- non-Var items in targelist of the nullable rel of a join preventing
    2060+
    -- non-Var items in targetlist of the nullable rel of a join preventing
    20612061
    -- push-down in some cases
    20622062
    -- unable to push {ft1, ft2}
    20632063
    EXPLAIN (VERBOSE, COSTS OFF)

    contrib/postgres_fdw/sql/postgres_fdw.sql

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -493,7 +493,7 @@ EXPLAIN (VERBOSE, COSTS OFF)
    493493
    SELECT t1."C 1" FROM "S 1"."T 1" t1, LATERAL (SELECT DISTINCT t2.c1, t3.c1 FROM ft1 t2, ft2 t3 WHERE t2.c1 = t3.c1 AND t2.c2 = t1.c2) q ORDER BY t1."C 1" OFFSET 10 LIMIT 10;
    494494
    SELECT t1."C 1" FROM "S 1"."T 1" t1, LATERAL (SELECT DISTINCT t2.c1, t3.c1 FROM ft1 t2, ft2 t3 WHERE t2.c1 = t3.c1 AND t2.c2 = t1.c2) q ORDER BY t1."C 1" OFFSET 10 LIMIT 10;
    495495

    496-
    -- non-Var items in targelist of the nullable rel of a join preventing
    496+
    -- non-Var items in targetlist of the nullable rel of a join preventing
    497497
    -- push-down in some cases
    498498
    -- unable to push {ft1, ft2}
    499499
    EXPLAIN (VERBOSE, COSTS OFF)

    contrib/seg/seg.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -888,7 +888,7 @@ restore(char *result, float val, int n)
    888888
    if (Abs(exp) <= 4)
    889889
    {
    890890
    /*
    891-
    * remove the decimal point from the mantyssa and write the digits
    891+
    * remove the decimal point from the mantissa and write the digits
    892892
    * to the buf array
    893893
    */
    894894
    for (p = result + sign, i = 10, dp = 0; *p != 'e'; p++, i++)

    contrib/sepgsql/selinux.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -23,7 +23,7 @@
    2323
    * When we ask SELinux whether the required privileges are allowed or not,
    2424
    * we use security_compute_av(3). It needs us to represent object classes
    2525
    * and access vectors using 'external' codes defined in the security policy.
    26-
    * It is determinded in the runtime, not build time. So, it needs an internal
    26+
    * It is determined in the runtime, not build time. So, it needs an internal
    2727
    * service to translate object class/access vectors which we wan 741A t to check
    2828
    * into the code which kernel want to be given.
    2929
    */

    contrib/sepgsql/sql/label.sql

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -206,7 +206,7 @@ SELECT * FROM auth_tbl; -- failed
    206206
    SELECT sepgsql_setcon(NULL); -- end of session
    207207
    SELECT sepgsql_getcon();
    208208

    209-
    -- the pooler cannot touch these tables directry
    209+
    -- the pooler cannot touch these tables directly
    210210
    SELECT * FROM foo_tbl; -- failed
    211211

    212212
    SELECT * FROM var_tbl; -- failed

    contrib/spi/refint.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -89,7 +89,7 @@ check_primary_key(PG_FUNCTION_ARGS)
    8989
    /* internal error */
    9090
    elog(ERROR, "check_primary_key: cannot process DELETE events");
    9191

    92-
    /* If UPDATion the must check new Tuple, not old one */
    92+
    /* If UPDATE, then must check new Tuple, not old one */
    9393
    else
    9494
    tuple = trigdata->tg_newtuple;
    9595

    contrib/start-scripts/osx/PostgreSQL

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -29,7 +29,7 @@
    2929
    # modified by Ray Aspeitia 12-03-2003 :
    3030
    # added log rotation script to db startup
    3131
    # modified StartupParameters.plist "Provides" parameter to make it easier to
    32-
    # start and stop with the SystemStarter utitlity
    32+
    # start and stop with the SystemStarter utility
    3333

    3434
    # use the below command in order to correctly start/stop/restart PG with log rotation script:
    3535
    # SystemStarter [start|stop|restart] PostgreSQL

    contrib/tsearch2/tsearch2--1.0.sql

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -414,7 +414,7 @@ CREATE FUNCTION stat(text,text)
    414414
    LANGUAGE INTERNAL
    415415
    RETURNS NULL ON NULL INPUT;
    416416

    417-
    --reset - just for debuging
    417+
    --reset - just for debugging
    418418
    CREATE FUNCTION reset_tsearch()
    419419
    RETURNS void
    420420
    as 'MODULE_PATHNAME', 'tsa_reset_tsearch'

    contrib/xml2/xpath.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -610,7 +610,7 @@ xpath_table(PG_FUNCTION_ARGS)
    610610

    611611
    /*
    612612
    * At the moment we assume that the returned attributes make sense for the
    613-
    * XPath specififed (i.e. we trust the caller). It's not fatal if they get
    613+
    * XPath specified (i.e. we trust the caller). It's not fatal if they get
    614614
    * it wrong - the input function for the column type will raise an error
    615615
    * if the path result can't be converted into the correct binary
    616616
    * representation.

    src/Makefile.shlib

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -377,7 +377,7 @@ $(shlib): $(OBJS) $(DLL_DEFFILE) | $(SHLIB_PREREQS)
    377377
    $(CC) $(CFLAGS) -shared -static-libgcc -o $@ $(OBJS) $(DLL_DEFFILE) $(LDFLAGS) $(LDFLAGS_SL) $(SHLIB_LINK) $(LIBS) -Wl,--out-implib=$(stlib)
    378378
    endif
    379379

    380-
    endif # PORTNAME == cgywin
    380+
    endif # PORTNAME == cygwin
    381381
    endif # PORTNAME == cygwin || PORTNAME == win32
    382382

    383383

    src/backend/access/gist/README

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -28,7 +28,7 @@ The current implementation of GiST supports:
    2828

    2929
    The support for concurrency implemented in PostgreSQL was developed based on
    3030
    the paper "Access Methods for Next-Generation Database Systems" by
    31-
    Marcel Kornaker:
    31+
    Marcel Kornacker:
    3232

    3333
    http://www.sai.msu.su/~megera/postgres/gist/papers/concurrency/access-methods-for-next-generation.pdf.gz
    3434

    src/backend/access/hash/hashpage.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -1077,7 +1077,7 @@ _hash_splitbucket_guts(Relation rel,
    10771077
    * already moved before the split operation was previously interrupted.
    10781078
    *
    10791079
    * The caller must hold a pin, but no lock, on the metapage and old bucket's
    1080-
    * primay page buffer. The buffers are returned in the same state. (The
    1080+
    * primary page buffer. The buffers are returned in the same state. (The
    10811081
    * metapage is only touched if it becomes necessary to add or remove overflow
    10821082
    * pages.)
    10831083
    */

    src/backend/access/heap/rewriteheap.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -209,7 +209,7 @@ typedef struct RewriteMappingFile
    209209
    } RewriteMappingFile;
    210210

    211211
    /*
    212-
    * A single In-Memeory logical rewrite mapping, hanging of
    212+
    * A single In-Memory logical rewrite mapping, hanging off
    213213
    * RewriteMappingFile->mappings.
    214214
    */
    215215
    typedef struct RewriteMappingDataEntry

    src/backend/access/transam/commit_ts.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -615,7 +615,7 @@ CommitTsParameterChange(bool newvalue, bool oldvalue)
    615615

    616616
    /*
    617617
    * Activate this module whenever necessary.
    618-
    * This must happen during postmaster or standalong-backend startup,
    618+
    * This must happen during postmaster or standalone-backend startup,
    619619
    * or during WAL replay anytime the track_commit_timestamp setting is
    620620
    * changed in the master.
    621621
    *

    src/backend/access/transam/xact.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -2752,7 +2752,7 @@ CommitTransactionCommand(void)
    27522752
    * These shouldn't happen. TBLOCK_DEFAULT means the previous
    27532753
    * StartTransactionCommand didn't set the STARTED state
    27542754
    * appropriately, while TBLOCK_PARALLEL_INPROGRESS should be ended
    2755-
    * by EndParallelWorkerTranaction(), not this function.
    2755+
    * by EndParallelWorkerTransaction(), not this function.
    27562756
    */
    27572757
    case TBLOCK_DEFAULT:
    27582758
    case TBLOCK_PARALLEL_INPROGRESS:

    src/backend/catalog/objectaddress.c

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -770,7 +770,7 @@ static void getRelationIdentity(StringInfo buffer, Oid relid, List **objname);
    770770
    *
    771771
    * Note: If the object is not found, we don't give any indication of the
    772772
    * reason. (It might have been a missing schema if the name was qualified, or
    773-
    * an inexistant type name in case of a cast, function or operator; etc).
    773+
    * a nonexistent type name in case of a cast, function or operator; etc).
    774774
    * Currently there is only one caller that might be interested in such info, so
    775775
    * we don't spend much effort here. If more callers start to care, it might be
    776776
    * better to add some support for that in this function.

    0 commit comments

    Comments
     (0)
    0