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

Commit249f6b4

Browse files
committed
formatting cleanup
1 parent87af721 commit249f6b4

File tree

2 files changed

+38
-44
lines changed

2 files changed

+38
-44
lines changed

‎src/backend/catalog/indexing.c

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.49 1999/11/0102:29:25 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.50 1999/11/0104:00:56 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -50,21 +50,17 @@ char *Name_pg_type_indices[Num_pg_type_indices] = {TypeNameIndex,
5050
char*Name_pg_class_indices[Num_pg_class_indices]= {ClassNameIndex,
5151
ClassOidIndex};
5252
char*Name_pg_attrdef_indices[Num_pg_attrdef_indices]= {AttrDefaultIndex};
53-
5453
char*Name_pg_relcheck_indices[Num_pg_relcheck_indices]= {RelCheckIndex};
55-
5654
char*Name_pg_trigger_indices[Num_pg_trigger_indices]= {TriggerRelidIndex,
57-
TriggerConstrNameIndex,
58-
TriggerConstrRelidIndex};
59-
55+
TriggerConstrNameIndex,TriggerConstrRelidIndex};
6056
char*Name_pg_description_indices[Num_pg_description_indices]= {DescriptionObjIndex};
6157

6258

6359

6460
staticHeapTupleCatalogIndexFetchTuple(RelationheapRelation,
65-
Relationidesc,
66-
ScanKeyskey,
67-
int16num_keys);
61+
Relationidesc,
62+
ScanKeyskey,
63+
int16num_keys);
6864

6965

7066
/*

‎src/include/catalog/indexing.h

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: indexing.h,v 1.26 1999/11/0102:29:26 momjian Exp $
10+
* $Id: indexing.h,v 1.27 1999/11/0104:00:57 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -19,15 +19,15 @@
1919
/*
2020
* Some definitions for indices on pg_attribute
2121
*/
22-
#defineNum_pg_amop_indices2
23-
#defineNum_pg_attr_indices3
22+
#defineNum_pg_amop_indices2
23+
#defineNum_pg_attr_indices3
2424
#defineNum_pg_index_indices1
25-
#defineNum_pg_proc_indices2
26-
#defineNum_pg_type_indices2
27-
#defineNum_pg_class_indices2
28-
#defineNum_pg_attrdef_indices1
29-
#defineNum_pg_relcheck_indices 1
30-
#defineNum_pg_trigger_indices3
25+
#defineNum_pg_proc_indices2
26+
#defineNum_pg_type_indices2
27+
#defineNum_pg_class_indices2
28+
#defineNum_pg_attrdef_indices1
29+
#defineNum_pg_relcheck_indices1
30+
#defineNum_pg_trigger_indices3
3131
#defineNum_pg_description_indices1
3232

3333

@@ -36,22 +36,22 @@
3636
*/
3737
#defineAccessMethodOpidIndex"pg_amop_opid_index"
3838
#defineAccessMethodStrategyIndex"pg_amop_strategy_index"
39-
#defineAttributeNameIndex"pg_attribute_relid_attnam_index"
40-
#defineAttributeNumIndex"pg_attribute_relid_attnum_index"
41-
#defineIndexRelidIndex"pg_index_indexrelid_index"
42-
#defineAttributeRelidIndex"pg_attribute_attrelid_index"
43-
#defineProcedureOidIndex"pg_proc_oid_index"
44-
#defineProcedureNameIndex"pg_proc_proname_narg_type_index"
45-
#defineTypeOidIndex"pg_type_oid_index"
46-
#defineTypeNameIndex"pg_type_typname_index"
47-
#defineClassOidIndex"pg_class_oid_index"
48-
#defineClassNameIndex"pg_class_relname_index"
49-
#defineAttrDefaultIndex"pg_attrdef_adrelid_index"
50-
#defineRelCheckIndex"pg_relcheck_rcrelid_index"
51-
#defineTriggerRelidIndex"pg_trigger_tgrelid_index"
52-
#defineTriggerConstrNameIndex"pg_trigger_tgconstrname_index"
53-
#defineTriggerConstrRelidIndex"pg_trigger_tgconstrrelid_index"
54-
#defineDescriptionObjIndex"pg_description_objoid_index"
39+
#defineAttributeNameIndex"pg_attribute_relid_attnam_index"
40+
#defineAttributeNumIndex"pg_attribute_relid_attnum_index"
41+
#defineIndexRelidIndex"pg_index_indexrelid_index"
42+
#defineAttributeRelidIndex"pg_attribute_attrelid_index"
43+
#defineProcedureOidIndex"pg_proc_oid_index"
44+
#defineProcedureNameIndex"pg_proc_proname_narg_type_index"
45+
#defineTypeOidIndex"pg_type_oid_index"
46+
#defineTypeNameIndex"pg_type_typname_index"
47+
#defineClassOidIndex"pg_class_oid_index"
48+
#defineClassNameIndex"pg_class_relname_index"
49+
#defineAttrDefaultIndex"pg_attrdef_adrelid_index"
50+
#defineRelCheckIndex"pg_relcheck_rcrelid_index"
51+
#defineTriggerRelidIndex"pg_trigger_tgrelid_index"
52+
#defineTriggerConstrNameIndex"pg_trigger_tgconstrname_index"
53+
#defineTriggerConstrRelidIndex"pg_trigger_tgconstrrelid_index"
54+
#defineDescriptionObjIndex"pg_description_objoid_index"
5555

5656
externchar*Name_pg_amop_indices[];
5757
externchar*Name_pg_attr_indices[];
@@ -75,25 +75,23 @@ extern char *IndexedCatalogNames[];
7575
externvoidCatalogOpenIndices(intnIndices,char**names,Relation*idescs);
7676
externvoidCatalogCloseIndices(intnIndices,Relation*idescs);
7777
externvoidCatalogIndexInsert(Relation*idescs,
78-
intnIndices,
79-
RelationheapRelation,
80-
HeapTupleheapTuple);
78+
intnIndices,
79+
RelationheapRelation,
80+
HeapTupleheapTuple);
8181
externboolCatalogHasIndex(char*catName,OidcatId);
8282

8383
externHeapTupleAccessMethodOpidIndexScan(RelationheapRelation,
84-
Oidclaid,Oidopopr,Oidopid);
84+
Oidclaid,Oidopopr,Oidopid);
8585
externHeapTupleAccessMethodStrategyIndexScan(RelationheapRelation,
86-
Oidopid,Oidclaid,int2opstrategy);
86+
Oidopid,Oidclaid,int2opstrategy);
8787
externHeapTupleAttributeNameIndexScan(RelationheapRelation,
88-
Oidrelid,
89-
char*attname);
88+
Oidrelid,char*attname);
9089
externHeapTupleAttributeNumIndexScan(RelationheapRelation,
91-
Oidrelid,
92-
AttrNumberattnum);
90+
Oidrelid,AttrNumberattnum);
9391
externHeapTupleIndexRelidIndexScan(RelationheapRelation,Oidrelid);
9492
externHeapTupleProcedureOidIndexScan(RelationheapRelation,OidprocId);
9593
externHeapTupleProcedureNameIndexScan(RelationheapRelation,
96-
char*procName,int2nargs,Oid*argTypes);
94+
char*procName,int2nargs,Oid*argTypes);
9795
externHeapTupleTypeOidIndexScan(RelationheapRelation,OidtypeId);
9896
externHeapTupleTypeNameIndexScan(RelationheapRelation,char*typeName);
9997
externHeapTupleClassNameIndexScan(RelationheapRelation,char*relName);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp