Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6aab1f45
Commit
6aab1f45
authored
Apr 26, 2015
by
Andres Freund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix various typos and grammar errors in comments.
Author: Dmitriy Olshevskiy Discussion: 553D00A6.4090205@bk.ru
parent
9fe1d9ac
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
25 additions
and
25 deletions
+25
-25
src/backend/access/brin/brin_tuple.c
src/backend/access/brin/brin_tuple.c
+1
-1
src/backend/access/nbtree/nbtree.c
src/backend/access/nbtree/nbtree.c
+1
-1
src/backend/access/transam/twophase.c
src/backend/access/transam/twophase.c
+1
-1
src/backend/catalog/objectaddress.c
src/backend/catalog/objectaddress.c
+2
-2
src/backend/commands/indexcmds.c
src/backend/commands/indexcmds.c
+1
-1
src/backend/executor/nodeModifyTable.c
src/backend/executor/nodeModifyTable.c
+1
-1
src/backend/postmaster/bgworker.c
src/backend/postmaster/bgworker.c
+1
-1
src/backend/replication/logical/snapbuild.c
src/backend/replication/logical/snapbuild.c
+1
-1
src/backend/storage/lmgr/lwlock.c
src/backend/storage/lmgr/lwlock.c
+2
-2
src/backend/utils/cache/inval.c
src/backend/utils/cache/inval.c
+1
-1
src/bin/pg_archivecleanup/pg_archivecleanup.c
src/bin/pg_archivecleanup/pg_archivecleanup.c
+1
-1
src/bin/pg_basebackup/pg_recvlogical.c
src/bin/pg_basebackup/pg_recvlogical.c
+2
-2
src/bin/pg_upgrade/parallel.c
src/bin/pg_upgrade/parallel.c
+1
-1
src/bin/pg_upgrade/relfilenode.c
src/bin/pg_upgrade/relfilenode.c
+1
-1
src/include/access/attnum.h
src/include/access/attnum.h
+1
-1
src/include/access/xact.h
src/include/access/xact.h
+1
-1
src/include/mb/pg_wchar.h
src/include/mb/pg_wchar.h
+1
-1
src/include/storage/s_lock.h
src/include/storage/s_lock.h
+2
-2
src/interfaces/ecpg/pgtypeslib/datetime.c
src/interfaces/ecpg/pgtypeslib/datetime.c
+1
-1
src/interfaces/ecpg/pgtypeslib/numeric.c
src/interfaces/ecpg/pgtypeslib/numeric.c
+1
-1
src/port/pgmkdirp.c
src/port/pgmkdirp.c
+1
-1
No files found.
src/backend/access/brin/brin_tuple.c
View file @
6aab1f45
...
...
@@ -304,7 +304,7 @@ brin_free_tuple(BrinTuple *tuple)
}
/*
* Create a
n
palloc'd copy of a BrinTuple.
* Create a palloc'd copy of a BrinTuple.
*/
BrinTuple
*
brin_copy_tuple
(
BrinTuple
*
tuple
,
Size
len
)
...
...
src/backend/access/nbtree/nbtree.c
View file @
6aab1f45
...
...
@@ -40,7 +40,7 @@ typedef struct
BTSpool
*
spool
;
/*
* spool2 is needed only when the index is a
n
unique index. Dead tuples
* spool2 is needed only when the index is a unique index. Dead tuples
* are put into spool2 instead of spool in order to avoid uniqueness
* check.
*/
...
...
src/backend/access/transam/twophase.c
View file @
6aab1f45
...
...
@@ -291,7 +291,7 @@ AtAbort_Twophase(void)
}
/*
* This is called after we have finished transfering state to the prepared
* This is called after we have finished transfer
r
ing state to the prepared
* PGXACT entry.
*/
void
...
...
src/backend/catalog/objectaddress.c
View file @
6aab1f45
...
...
@@ -100,7 +100,7 @@ typedef struct
AclObjectKind
acl_kind
;
/* ACL_KIND_* of this object type */
bool
is_nsp_name_unique
;
/* can the nsp/name combination (or
* name alone, if there's no
* namespace) be considered a
n
unique
* namespace) be considered a unique
* identifier for an object of this
* class? */
}
ObjectPropertyType
;
...
...
@@ -3241,7 +3241,7 @@ pg_identify_object(PG_FUNCTION_ARGS)
/*
* We only return the object name if it can be used (together with
* the schema name, if any) as a
n
unique identifier.
* the schema name, if any) as a unique identifier.
*/
if
(
get_object_namensp_unique
(
address
.
classId
))
{
...
...
src/backend/commands/indexcmds.c
View file @
6aab1f45
...
...
@@ -1051,7 +1051,7 @@ ComputeIndexAttrs(IndexInfo *indexInfo,
*/
/*
* A expression using mutable functions is probably wrong,
* A
n
expression using mutable functions is probably wrong,
* since if you aren't going to get the same result for the
* same data every time, it's not clear what the index entries
* mean at all.
...
...
src/backend/executor/nodeModifyTable.c
View file @
6aab1f45
...
...
@@ -304,7 +304,7 @@ ExecInsert(TupleTableSlot *slot,
* inserting the record into the heap and all indexes.
*
* ExecWithCheckOptions will elog(ERROR) if a violation is found, so
* the tuple will never be seen, if it violates the
the
WITH CHECK
* the tuple will never be seen, if it violates the WITH CHECK
* OPTION.
*
* ExecWithCheckOptions() will skip any WCOs which are not of
...
...
src/backend/postmaster/bgworker.c
View file @
6aab1f45
...
...
@@ -130,7 +130,7 @@ BackgroundWorkerShmemInit(void)
/*
* Copy contents of worker list into shared memory. Record the shared
* memory slot assigned to each worker. This ensures a 1-to-1
* correspondence betwen the postmaster's private list and the array
* correspondence betwe
e
n the postmaster's private list and the array
* in shared memory.
*/
slist_foreach
(
siter
,
&
BackgroundWorkerList
)
...
...
src/backend/replication/logical/snapbuild.c
View file @
6aab1f45
...
...
@@ -1597,7 +1597,7 @@ SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn)
/*
* We may overwrite the work from some other backend, but that's ok, our
* snapshot is valid as well, we'll just have done some superflous work.
* snapshot is valid as well, we'll just have done some superfl
u
ous work.
*/
if
(
rename
(
tmppath
,
path
)
!=
0
)
{
...
...
src/backend/storage/lmgr/lwlock.c
View file @
6aab1f45
...
...
@@ -848,7 +848,7 @@ LWLockDequeueSelf(LWLock *lock)
/*
* Somebody else dequeued us and has or will wake us up. Deal with the
* superflous absorption of a wakeup.
* superfl
u
ous absorption of a wakeup.
*/
/*
...
...
@@ -1183,7 +1183,7 @@ LWLockAcquireOrWait(LWLock *lock, LWLockMode mode)
{
/*
* Wait until awakened. Like in LWLockAcquire, be prepared for bogus
* wakups, because we share the semaphore with ProcWaitForSignal.
* wak
e
ups, because we share the semaphore with ProcWaitForSignal.
*/
LOG_LWDEBUG
(
"LWLockAcquireOrWait"
,
lock
,
"waiting"
);
...
...
src/backend/utils/cache/inval.c
View file @
6aab1f45
...
...
@@ -516,7 +516,7 @@ RegisterRelcacheInvalidation(Oid dbId, Oid relId)
/*
* RegisterSnapshotInvalidation
*
* Register a invalidation event for MVCC scans against a given catalog.
* Register a
n
invalidation event for MVCC scans against a given catalog.
* Only needed for catalogs that don't have catcaches.
*/
static
void
...
...
src/bin/pg_archivecleanup/pg_archivecleanup.c
View file @
6aab1f45
...
...
@@ -46,7 +46,7 @@ char exclusiveCleanupFileName[MAXPGPATH]; /* the oldest file we
* accessible directory. If you want to make other assumptions,
* such as using a vendor-specific archive and access API, these
* routines are the ones you'll need to change. You're
* enouraged to submit any changes to pgsql-hackers@postgresql.org
* en
c
ouraged to submit any changes to pgsql-hackers@postgresql.org
* or personally to the current maintainer. Those changes may be
* folded in to later versions of this program.
*/
...
...
src/bin/pg_basebackup/pg_recvlogical.c
View file @
6aab1f45
...
...
@@ -603,7 +603,7 @@ main(int argc, char **argv)
{
"verbose"
,
no_argument
,
NULL
,
'v'
},
{
"version"
,
no_argument
,
NULL
,
'V'
},
{
"help"
,
no_argument
,
NULL
,
'?'
},
/* conn
n
ection options */
/* connection options */
{
"dbname"
,
required_argument
,
NULL
,
'd'
},
{
"host"
,
required_argument
,
NULL
,
'h'
},
{
"port"
,
required_argument
,
NULL
,
'p'
},
...
...
@@ -670,7 +670,7 @@ main(int argc, char **argv)
case
'v'
:
verbose
++
;
break
;
/* conn
n
ection options */
/* connection options */
case
'd'
:
dbname
=
pg_strdup
(
optarg
);
break
;
...
...
src/bin/pg_upgrade/parallel.c
View file @
6aab1f45
...
...
@@ -175,7 +175,7 @@ win32_exec_prog(exec_thread_arg *args)
* parallel_transfer_all_new_dbs
*
* This has the same API as transfer_all_new_dbs, except it does parallel execution
* by transfering multiple tablespaces in parallel
* by transfer
r
ing multiple tablespaces in parallel
*/
void
parallel_transfer_all_new_dbs
(
DbInfoArr
*
old_db_arr
,
DbInfoArr
*
new_db_arr
,
...
...
src/bin/pg_upgrade/relfilenode.c
View file @
6aab1f45
...
...
@@ -35,7 +35,7 @@ transfer_all_new_tablespaces(DbInfoArr *old_db_arr, DbInfoArr *new_db_arr,
user_opts
.
transfer_mode
==
TRANSFER_MODE_LINK
?
"Linking"
:
"Copying"
);
/*
* Transfering files by tablespace is tricky because a single database can
* Transfer
r
ing files by tablespace is tricky because a single database can
* use multiple tablespaces. For non-parallel mode, we just pass a NULL
* tablespace path, which matches all tablespaces. In parallel mode, we
* pass the default tablespace and all user-created tablespaces and let
...
...
src/include/access/attnum.h
View file @
6aab1f45
...
...
@@ -46,7 +46,7 @@ typedef int16 AttrNumber;
* Returns the attribute offset for an attribute number.
*
* Note:
* Assumes the attribute number is for a
n
user defined attribute.
* Assumes the attribute number is for a user defined attribute.
*/
#define AttrNumberGetAttrOffset(attNum) \
( \
...
...
src/include/access/xact.h
View file @
6aab1f45
...
...
@@ -168,7 +168,7 @@ typedef struct xl_xact_assignment
* 'xl_xact_xinfo->xinfo'. The presence of the xinfo field itself is signalled
* by a set XLOG_XACT_HAS_INFO bit in the xl_info field.
*
* NB: All the individual data chunks should be
be
sized to multiples of
* NB: All the individual data chunks should be sized to multiples of
* sizeof(int) and only require int32 alignment.
*/
...
...
src/include/mb/pg_wchar.h
View file @
6aab1f45
...
...
@@ -88,7 +88,7 @@ typedef unsigned int pg_wchar;
* interoperable anyway).
*
* Note that XEmacs's implementation is different from what emacs does.
* We follow emacs's implementa
ion, ratht
er than XEmacs's.
* We follow emacs's implementa
tion, rath
er than XEmacs's.
*----------------------------------------------------
*/
...
...
src/include/storage/s_lock.h
View file @
6aab1f45
...
...
@@ -356,8 +356,8 @@ tas(volatile slock_t *lock)
/*
* Solaris has always run sparc processors in TSO (total store) mode, but
* linux didn't use to and the *BSDs still don't. So, be careful about
* acquire/release semantics. The CPU will treat superfl
ous membars as NOPs,
* so it's just code space.
* acquire/release semantics. The CPU will treat superfl
uous membars as
*
NOPs,
so it's just code space.
*/
#define HAS_TEST_AND_SET
...
...
src/interfaces/ecpg/pgtypeslib/datetime.c
View file @
6aab1f45
...
...
@@ -323,7 +323,7 @@ PGTYPESdate_fmt_asc(date dDate, const char *fmtstring, char *outbuf)
* PGTYPESdate_defmt_asc
*
* function works as follows:
* - first we analyze the paramters
* - first we analyze the param
e
ters
* - if this is a special case with no delimiters, add delimters
* - find the tokens. First we look for numerical values. If we have found
* less than 3 tokens, we check for the months' names and thereafter for
...
...
src/interfaces/ecpg/pgtypeslib/numeric.c
View file @
6aab1f45
...
...
@@ -1376,7 +1376,7 @@ PGTYPESnumeric_cmp(numeric *var1, numeric *var2)
if
(
var1
->
sign
==
NUMERIC_NEG
&&
var2
->
sign
==
NUMERIC_NEG
)
{
/*
* instead of inverting the result, we invert the paramter ordering
* instead of inverting the result, we invert the param
e
ter ordering
*/
return
cmp_abs
(
var2
,
var1
);
}
...
...
src/port/pgmkdirp.c
View file @
6aab1f45
...
...
@@ -93,7 +93,7 @@ pg_mkdir_p(char *path, int omode)
/*
* POSIX 1003.2: For each dir operand that does not name an existing
* directory, effects equivalent to those caused by the following command
* shall occ
c
ur:
* shall occur:
*
* mkdir -p -m $(umask -S),u+wx $(dirname dir) && mkdir [-m mode] dir
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment