mirror of
https://github.com/postgres/postgres.git
synced 2025-10-28 11:55:03 +03:00
Fix typos and duplicate words
This fixes various typos, duplicated words, and tiny bits of whitespace mainly in code comments but also in docs. Author: Daniel Gustafsson <daniel@yesql.se> Author: Heikki Linnakangas <hlinnaka@iki.fi> Author: Alexander Lakhin <exclusion@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Author: Nazir Bilal Yavuz <byavuz81@gmail.com> Discussion: https://postgr.es/m/3F577953-A29E-4722-98AD-2DA9EFF2CBB8@yesql.se
This commit is contained in:
@@ -167,7 +167,7 @@ get_index_am_oid(const char *amname, bool missing_ok)
|
||||
|
||||
/*
|
||||
* get_table_am_oid - given an access method name, look up its OID
|
||||
* and verify it corresponds to an table AM.
|
||||
* and verify it corresponds to a table AM.
|
||||
*/
|
||||
Oid
|
||||
get_table_am_oid(const char *amname, bool missing_ok)
|
||||
|
||||
@@ -996,7 +996,7 @@ CopyFrom(CopyFromState cstate)
|
||||
cstate->escontext->error_occurred)
|
||||
{
|
||||
/*
|
||||
* Soft error occured, skip this tuple and deal with error
|
||||
* Soft error occurred, skip this tuple and deal with error
|
||||
* information according to ON_ERROR.
|
||||
*/
|
||||
if (cstate->opts.on_error == COPY_ON_ERROR_IGNORE)
|
||||
|
||||
@@ -3312,7 +3312,7 @@ dbase_redo(XLogReaderState *record)
|
||||
*/
|
||||
FlushDatabaseBuffers(xlrec->src_db_id);
|
||||
|
||||
/* Close all sgmr fds in all backends. */
|
||||
/* Close all smgr fds in all backends. */
|
||||
WaitForProcSignalBarrier(EmitProcSignalBarrier(PROCSIGNAL_BARRIER_SMGRRELEASE));
|
||||
|
||||
/*
|
||||
@@ -3378,7 +3378,7 @@ dbase_redo(XLogReaderState *record)
|
||||
/* Clean out the xlog relcache too */
|
||||
XLogDropDatabase(xlrec->db_id);
|
||||
|
||||
/* Close all sgmr fds in all backends. */
|
||||
/* Close all smgr fds in all backends. */
|
||||
WaitForProcSignalBarrier(EmitProcSignalBarrier(PROCSIGNAL_BARRIER_SMGRRELEASE));
|
||||
|
||||
for (i = 0; i < xlrec->ntablespaces; i++)
|
||||
|
||||
@@ -5687,7 +5687,7 @@ ATParseTransformCmd(List **wqueue, AlteredTableInfo *tab, Relation rel,
|
||||
case AT_AddIndex:
|
||||
|
||||
/*
|
||||
* A primary key on a inheritance parent needs supporting NOT
|
||||
* A primary key on an inheritance parent needs supporting NOT
|
||||
* NULL constraint on its children; enqueue commands to create
|
||||
* those or mark them inherited if they already exist.
|
||||
*/
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* In a parallel vacuum, we perform both index bulk deletion and index cleanup
|
||||
* with parallel worker processes. Individual indexes are processed by one
|
||||
* vacuum process. ParalleVacuumState contains shared information as well as
|
||||
* vacuum process. ParallelVacuumState contains shared information as well as
|
||||
* the memory space for storing dead items allocated in the DSA area. We
|
||||
* launch parallel worker processes at the start of parallel index
|
||||
* bulk-deletion and index cleanup and once all indexes are processed, the
|
||||
|
||||
Reference in New Issue
Block a user