Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
4d65e16a
Commit
4d65e16a
authored
10 years ago
by
Heikki Linnakangas
Browse files
Options
Downloads
Patches
Plain Diff
Misc comment typo fixes.
Backpatch the applicable parts, just to make backpatching future patches easier.
parent
da9f6a78
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/lib/binaryheap.c
+1
-1
1 addition, 1 deletion
src/backend/lib/binaryheap.c
src/backend/replication/walsender.c
+1
-1
1 addition, 1 deletion
src/backend/replication/walsender.c
src/include/access/brin_tuple.h
+4
-4
4 additions, 4 deletions
src/include/access/brin_tuple.h
with
6 additions
and
6 deletions
src/backend/lib/binaryheap.c
+
1
−
1
View file @
4d65e16a
/*-------------------------------------------------------------------------
/*-------------------------------------------------------------------------
*
*
* binaryheap.c
* binaryheap.c
* A simple binary heap implementaion
* A simple binary heap implementa
t
ion
*
*
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
*
...
...
This diff is collapsed.
Click to expand it.
src/backend/replication/walsender.c
+
1
−
1
View file @
4d65e16a
...
@@ -939,7 +939,7 @@ StartLogicalReplication(StartReplicationCmd *cmd)
...
@@ -939,7 +939,7 @@ StartLogicalReplication(StartReplicationCmd *cmd)
/*
/*
* Force a disconnect, so that the decoding code doesn't need to care
* Force a disconnect, so that the decoding code doesn't need to care
* about a eventual switch from running in recovery, to running in a
* about a
n
eventual switch from running in recovery, to running in a
* normal environment. Client code is expected to handle reconnects.
* normal environment. Client code is expected to handle reconnects.
*/
*/
if
(
am_cascading_walsender
&&
!
RecoveryInProgress
())
if
(
am_cascading_walsender
&&
!
RecoveryInProgress
())
...
...
This diff is collapsed.
Click to expand it.
src/include/access/brin_tuple.h
+
4
−
4
View file @
4d65e16a
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
typedef
struct
BrinValues
typedef
struct
BrinValues
{
{
AttrNumber
bv_attno
;
/* index attribute number */
AttrNumber
bv_attno
;
/* index attribute number */
bool
bv_hasnulls
;
/*
is
there any nulls in the page range? */
bool
bv_hasnulls
;
/*
are
there any nulls in the page range? */
bool
bv_allnulls
;
/* are all values nulls in the page range? */
bool
bv_allnulls
;
/* are all values nulls in the page range? */
Datum
*
bv_values
;
/* current accumulated values */
Datum
*
bv_values
;
/* current accumulated values */
}
BrinValues
;
}
BrinValues
;
...
@@ -37,7 +37,7 @@ typedef struct BrinMemTuple
...
@@ -37,7 +37,7 @@ typedef struct BrinMemTuple
{
{
bool
bt_placeholder
;
/* this is a placeholder tuple */
bool
bt_placeholder
;
/* this is a placeholder tuple */
BlockNumber
bt_blkno
;
/* heap blkno that the tuple is for */
BlockNumber
bt_blkno
;
/* heap blkno that the tuple is for */
MemoryContext
bt_context
;
/* memcxt holding the
d
t_column values */
MemoryContext
bt_context
;
/* memcxt holding the
b
t_column
s
values */
BrinValues
bt_columns
[
FLEXIBLE_ARRAY_MEMBER
];
BrinValues
bt_columns
[
FLEXIBLE_ARRAY_MEMBER
];
}
BrinMemTuple
;
}
BrinMemTuple
;
...
@@ -52,7 +52,7 @@ typedef struct BrinTuple
...
@@ -52,7 +52,7 @@ typedef struct BrinTuple
BlockNumber
bt_blkno
;
BlockNumber
bt_blkno
;
/* ---------------
/* ---------------
*
m
t_info is laid out in the following fashion:
*
b
t_info is laid out in the following fashion:
*
*
* 7th (high) bit: has nulls
* 7th (high) bit: has nulls
* 6th bit: is placeholder tuple
* 6th bit: is placeholder tuple
...
@@ -66,7 +66,7 @@ typedef struct BrinTuple
...
@@ -66,7 +66,7 @@ typedef struct BrinTuple
#define SizeOfBrinTuple (offsetof(BrinTuple, bt_info) + sizeof(uint8))
#define SizeOfBrinTuple (offsetof(BrinTuple, bt_info) + sizeof(uint8))
/*
/*
* t_info manipulation macros
*
b
t_info manipulation macros
*/
*/
#define BRIN_OFFSET_MASK 0x1F
#define BRIN_OFFSET_MASK 0x1F
/* bit 0x20 is not used at present */
/* bit 0x20 is not used at present */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment