Skip to content

Commit 7730888

Browse files
committed
More cleanup
1 parent 4d5aa34 commit 7730888

35 files changed

+84
-80
lines changed

doc/TODO

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ PARSER
3737
* Unique index on base column not honored on inserts from inherited table
3838
INSERT INTO inherit_table (unique_index_col) VALUES (dup) should fail
3939
* CREATE TABLE x AS SELECT 1 UNION SELECT 2 fails
40+
* CREATE TABLE test(col char(2) DEFAULT user) fails in length restriction
4041

4142
VIEWS
4243

src/include/access/genam.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: genam.h,v 1.19 1999/07/15 23:03:33 momjian Exp $
9+
* $Id: genam.h,v 1.20 1999/07/16 17:07:25 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef GENAM_H
1414
#define GENAM_H
1515

16-
#include "access/sdir.h"
1716
#include "access/funcindex.h"
18-
#include "access/relscan.h"
1917
#include "access/itup.h"
18+
#include "access/relscan.h"
19+
#include "access/sdir.h"
2020

2121
/* ----------------
2222
* generalized index_ interface routines

src/include/access/hash.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: hash.h,v 1.26 1999/07/15 23:03:34 momjian Exp $
9+
* $Id: hash.h,v 1.27 1999/07/16 17:07:26 momjian Exp $
1010
*
1111
* NOTES
1212
* modeled after Margo Seltzer's hash implementation for unix.
@@ -16,10 +16,10 @@
1616
#ifndef HASH_H
1717
#define HASH_H
1818

19-
#include "access/sdir.h"
2019
#include "access/funcindex.h"
21-
#include "access/relscan.h"
2220
#include "access/itup.h"
21+
#include "access/relscan.h"
22+
#include "access/sdir.h"
2323
#include "utils/int8.h"
2424

2525
/*

src/include/access/heapam.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: heapam.h,v 1.44 1999/07/15 15:20:53 momjian Exp $
9+
* $Id: heapam.h,v 1.45 1999/07/16 17:07:26 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef HEAPAM_H
1414
#define HEAPAM_H
1515

1616
#include <time.h>
17-
#include "access/tupmacs.h"
1817
#include "access/htup.h"
1918
#include "access/relscan.h"
19+
#include "access/tupmacs.h"
2020
#include "storage/block.h"
2121
#include "utils/rel.h"
2222
#include "utils/tqual.h"

src/include/access/iqual.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: iqual.h,v 1.12 1999/07/15 23:03:34 momjian Exp $
9+
* $Id: iqual.h,v 1.13 1999/07/16 17:07:27 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef IQUAL_H
1414
#define IQUAL_H
1515

16-
#include "access/skey.h"
1716
#include "access/itup.h"
17+
#include "access/skey.h"
1818

1919

2020
/* ----------------

src/include/access/itup.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: itup.h,v 1.19 1999/07/15 23:03:35 momjian Exp $
9+
* $Id: itup.h,v 1.20 1999/07/16 17:07:27 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef ITUP_H
1414
#define ITUP_H
1515

1616
#include "access/ibit.h"
17-
#include "access/tupmacs.h"
1817
#include "access/tupdesc.h"
18+
#include "access/tupmacs.h"
1919
#include "storage/itemptr.h"
2020

2121
#define MaxIndexAttributeNumber 7

src/include/access/nbtree.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: nbtree.h,v 1.29 1999/07/15 23:03:35 momjian Exp $
9+
* $Id: nbtree.h,v 1.30 1999/07/16 17:07:27 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef NBTREE_H
1414
#define NBTREE_H
1515

16-
#include "access/sdir.h"
17-
#include "access/relscan.h"
1816
#include "access/funcindex.h"
1917
#include "access/itup.h"
18+
#include "access/relscan.h"
19+
#include "access/sdir.h"
2020

2121
/*
2222
* BTPageOpaqueData -- At the end of every page, we store a pointer

src/include/access/rtscan.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: rtscan.h,v 1.7 1999/07/15 23:03:37 momjian Exp $
9+
* $Id: rtscan.h,v 1.8 1999/07/16 17:07:27 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef RTSCAN_H
1414
#define RTSCAN_H
1515

16-
#include "utils/rel.h"
1716
#include "storage/block.h"
1817
#include "storage/off.h"
18+
#include "utils/rel.h"
1919

2020
void rtadjscans(Relation r, int op, BlockNumber blkno, OffsetNumber offnum);
2121

src/include/access/tupdesc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: tupdesc.h,v 1.23 1999/07/15 23:03:38 momjian Exp $
9+
* $Id: tupdesc.h,v 1.24 1999/07/16 17:07:28 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef TUPDESC_H
1414
#define TUPDESC_H
1515

16-
#include "nodes/pg_list.h"
1716
#include "access/attnum.h"
1817
#include "catalog/pg_attribute.h"
18+
#include "nodes/pg_list.h"
1919

2020

2121
typedef struct attrDefault

src/include/access/xact.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: xact.h,v 1.22 1999/07/15 23:03:38 momjian Exp $
9+
* $Id: xact.h,v 1.23 1999/07/16 17:07:28 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313
#ifndef XACT_H
1414
#define XACT_H
1515

16-
#include "utils/nabstime.h"
1716
#include "access/transam.h"
17+
#include "utils/nabstime.h"
1818

1919
/* ----------------
2020
* transaction state structure

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy