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
4d65e16a
Commit
4d65e16a
authored
Dec 16, 2014
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc comment typo fixes.
Backpatch the applicable parts, just to make backpatching future patches easier.
parent
da9f6a78
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/backend/lib/binaryheap.c
src/backend/lib/binaryheap.c
+1
-1
src/backend/replication/walsender.c
src/backend/replication/walsender.c
+1
-1
src/include/access/brin_tuple.h
src/include/access/brin_tuple.h
+4
-4
No files found.
src/backend/lib/binaryheap.c
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
*
*
...
...
src/backend/replication/walsender.c
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
())
...
...
src/include/access/brin_tuple.h
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
dt_column
values */
MemoryContext
bt_context
;
/* memcxt holding the
bt_columns
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 */
...
...
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