Skip to content

Commit a71802e

Browse files
committed
Final cleanup.
1 parent 9b645d4 commit a71802e

File tree

210 files changed

+804
-878
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+804
-878
lines changed

src/backend/access/common/heaptuple.c

Lines changed: 2 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.55 1999/07/15 23:02:51 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.56 1999/07/16 04:58:21 momjian Exp $
1212
*
1313
* NOTES
1414
* The old interface functions have been converted to macros
@@ -23,6 +23,7 @@
2323
#include "catalog/pg_type.h"
2424

2525
#ifndef HAVE_MEMMOVE
26+
#include <regex/utils.h>
2627
#else
2728
#include <string.h>
2829
#endif

src/backend/access/common/indextuple.c

Lines changed: 2 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.35 1999/07/15 23:02:51 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.36 1999/07/16 04:58:22 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -20,6 +20,7 @@
2020
#include "catalog/pg_type.h"
2121

2222
#ifndef HAVE_MEMMOVE
23+
#include <regex/utils.h>
2324
#else
2425
#include <string.h>
2526
#endif

src/backend/access/common/tupdesc.c

Lines changed: 2 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.52 1999/07/15 23:02:51 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.53 1999/07/16 04:58:22 momjian Exp $
1111
*
1212
* NOTES
1313
* some of the executor utility code such as "ExecTypeFromTL" should be
@@ -27,6 +27,7 @@
2727
#include "utils/syscache.h"
2828

2929
#ifndef HAVE_MEMMOVE
30+
#include <regex/utils.h>
3031
#else
3132
#include <string.h>
3233
#endif

src/backend/access/gist/gist.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@
1313

1414
#include "postgres.h"
1515

16-
#include "catalog/pg_index.h"
1716
#include "access/genam.h"
1817
#include "access/gist.h"
1918
#include "access/gistscan.h"
2019
#include "access/heapam.h"
2120
#include "catalog/index.h"
21+
#include "catalog/pg_index.h"
2222
#include "executor/executor.h"
2323
#include "utils/syscache.h"
2424

2525
#ifndef HAVE_MEMMOVE
26+
#include <regex/utils.h>
2627
#else
2728
#include <string.h>
2829
#endif

src/backend/access/gist/gistget.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "executor/execdebug.h"
1818

1919
#ifndef HAVE_MEMMOVE
20+
#include <regex/utils.h>
2021
#else
2122
#include <string.h>
2223
#endif

src/backend/access/gist/gistscan.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212

1313
#include "postgres.h"
1414

15+
#include "access/genam.h"
1516
#include "access/gist.h"
1617
#include "access/gistscan.h"
17-
#include "access/genam.h"
1818

1919
#ifndef HAVE_MEMMOVE
20+
#include <regex/utils.h>
2021
#else
2122
#include <string.h>
2223
#endif

src/backend/access/hash/hash.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.28 1999/07/15 23:02:54 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.29 1999/07/16 04:58:24 momjian Exp $
1111
*
1212
* NOTES
1313
* This file contains only the public interface routines.
@@ -17,14 +17,15 @@
1717

1818
#include "postgres.h"
1919

20+
#include "access/genam.h"
2021
#include "access/hash.h"
21-
#include "executor/executor.h"
2222
#include "access/heapam.h"
23-
#include "access/genam.h"
2423
#include "catalog/index.h"
24+
#include "executor/executor.h"
2525
#include "miscadmin.h"
2626

2727
#ifndef HAVE_MEMMOVE
28+
#include <regex/utils.h>
2829
#else
2930
#include <string.h>
3031
#endif

src/backend/access/hash/hashovfl.c

Lines changed: 2 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/hash/hashovfl.c,v 1.22 1999/07/15 23:02:55 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.23 1999/07/16 04:58:25 momjian Exp $
1111
*
1212
* NOTES
1313
* Overflow pages look like ordinary relation pages.
@@ -19,6 +19,7 @@
1919
#include "access/hash.h"
2020

2121
#ifndef HAVE_MEMMOVE
22+
#include <regex/utils.h>
2223
#else
2324
#include <string.h>
2425
#endif

src/backend/access/hash/hashpage.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.22 1999/07/15 23:02:55 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.23 1999/07/16 04:58:25 momjian Exp $
1111
*
1212
* NOTES
1313
* Postgres hash pages look like ordinary relation pages. The opaque
@@ -25,11 +25,12 @@
2525

2626
#include "postgres.h"
2727

28+
#include "access/genam.h"
2829
#include "access/hash.h"
2930
#include "miscadmin.h"
30-
#include "access/genam.h"
3131

3232
#ifndef HAVE_MEMMOVE
33+
#include <regex/utils.h>
3334
#else
3435
#include <string.h>
3536
#endif

src/backend/access/hash/hashsearch.c

Lines changed: 2 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/hash/hashsearch.c,v 1.19 1999/07/15 23:02:55 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.20 1999/07/16 04:58:25 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -17,6 +17,7 @@
1717
#include "access/hash.h"
1818

1919
#ifndef HAVE_MEMMOVE
20+
#include <regex/utils.h>
2021
#else
2122
#include <string.h>
2223
#endif

src/backend/access/hash/hashutil.c

