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
3b075e9d
Commit
3b075e9d
authored
May 17, 2015
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in comments
Dmitriy Olshevskiy
parent
6b665454
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
19 additions
and
19 deletions
+19
-19
contrib/tsm_system_time/tsm_system_time.c
contrib/tsm_system_time/tsm_system_time.c
+1
-1
doc/src/sgml/logicaldecoding.sgml
doc/src/sgml/logicaldecoding.sgml
+1
-1
doc/src/sgml/ref/pg_dumpall.sgml
doc/src/sgml/ref/pg_dumpall.sgml
+1
-1
src/backend/access/gin/ginpostinglist.c
src/backend/access/gin/ginpostinglist.c
+7
-7
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam.c
+1
-1
src/backend/access/nbtree/README
src/backend/access/nbtree/README
+1
-1
src/backend/access/transam/xact.c
src/backend/access/transam/xact.c
+2
-2
src/backend/replication/logical/snapbuild.c
src/backend/replication/logical/snapbuild.c
+1
-1
src/backend/tsearch/dict_synonym.c
src/backend/tsearch/dict_synonym.c
+1
-1
src/backend/utils/adt/jsonfuncs.c
src/backend/utils/adt/jsonfuncs.c
+1
-1
src/test/regress/expected/event_trigger.out
src/test/regress/expected/event_trigger.out
+1
-1
src/test/regress/sql/event_trigger.sql
src/test/regress/sql/event_trigger.sql
+1
-1
No files found.
contrib/tsm_system_time/tsm_system_time.c
View file @
3b075e9d
...
...
@@ -267,7 +267,7 @@ tsm_system_time_cost(PG_FUNCTION_ARGS)
NULL
);
/*
* Assumption here is that we'll never read less th
e
n 1% of table pages,
* Assumption here is that we'll never read less th
a
n 1% of table pages,
* this is here mainly because it is much less bad to overestimate than
* underestimate and using just spc_random_page_cost will probably lead
* to underestimations in general.
...
...
doc/src/sgml/logicaldecoding.sgml
View file @
3b075e9d
...
...
@@ -649,7 +649,7 @@ OutputPluginWrite(ctx, true);
<title>Synchronous Replication Support for Logical Decoding</title>
<para>
Logical decoding can be used to
to
build
Logical decoding can be used to build
<link linkend="synchronous-replication">synchronous
replication</link> solutions with the same user interface as synchronous
replication for <link linkend="streaming-replication">streaming
...
...
doc/src/sgml/ref/pg_dumpall.sgml
View file @
3b075e9d
...
...
@@ -454,7 +454,7 @@ PostgreSQL documentation
<term><option>--database=<replaceable>dbname</replaceable></option></term>
<listitem>
<para>
Specifies the name of the database to connect to
to
dump global
Specifies the name of the database to connect to dump global
objects and discover what other databases should be dumped. If
not specified, the <literal>postgres</literal> database will be used,
and if that does not exist, <literal>template1</literal> will be used.
...
...
src/backend/access/gin/ginpostinglist.c
View file @
3b075e9d
...
...
@@ -23,7 +23,7 @@
/*
* For encoding purposes, item pointers are represented as 64-bit unsigned
* integers. The lowest 11 bits represent the offset number, and the next
* lowest 32 bits are the block number. That leaves 17 bits unused, ie.
* lowest 32 bits are the block number. That leaves 17 bits unused, i
.
e.
* only 43 low bits are used.
*
* These 43-bit integers are encoded using varbyte encoding. In each byte,
...
...
@@ -51,16 +51,16 @@
* Removing number is actually replacement of two numbers with their sum. We
* have to prove that varbyte encoding of a sum can't be longer than varbyte
* encoding of its summands. Sum of two numbers is at most one bit wider than
* th
an the larger of the summands. Widening a number by one bit enlarges its
*
length in varbyte encoding by at most one byte. Therefore, varbyte encoding
*
of sum is at most one byte longer than varbyte encoding of larger summand.
*
Lesser summand is at least one byte, so the sum cannot take more space than
*
the
summands, Q.E.D.
* th
e larger of the summands. Widening a number by one bit enlarges its length
*
in varbyte encoding by at most one byte. Therefore, varbyte encoding of sum
*
is at most one byte longer than varbyte encoding of larger summand. Lesser
*
summand is at least one byte, so the sum cannot take more space than the
* summands, Q.E.D.
*
* This property greatly simplifies VACUUM, which can assume that posting
* lists always fit on the same page after vacuuming. Note that even though
* that holds for removing items from a posting list, you must also be
* careful to not cause expansion e.g when merging uncompressed items on the
* careful to not cause expansion e.g
.
when merging uncompressed items on the
* page into the compressed lists, when vacuuming.
*/
...
...
src/backend/access/heap/heapam.c
View file @
3b075e9d
...
...
@@ -7289,7 +7289,7 @@ ExtractReplicaIdentity(Relation relation, HeapTuple tp, bool key_changed, bool *
{
/*
* The OID column can appear in an index definition, but that's
* OK, becuse we always copy the OID if present (see below). Other
* OK, bec
a
use we always copy the OID if present (see below). Other
* system columns may not.
*/
if
(
attno
==
ObjectIdAttributeNumber
)
...
...
src/backend/access/nbtree/README
View file @
3b075e9d
...
...
@@ -470,7 +470,7 @@ not be seen under normal circumstances; only if insertion to the parent
has failed for some reason.
We flag the left page, even though it's the right page that's missing the
downlink, be
ac
use it's more convenient to know already when following the
downlink, be
ca
use it's more convenient to know already when following the
right-link from the left page to the right page that it will need to have
its downlink inserted to the parent.
...
...
src/backend/access/transam/xact.c
View file @
3b075e9d
...
...
@@ -2005,7 +2005,7 @@ CommitTransaction(void)
if
(
!
is_parallel_worker
)
{
/*
* We need to mark our XIDs as commited in pg_clog. This is where we
* We need to mark our XIDs as commit
t
ed in pg_clog. This is where we
* durably commit.
*/
latestXid
=
RecordTransactionCommit
();
...
...
@@ -2764,7 +2764,7 @@ CommitTransactionCommand(void)
/*
* Here we are in the middle of a transaction block but one of the
* commands caused an abort so we do nothing but remain in the
* abort state. Eventually we will get a ROLLBACK comand.
* abort state. Eventually we will get a ROLLBACK com
m
and.
*/
case
TBLOCK_ABORT
:
case
TBLOCK_SUBABORT
:
...
...
src/backend/replication/logical/snapbuild.c
View file @
3b075e9d
...
...
@@ -832,7 +832,7 @@ SnapBuildAddCommittedTxn(SnapBuild *builder, TransactionId xid)
/*
* Remove knowledge about transactions we treat as committed that are smaller
* than ->xmin. Those won't ever get checked via the ->commited array but via
* than ->xmin. Those won't ever get checked via the ->commit
t
ed array but via
* the clog machinery, so we don't need to waste memory on them.
*/
static
void
...
...
src/backend/tsearch/dict_synonym.c
View file @
3b075e9d
...
...
@@ -37,7 +37,7 @@ typedef struct
* Returns a pointer to the first character of the word, and a pointer
* to the next byte after the last character in the word (in *end).
* Character '*' at the end of word will not be threated as word
* charater if flags is not null.
* chara
c
ter if flags is not null.
*/
static
char
*
findwrd
(
char
*
in
,
char
**
end
,
uint16
*
flags
)
...
...
src/backend/utils/adt/jsonfuncs.c
View file @
3b075e9d
...
...
@@ -3577,7 +3577,7 @@ IteratorConcat(JsonbIterator **it1, JsonbIterator **it2,
int
level
=
1
;
/*
* Append the all tokens from v1 to res, exept last WJB_END_OBJECT
* Append the all tokens from v1 to res, ex
c
ept last WJB_END_OBJECT
* (because res will not be finished yet).
*/
(
void
)
pushJsonbValue
(
state
,
r1
,
NULL
);
...
...
src/test/regress/expected/event_trigger.out
View file @
3b075e9d
...
...
@@ -38,7 +38,7 @@ create event trigger regress_event_trigger2 on ddl_command_start
when tag in ('sandwhich')
execute procedure test_event_trigger();
ERROR: filter value "sandwhich" not recognized for filter variable "tag"
-- should fail, create skunkcabbage is not a valid comand tag
-- should fail, create skunkcabbage is not a valid com
m
and tag
create event trigger regress_event_trigger2 on ddl_command_start
when tag in ('create table', 'create skunkcabbage')
execute procedure test_event_trigger();
...
...
src/test/regress/sql/event_trigger.sql
View file @
3b075e9d
...
...
@@ -40,7 +40,7 @@ create event trigger regress_event_trigger2 on ddl_command_start
when
tag
in
(
'sandwhich'
)
execute
procedure
test_event_trigger
();
-- should fail, create skunkcabbage is not a valid comand tag
-- should fail, create skunkcabbage is not a valid com
m
and tag
create
event
trigger
regress_event_trigger2
on
ddl_command_start
when
tag
in
(
'create table'
,
'create skunkcabbage'
)
execute
procedure
test_event_trigger
();
...
...
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