Skip to content

Commit 398e7bc

Browse files
committed
indent
1 parent 1477ae0 commit 398e7bc

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
else if (strcmp(def->defname, "fetch_size") == 0)
135135
{
136-
int fetch_size;
136+
int fetch_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-
int fetch_size; /* fetch size for this remote table */
57+
int fetch_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
extern bool is_builtin(Oid objectId);
111111
extern bool is_shippable(Oid objectId, Oid classId, PgFdwRelationInfo *fpinfo);
112112

113-
extern bool UseTsDtmTransactions;
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
Oid objid; /* function/operator/type OID */
4747
Oid classid; /* OID of its catalog (pg_proc, etc) */
4848
Oid serverid; /* FDW server we are concerned with */
49-
} ShippableCacheKey;
49+
} ShippableCacheKey;
5050

5151
typedef struct
5252
{
5353
ShippableCacheKey key; /* hash key - must be first */
5454
bool shippable;
55-
} ShippableCacheEntry;
55+
} ShippableCacheEntry;
5656

5757

5858
/*

0 commit comments

Comments
 (0)