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

Commite4725ee

Browse files
committed
Makes it compile...still needs work
1 parent90113e2 commite4725ee

File tree

5 files changed

+27
-5
lines changed

5 files changed

+27
-5
lines changed

‎src/backend/catalog/heap.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.3 1996/11/03 23:27:01 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.4 1996/11/05 11:57:50 scrappy Exp $
1111
*
1212
* INTERFACE ROUTINES
1313
*heap_creatr()- Create an uncataloged heap relation
@@ -30,6 +30,9 @@
3030

3131
#include"postgres.h"
3232

33+
#include<catalog/heap.h>
34+
#include<catalog/pg_proc.h>
35+
3336
#include"parser/catalog_utils.h"
3437

3538
#include"access/heapam.h"

‎src/backend/catalog/index.c

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.5 1996/11/03 23:27:02 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.6 1996/11/05 11:57:52 scrappy Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -25,6 +25,10 @@
2525
*/
2626
#include"postgres.h"
2727

28+
#include<catalog/pg_proc.h>
29+
#include<storage/bufmgr.h>
30+
#include<fmgr.h>
31+
2832
#include"access/genam.h"
2933
#include"access/heapam.h"
3034
#include"utils/builtins.h"
@@ -60,6 +64,11 @@
6064
#include"optimizer/prep.h"
6165

6266
#include"access/istrat.h"
67+
#ifndefHAVE_MEMMOVE
68+
# include<regex/utils.h>
69+
#else
70+
# include<string.h>
71+
#endif
6372

6473
/*
6574
* macros used in guessing how many tuples are on a page.
@@ -1469,9 +1478,11 @@ DefaultBuild(Relation heapRelation,
14691478
Datum*datum;
14701479
char*nullv;
14711480
longreltuples,indtuples;
1481+
#ifndefOMIT_PARTIAL_INDEX
14721482
ExprContext*econtext;
14731483
TupleTabletupleTable;
14741484
TupleTableSlot*slot;
1485+
#endif
14751486
Node*predicate;
14761487
Node*oldPred;
14771488

‎src/backend/catalog/pg_operator.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.3 1996/11/03 23:27:06 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.4 1996/11/05 11:57:53 scrappy Exp $
1111
*
1212
* NOTES
1313
* these routines moved here from commands/define.c and somewhat cleaned up.
@@ -17,6 +17,9 @@
1717
#include<string.h>
1818
#include"postgres.h"
1919

20+
#include<catalog/pg_proc.h>
21+
#include<utils/syscache.h>
22+
2023
#include"access/heapam.h"
2124
#include"access/skey.h"
2225
#include"access/htup.h"

‎src/backend/catalog/pg_proc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.2 1996/11/03 23:27:07 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.3 1996/11/05 11:57:54 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include<string.h>
1515
#include"postgres.h"
16+
#include<utils/syscache.h>
17+
#include<catalog/pg_proc.h>
1618

1719
#include"access/heapam.h"
1820
#include"access/relscan.h"

‎src/backend/catalog/pg_type.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.2 1996/11/03 23:27:08 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.3 1996/11/05 11:57:55 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include<string.h>
1515
#include"postgres.h"
16+
#include<utils/syscache.h>
17+
#include<catalog/pg_proc.h>
18+
1619

1720
#include"access/heapam.h"
1821
#include"access/relscan.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp