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
f639df0d
Commit
f639df0d
authored
Nov 16, 2007
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small comment spacing improvement.
parent
d6fda1b0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
src/backend/access/transam/slru.c
src/backend/access/transam/slru.c
+2
-2
src/backend/commands/trigger.c
src/backend/commands/trigger.c
+8
-8
src/backend/rewrite/rewriteHandler.c
src/backend/rewrite/rewriteHandler.c
+2
-2
src/backend/utils/adt/tsvector_op.c
src/backend/utils/adt/tsvector_op.c
+2
-2
No files found.
src/backend/access/transam/slru.c
View file @
f639df0d
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.4
2 2007/11/15 23:23:44
momjian Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.4
3 2007/11/16 01:51:22
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -339,7 +339,7 @@ SimpleLruWaitIO(SlruCtl ctl, int slotno)
...
@@ -339,7 +339,7 @@ SimpleLruWaitIO(SlruCtl ctl, int slotno)
/* indeed, the I/O must have failed */
/* indeed, the I/O must have failed */
if
(
shared
->
page_status
[
slotno
]
==
SLRU_PAGE_READ_IN_PROGRESS
)
if
(
shared
->
page_status
[
slotno
]
==
SLRU_PAGE_READ_IN_PROGRESS
)
shared
->
page_status
[
slotno
]
=
SLRU_PAGE_EMPTY
;
shared
->
page_status
[
slotno
]
=
SLRU_PAGE_EMPTY
;
else
/*
write_in_progress */
else
/* write_in_progress */
{
{
shared
->
page_status
[
slotno
]
=
SLRU_PAGE_VALID
;
shared
->
page_status
[
slotno
]
=
SLRU_PAGE_VALID
;
shared
->
page_dirty
[
slotno
]
=
true
;
shared
->
page_dirty
[
slotno
]
=
true
;
...
...
src/backend/commands/trigger.c
View file @
f639df0d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.22
3 2007/11/15 23:23:44
momjian Exp $
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.22
4 2007/11/16 01:51:22
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1638,7 +1638,7 @@ ExecBSInsertTriggers(EState *estate, ResultRelInfo *relinfo)
...
@@ -1638,7 +1638,7 @@ ExecBSInsertTriggers(EState *estate, ResultRelInfo *relinfo)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
continue
;
continue
;
}
}
else
/*
ORIGIN or LOCAL role */
else
/* ORIGIN or LOCAL role */
{
{
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
...
@@ -1697,7 +1697,7 @@ ExecBRInsertTriggers(EState *estate, ResultRelInfo *relinfo,
...
@@ -1697,7 +1697,7 @@ ExecBRInsertTriggers(EState *estate, ResultRelInfo *relinfo,
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
continue
;
continue
;
}
}
else
/*
ORIGIN or LOCAL role */
else
/* ORIGIN or LOCAL role */
{
{
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
...
@@ -1769,7 +1769,7 @@ ExecBSDeleteTriggers(EState *estate, ResultRelInfo *relinfo)
...
@@ -1769,7 +1769,7 @@ ExecBSDeleteTriggers(EState *estate, ResultRelInfo *relinfo)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
continue
;
continue
;
}
}
else
/*
ORIGIN or LOCAL role */
else
/* ORIGIN or LOCAL role */
{
{
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
...
@@ -1835,7 +1835,7 @@ ExecBRDeleteTriggers(EState *estate, ResultRelInfo *relinfo,
...
@@ -1835,7 +1835,7 @@ ExecBRDeleteTriggers(EState *estate, ResultRelInfo *relinfo,
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
continue
;
continue
;
}
}
else
/*
ORIGIN or LOCAL role */
else
/* ORIGIN or LOCAL role */
{
{
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
...
@@ -1920,7 +1920,7 @@ ExecBSUpdateTriggers(EState *estate, ResultRelInfo *relinfo)
...
@@ -1920,7 +1920,7 @@ ExecBSUpdateTriggers(EState *estate, ResultRelInfo *relinfo)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
continue
;
continue
;
}
}
else
/*
ORIGIN or LOCAL role */
else
/* ORIGIN or LOCAL role */
{
{
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
...
@@ -1991,7 +1991,7 @@ ExecBRUpdateTriggers(EState *estate, ResultRelInfo *relinfo,
...
@@ -1991,7 +1991,7 @@ ExecBRUpdateTriggers(EState *estate, ResultRelInfo *relinfo,
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
continue
;
continue
;
}
}
else
/*
ORIGIN or LOCAL role */
else
/* ORIGIN or LOCAL role */
{
{
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
...
@@ -3616,7 +3616,7 @@ AfterTriggerSaveEvent(ResultRelInfo *relinfo, int event, bool row_trigger,
...
@@ -3616,7 +3616,7 @@ AfterTriggerSaveEvent(ResultRelInfo *relinfo, int event, bool row_trigger,
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
continue
;
continue
;
}
}
else
/*
ORIGIN or LOCAL role */
else
/* ORIGIN or LOCAL role */
{
{
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
if
(
trigger
->
tgenabled
==
TRIGGER_FIRES_ON_REPLICA
||
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
trigger
->
tgenabled
==
TRIGGER_DISABLED
)
...
...
src/backend/rewrite/rewriteHandler.c
View file @
f639df0d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteHandler.c,v 1.17
5 2007/11/15 23:23:44
momjian Exp $
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteHandler.c,v 1.17
6 2007/11/16 01:51:22
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1051,7 +1051,7 @@ matchLocks(CmdType event,
...
@@ -1051,7 +1051,7 @@ matchLocks(CmdType event,
oneLock
->
enabled
==
RULE_DISABLED
)
oneLock
->
enabled
==
RULE_DISABLED
)
continue
;
continue
;
}
}
else
/*
ORIGIN or LOCAL ROLE */
else
/* ORIGIN or LOCAL ROLE */
{
{
if
(
oneLock
->
enabled
==
RULE_FIRES_ON_REPLICA
||
if
(
oneLock
->
enabled
==
RULE_FIRES_ON_REPLICA
||
oneLock
->
enabled
==
RULE_DISABLED
)
oneLock
->
enabled
==
RULE_DISABLED
)
...
...
src/backend/utils/adt/tsvector_op.c
View file @
f639df0d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.
8 2007/11/15 23:23:44
momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.
9 2007/11/16 01:51:22
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -415,7 +415,7 @@ tsvector_concat(PG_FUNCTION_ARGS)
...
@@ -415,7 +415,7 @@ tsvector_concat(PG_FUNCTION_ARGS)
if
(
ptr2
->
haspos
)
if
(
ptr2
->
haspos
)
dataoff
+=
add_pos
(
in2
,
ptr2
,
out
,
ptr
,
maxpos
)
*
sizeof
(
WordEntryPos
);
dataoff
+=
add_pos
(
in2
,
ptr2
,
out
,
ptr
,
maxpos
)
*
sizeof
(
WordEntryPos
);
}
}
else
/*
must have ptr2->haspos */
else
/* must have ptr2->haspos */
{
{
int
addlen
=
add_pos
(
in2
,
ptr2
,
out
,
ptr
,
maxpos
);
int
addlen
=
add_pos
(
in2
,
ptr2
,
out
,
ptr
,
maxpos
);
...
...
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