Lines changed: 2 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/hash/hashutil.c,v 1.19 1999/07/15 23:02:56 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.20 1999/07/16 04:58:25 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -18,6 +18,7 @@
1818
#include "access/iqual.h"
1919

2020
#ifndef HAVE_MEMMOVE
21+
#include <regex/utils.h>
2122
#else
2223
#include <string.h>
2324
#endif

src/backend/access/heap/heapam.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.50 1999/07/15 23:02:57 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.51 1999/07/16 04:58:26 momjian Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -76,16 +76,17 @@
7676
#include "postgres.h"
7777

7878
#include "access/heapam.h"
79-
#include "miscadmin.h"
80-
#include "utils/relcache.h"
81-
#include "access/valid.h"
8279
#include "access/hio.h"
83-
#include "storage/smgr.h"
80+
#include "access/valid.h"
8481
#include "catalog/catalog.h"
85-
#include "utils/inval.h"
82+
#include "miscadmin.h"
83+
#include "storage/smgr.h"
8684
#include "utils/builtins.h"
85+
#include "utils/inval.h"
86+
#include "utils/relcache.h"
8787

8888
#ifndef HAVE_MEMMOVE
89+
#include <regex/utils.h>
8990
#else
9091
#include <string.h>
9192
#endif

src/backend/access/heap/hio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Id: hio.c,v 1.24 1999/07/15 23:02:57 momjian Exp $
10+
* $Id: hio.c,v 1.25 1999/07/16 04:58:27 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
1616

17-
#include "access/hio.h"
1817
#include "access/heapam.h"
18+
#include "access/hio.h"
1919

2020
/*
2121
* amputunique - place tuple at tid

src/backend/access/heap/stats.c

Lines changed: 2 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/heap/Attic/stats.c,v 1.19 1999/07/15 23:02:58 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.20 1999/07/16 04:58:27 momjian Exp $
1111
*
1212
* NOTES
1313
* initam should be moved someplace else.
@@ -23,6 +23,7 @@
2323
#include "access/heapam.h"
2424

2525
#ifndef HAVE_MEMMOVE
26+
#include <regex/utils.h>
2627
#else
2728
#include <string.h>
2829
#endif

src/backend/access/index/genam.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.19 1999/07/15 23:02:58 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.20 1999/07/16 04:58:27 momjian Exp $
1111
*
1212
* NOTES
1313
* many of the old access method routines have been turned into
@@ -45,10 +45,10 @@
4545
*/
4646

4747
#include "postgres.h"
48-
4948
#include "access/genam.h"
5049

5150
#ifndef HAVE_MEMMOVE
51+
#include <regex/utils.h>
5252
#else
5353
#include <string.h>
5454
#endif

src/backend/access/index/indexam.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.34 1999/07/15 23:02:59 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.35 1999/07/16 04:58:28 momjian Exp $
1111
*
1212
* INTERFACE ROUTINES
1313
* index_open - open an index relation by relationId
@@ -66,8 +66,8 @@
6666
#include "postgres.h"
6767

6868
#include "access/genam.h"
69-
#include "utils/relcache.h"
7069
#include "access/heapam.h"
70+
#include "utils/relcache.h"
7171

7272
/* ----------------
7373
* undefine macros we aren't going to use that would otherwise

src/backend/access/index/istrat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.34 1999/07/15 22:38:44 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.35 1999/07/16 04:58:28 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
1515

1616
#include "postgres.h"
1717

18-
#include "miscadmin.h"
1918
#include "access/heapam.h"
2019
#include "access/istrat.h"
2120
#include "catalog/catname.h"
2221
#include "catalog/pg_amop.h"
2322
#include "catalog/pg_amproc.h"
2423
#include "catalog/pg_index.h"
2524
#include "catalog/pg_operator.h"
25+
#include "miscadmin.h"
2626
#include "utils/syscache.h"
2727

2828
#ifdef USE_ASSERT_CHECKING

src/backend/access/nbtree/nbtinsert.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.46 1999/07/15 23:03:00 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.47 1999/07/16 04:58:29 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414

1515
#include "postgres.h"
1616

17-
#include "access/nbtree.h"
1817
#include "access/heapam.h"
18+
#include "access/nbtree.h"
1919

2020
#ifndef HAVE_MEMMOVE
21+
#include <regex/utils.h>
2122
#else
2223
#include <string.h>
2324
#endif

src/backend/access/nbtree/nbtpage.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.28 1999/07/15 23:03:00 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.29 1999/07/16 04:58:29 momjian Exp $
1212
*
1313
* NOTES
1414
* Postgres btree pages look like ordinary relation pages. The opaque
@@ -23,15 +23,15 @@
2323
#include <time.h>
2424

2525
#include "postgres.h"
26-
27-
#include "access/nbtree.h"
28-
#include "miscadmin.h"
29-
3026
#ifndef HAVE_MEMMOVE
27+
#include <regex/utils.h>
3128
#else
3229
#include <string.h>
3330
#endif
3431

32+
#include "access/nbtree.h"
33+
#include "miscadmin.h"
34+
3535
#define BTREE_METAPAGE 0
3636
#define BTREE_MAGIC 0x053162
3737

0 commit comments

Comments
 (0)