Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit398e7bc

Browse files
committed
indent
1 parent1477ae0 commit398e7bc

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

‎contrib/postgres_fdw/connection.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include"utils/hsearch.h"
2323
#include"utils/memutils.h"
2424

25+
2526
/*
2627
* Connection cache hash table entry
2728
*
@@ -809,6 +810,7 @@ pgfdw_xact_callback(XactEvent event, void *arg)
809810
break;
810811
}
811812
}
813+
812814
/* Reset state to show we're out of a transaction */
813815
entry->xact_depth=0;
814816

‎contrib/postgres_fdw/option.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ postgres_fdw_validator(PG_FUNCTION_ARGS)
133133
}
134134
elseif (strcmp(def->defname,"fetch_size")==0)
135135
{
136-
intfetch_size;
136+
intfetch_size;
137137

138-
fetch_size=strtol(defGetString(def),NULL,10);
138+
fetch_size=strtol(defGetString(def),NULL,10);
139139
if (fetch_size <=0)
140140
ereport(ERROR,
141141
(errcode(ERRCODE_SYNTAX_ERROR),

‎contrib/postgres_fdw/postgres_fdw.h‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ typedef struct PgFdwRelationInfo
5454
ForeignServer*server;
5555
UserMapping*user;/* only set in use_remote_estimate mode */
5656

57-
intfetch_size;/* fetch size for this remote table */
57+
intfetch_size;/* fetch size for this remote table */
5858
}PgFdwRelationInfo;
5959

6060
/* in postgres_fdw.c */
@@ -110,6 +110,4 @@ extern void deparseSelectStmtForRel(StringInfo buf, PlannerInfo *root,
110110
externboolis_builtin(OidobjectId);
111111
externboolis_shippable(OidobjectId,OidclassId,PgFdwRelationInfo*fpinfo);
112112

113-
externboolUseTsDtmTransactions;
114-
115113
#endif/* POSTGRES_FDW_H */

‎contrib/postgres_fdw/shippable.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ typedef struct
4646
Oidobjid;/* function/operator/type OID */
4747
Oidclassid;/* OID of its catalog (pg_proc, etc) */
4848
Oidserverid;/* FDW server we are concerned with */
49-
}ShippableCacheKey;
49+
}ShippableCacheKey;
5050

5151
typedefstruct
5252
{
5353
ShippableCacheKeykey;/* hash key - must be first */
5454
boolshippable;
55-
}ShippableCacheEntry;
55+
}ShippableCacheEntry;
5656

5757

5858
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp