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

Commit39efd76

Browse files
committed
pathman: formatting issues
1 parent4d9c1ee commit39efd76

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

‎contrib/pathman/init.c

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -190,36 +190,36 @@ load_check_constraints(Oid parent_oid)
190190
proc=SPI_processed;
191191

192192
if (ret>0&&SPI_tuptable!=NULL)
193-
{
194-
// TupleDesc tupdesc = SPI_tuptable->tupdesc;
195-
SPITupleTable*tuptable=SPI_tuptable;
196-
Oid*children;
197-
RangeEntry*ranges;
198-
Datummin;
199-
Datummax;
193+
{
194+
// TupleDesc tupdesc = SPI_tuptable->tupdesc;
195+
SPITupleTable*tuptable=SPI_tuptable;
196+
Oid*children;
197+
RangeEntry*ranges;
198+
Datummin;
199+
Datummax;
200200
inthash;
201201
HashRelation*hashrel;
202202

203-
alloc_dsm_array(&prel->children,sizeof(Oid),proc);
204-
children= (Oid*)dsm_array_get_pointer(&prel->children);
203+
alloc_dsm_array(&prel->children,sizeof(Oid),proc);
204+
children= (Oid*)dsm_array_get_pointer(&prel->children);
205205

206-
if (prel->parttype==PT_RANGE)
207-
{
206+
if (prel->parttype==PT_RANGE)
207+
{
208208
rangerel= (RangeRelation*)
209209
hash_search(range_restrictions, (void*)&parent_oid,HASH_ENTER,&found);
210210

211-
alloc_dsm_array(&rangerel->ranges,sizeof(RangeEntry),proc);
212-
ranges= (RangeEntry*)dsm_array_get_pointer(&rangerel->ranges);
213-
}
211+
alloc_dsm_array(&rangerel->ranges,sizeof(RangeEntry),proc);
212+
ranges= (RangeEntry*)dsm_array_get_pointer(&rangerel->ranges);
213+
}
214214

215-
for (i=0;i<proc;i++)
216-
{
215+
for (i=0;i<proc;i++)
216+
{
217217
RangeEntryre;
218-
HeapTupletuple=tuptable->vals[i];
219-
boolisnull;
220-
Datumval;
221-
char*conbin;
222-
Expr*expr;
218+
HeapTupletuple=tuptable->vals[i];
219+
boolisnull;
220+
Datumval;
221+
char*conbin;
222+
Expr*expr;
223223

224224
// HeapTuplereltuple;
225225
// Form_pg_class pg_class_tuple;
@@ -269,7 +269,7 @@ load_check_constraints(Oid parent_oid)
269269
}
270270

271271
/* TODO: check if some ranges overlap! */
272-
}
272+
}
273273
}
274274

275275

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp