Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d458a1c

Browse files
committed
Other then:
indextuple.c:159: warning: `bp' might be used uninitialized in this function this directory passes -Wall -Werror under FreeBSD
1 parent 597a1de commit d458a1c

File tree

7 files changed

+75
-7
lines changed

7 files changed

+75
-7
lines changed

src/backend/access/common/heaptuple.c

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.7 1996/10/20 08:31:26 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.8 1996/10/20 22:04:36 scrappy Exp $
1212
*
1313
* NOTES
1414
* The old interface functions have been converted to macros
@@ -45,6 +45,23 @@
4545
#include "access/strat.h"
4646
#include "utils/rel.h"
4747

48+
#include "utils/memutils.h"
49+
50+
#ifndef HAVE_MEMMOVE
51+
# include "regex/utils.h"
52+
#else
53+
# include <string.h>
54+
#endif
55+
56+
#include "access/tupmacs.h"
57+
58+
#include "utils/palloc.h"
59+
60+
#include <stdio.h>
61+
#include "storage/ipc.h"
62+
#include "storage/bufmgr.h"
63+
#include "access/transam.h"
64+
4865
/* this is so the sparcstation debugger works */
4966

5067
#if !defined(NO_ASSERT_CHECKING) && defined(sparc)

src/backend/access/common/heapvalid.c

Lines changed: 7 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/access/common/Attic/heapvalid.c,v 1.4 1996/10/20 08:31:28 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/heapvalid.c,v 1.5 1996/10/20 22:04:39 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -45,6 +45,12 @@
4545

4646
#include "utils/tqual.h"
4747

48+
#include "access/xact.h"
49+
50+
#include "fmgr.h"
51+
52+
#include "access/heaptuple.h"
53+
4854
/* ----------------
4955
* heap_keytest
5056
*

src/backend/access/common/indextuple.c

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.4 1996/10/20 08:31:29 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.5 1996/10/20 22:04:41 scrappy Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -29,6 +29,27 @@
2929

3030
#include "access/tupmacs.h"
3131

32+
#include <string.h>
33+
34+
#include "utils/palloc.h"
35+
36+
#include <time.h>
37+
#include "storage/fd.h"
38+
#include "catalog/pg_am.h"
39+
#include "catalog/pg_class.h"
40+
#include "nodes/nodes.h"
41+
#include "rewrite/prs2lock.h"
42+
#include "access/skey.h"
43+
#include "access/strat.h"
44+
#include "utils/rel.h"
45+
#include "utils/nabstime.h"
46+
#include "access/htup.h"
47+
#include "storage/itemptr.h"
48+
#include "utils/tqual.h"
49+
#include "storage/buf.h"
50+
#include "access/relscan.h"
51+
#include "access/heapam.h"
52+
3253
static Size IndexInfoFindDataOffset(unsigned short t_info);
3354

3455
/* ----------------------------------------------------------------

src/backend/access/common/indexvalid.c

Lines changed: 3 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/access/common/Attic/indexvalid.c,v 1.4 1996/10/20 08:31:31 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.5 1996/10/20 22:04:43 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -29,6 +29,8 @@
2929
#include "utils/nabstime.h"
3030
#include "access/htup.h"
3131

32+
#include "executor/execdebug.h"
33+
3234
/* ----------------------------------------------------------------
3335
* index scan key qualification code
3436
* ----------------------------------------------------------------

src/backend/access/common/printtup.c

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.4 1996/10/20 08:31:32 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.5 1996/10/20 22:04:45 scrappy Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -43,6 +43,16 @@
4343
#include "access/heaptuple.h" /* Prototypes */
4444
#include "fmgr.h" /* Prototypes */
4545

46+
#include <stdio.h>
47+
#include <sys/types.h>
48+
#include <netinet/in.h>
49+
#include "libpq/pqcomm.h"
50+
#include "libpq/libpq.h"
51+
52+
#include <stdio.h>
53+
54+
#include "utils/palloc.h"
55+
4656
/* ----------------------------------------------------------------
4757
* printtup / debugtup support
4858
* ----------------------------------------------------------------

src/backend/access/common/scankey.c

Lines changed: 3 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/access/common/scankey.c,v 1.3 1996/10/20 08:31:34 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.4 1996/10/20 22:04:47 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -17,6 +17,8 @@
1717
#include "access/attnum.h"
1818
#include "access/skey.h"
1919

20+
#include "fmgr.h"
21+
2022
/*
2123
* ScanKeyEntryIsLegal --
2224
* True iff the scan key entry is legal.

src/backend/access/common/tupdesc.c

Lines changed: 11 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/access/common/tupdesc.c,v 1.3 1996/10/20 08:31:35 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.4 1996/10/20 22:04:49 scrappy Exp $
1111
*
1212
* NOTES
1313
* some of the executor utility code such as "ExecTypeFromTL" should be
@@ -50,6 +50,16 @@
5050

5151
#include "utils/palloc.h"
5252

53+
#include <string.h>
54+
#ifndef HAVE_MEMMOVE
55+
# include "regex/utils.h"
56+
#endif
57+
58+
#include "utils/geo-decls.h"
59+
#include "utils/builtins.h"
60+
61+
#include <stdio.h>
62+
5363
/* ----------------------------------------------------------------
5464
* CreateTemplateTupleDesc
5565
*

0 commit comments

Comments
 (0)