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
d8ed83cd
Commit
d8ed83cd
authored
Apr 11, 2016
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix whitespace
parent
6c7b0388
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
6 deletions
+4
-6
src/backend/foreign/foreign.c
src/backend/foreign/foreign.c
+1
-1
src/backend/nodes/extensible.c
src/backend/nodes/extensible.c
+1
-1
src/backend/utils/adt/tsquery_op.c
src/backend/utils/adt/tsquery_op.c
+2
-2
src/pl/plpython/plpy_elog.c
src/pl/plpython/plpy_elog.c
+0
-1
src/test/modules/snapshot_too_old/sto.conf
src/test/modules/snapshot_too_old/sto.conf
+0
-1
No files found.
src/backend/foreign/foreign.c
View file @
d8ed83cd
...
@@ -253,7 +253,7 @@ GetUserMapping(Oid userid, Oid serverid)
...
@@ -253,7 +253,7 @@ GetUserMapping(Oid userid, Oid serverid)
*
*
* If missing_ok is true, the function returns InvalidOid when it does not find
* If missing_ok is true, the function returns InvalidOid when it does not find
* required user mapping. Otherwise, find_user_mapping() throws error if it
* required user mapping. Otherwise, find_user_mapping() throws error if it
* does not find required user mapping.
* does not find required user mapping.
*/
*/
Oid
Oid
GetUserMappingId
(
Oid
userid
,
Oid
serverid
,
bool
missing_ok
)
GetUserMappingId
(
Oid
userid
,
Oid
serverid
,
bool
missing_ok
)
...
...
src/backend/nodes/extensible.c
View file @
d8ed83cd
...
@@ -33,7 +33,7 @@ typedef struct
...
@@ -33,7 +33,7 @@ typedef struct
}
ExtensibleNodeEntry
;
}
ExtensibleNodeEntry
;
/*
/*
* An internal function to register a new callback structure
* An internal function to register a new callback structure
*/
*/
static
void
static
void
RegisterExtensibleNodeEntry
(
HTAB
**
p_htable
,
const
char
*
htable_label
,
RegisterExtensibleNodeEntry
(
HTAB
**
p_htable
,
const
char
*
htable_label
,
...
...
src/backend/utils/adt/tsquery_op.c
View file @
d8ed83cd
...
@@ -114,13 +114,13 @@ tsquery_phrase_distance(PG_FUNCTION_ARGS)
...
@@ -114,13 +114,13 @@ tsquery_phrase_distance(PG_FUNCTION_ARGS)
TSQuery
b
=
PG_GETARG_TSQUERY_COPY
(
1
);
TSQuery
b
=
PG_GETARG_TSQUERY_COPY
(
1
);
QTNode
*
res
;
QTNode
*
res
;
TSQuery
query
;
TSQuery
query
;
int32
distance
=
PG_GETARG_INT32
(
2
);
int32
distance
=
PG_GETARG_INT32
(
2
);
if
(
distance
<
0
||
distance
>
MAXENTRYPOS
)
if
(
distance
<
0
||
distance
>
MAXENTRYPOS
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
errmsg
(
"distance in phrase operator should be non-negative and less than %d"
,
errmsg
(
"distance in phrase operator should be non-negative and less than %d"
,
MAXENTRYPOS
)));
MAXENTRYPOS
)));
if
(
a
->
size
==
0
)
if
(
a
->
size
==
0
)
{
{
PG_FREE_IF_COPY
(
a
,
1
);
PG_FREE_IF_COPY
(
a
,
1
);
...
...
src/pl/plpython/plpy_elog.c
View file @
d8ed83cd
...
@@ -619,4 +619,3 @@ set_string_attr(PyObject *obj, char *attrname, char *str)
...
@@ -619,4 +619,3 @@ set_string_attr(PyObject *obj, char *attrname, char *str)
return
result
!=
-
1
;
return
result
!=
-
1
;
}
}
src/test/modules/snapshot_too_old/sto.conf
View file @
d8ed83cd
autovacuum
=
off
autovacuum
=
off
old_snapshot_threshold
=
0
old_snapshot_threshold
=
0
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