Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit 6b0e52b

Browse files
author
Initial Greenplum code dump
committed
Import Greenplum source code.
1 parent 2f52d72 commit 6b0e52b

File tree

6,111 files changed

+2665122
-478430
lines changed

Some content is hidden

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

6,111 files changed

+2665122
-478430
lines changed

.gitignore

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Global excludes across all subdirectories
2+
*.o
3+
*.so
4+
*.so.[0-9]
5+
*.so.[0-9].[0-9]
6+
*.sl
7+
*.sl.[0-9]
8+
*.sl.[0-9].[0-9]
9+
*.dylib
10+
*.dll
11+
*.a
12+
*.mo
13+
objfiles.txt
14+
.deps/
15+
*.log
16+
*.vcproj
17+
*.gcno
18+
*.gcda
19+
*.gcov
20+
*.gcov.out
21+
lcov.info
22+
*.vcproj
23+
win32ver.rc
24+
*.exe
25+
lib*dll.defautom4te.cache
26+
**/test/*.t
27+
**/tags
28+
*.pyc
29+
30+
# Local excludes in root directory
31+
/GNUmakefile
32+
/config.log
33+
/config.status
34+
a.out.dSYM
35+
confdefs.h
36+
conftest.c
37+
conftest.err
38+
config.cache
39+
config.status.lineno
40+
autom4te.cache
41+
configure.lineno
42+
.config.log.swp
43+
Debug
44+
Release
45+
pgsql.sln
46+
cscope.*
47+
48+
# Added
49+
*.swp
50+
*.out

.gitmodules

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[submodule "gpAux/client"]
2+
path = gpAux/client
3+
url = ssh://git@stash.greenplum.com:2222/gpdb/clients.git
4+
branch = master
5+
[submodule "gpAux/extensions/plr/source"]
6+
path = gpAux/extensions/plr/source
7+
url = ssh://git@stash.eng.pivotal.io:2222/gpdb/plr.git
8+
branch = master
9+
[submodule "gpAux/extensions/tpch/source"]
10+
path = gpAux/extensions/tpch/source
11+
url = ssh://git@stash.eng.pivotal.io:2222/gpdb/tpch.git
12+
branch = master
13+
[submodule "gpAux/extensions/pgbouncer/source"]
14+
path = gpAux/extensions/pgbouncer/source
15+
url = ssh://git@stash.eng.pivotal.io:2222/gpdb/pgbouncer.git
16+
branch = master
17+
[submodule "gpAux/extensions/postgis-2.0.3/source"]
18+
path = gpAux/extensions/postgis-2.0.3/source
19+
url = ssh://git@stash.eng.pivotal.io:2222/gpdb/postgis.git
20+
branch = master
21+
[submodule "gpAux/addon"]
22+
path = gpAux/addon
23+
url = ssh://git@stash.eng.pivotal.io:2222/gpdb/addon.git
24+
branch = master
25+
[submodule "gpAux/extensions/gp_filedump"]
26+
path = gpAux/extensions/gp_filedump
27+
url = ssh://git@stash.eng.pivotal.io:2222/gpdb/gp_filedump.git
28+
branch = master
29+
[submodule "gpMgmt/bin/pythonSrc/ext"]
30+
path = gpMgmt/bin/pythonSrc/ext
31+
url = ssh://git@stash.eng.pivotal.io:2222/gpdb/pythonsrc-ext.git
32+
branch = master
33+
[submodule "gpAux/extensions/gpfdist/ext"]
34+
path = gpAux/extensions/gpfdist/ext
35+
url = ssh://git@stash.eng.pivotal.io:2222/gpdb/gpfdist-ext.git
36+
branch = master

COPYRIGHT

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
1+
Greenplum Database
2+
3+
Copyright (c) 2004-2015 Pivotal Software, Inc.
4+
5+
All Rights Reserved.
6+
7+
Greenplum Database is licensed under the Apache License Version 2.0
8+
(see LICENSE & NOTICE) and is based on the PostgreSQL Database
9+
Management System.
10+
11+
PostgreSQL is released under the PostgreSQL License. The full text of
12+
the PostgreSQL License is provided below:
13+
114
PostgreSQL Database Management System
215
(formerly known as Postgres, then as Postgres95)
316

4-
Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
17+
Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
518

619
Portions Copyright (c) 1994, The Regents of the University of California
720

GNUmakefile.in

+67-19
Original file line numberDiff line numberDiff line change
@@ -8,43 +8,90 @@ subdir =
88
top_builddir = .
99
include $(top_builddir)/src/Makefile.global
1010

11+
1112
all:
12-
$(MAKE) -C doc all
13+
# $(MAKE) -C doc all
1314
$(MAKE) -C src all
1415
$(MAKE) -C config all
15-
@echo "All of PostgreSQL successfully made. Ready to install."
16+
$(MAKE) -C contrib/xlogdump all
17+
$(MAKE) -C contrib/changetrackingdump all
18+
$(MAKE) -C contrib/formatter all
19+
$(MAKE) -C contrib/formatter_fixedwidth all
20+
$(MAKE) -C contrib/fuzzystrmatch all
21+
$(MAKE) -C contrib/extprotocol all
22+
$(MAKE) -C contrib/gp_sparse_vector all
23+
$(MAKE) -C contrib/gp_distribution_policy all
24+
$(MAKE) -C contrib/gp_internal_tools all
25+
$(MAKE) -C contrib/gp_cancel_query all
26+
$(MAKE) -C contrib/indexscan all
27+
@echo "All of Greenplum Database successfully made. Ready to install."
1628

1729
install:
18-
$(MAKE) -C doc $@
30+
# $(MAKE) -C doc $@
1931
$(MAKE) -C src $@
2032
$(MAKE) -C config $@
21-
@echo "PostgreSQL installation complete."
33+
$(MAKE) -C contrib/xlogdump $@
34+
$(MAKE) -C contrib/changetrackingdump $@
35+
$(MAKE) -C contrib/formatter $@
36+
$(MAKE) -C contrib/formatter_fixedwidth $@
37+
$(MAKE) -C contrib/fuzzystrmatch $@
38+
$(MAKE) -C contrib/extprotocol $@
39+
$(MAKE) -C contrib/gp_sparse_vector $@
40+
$(MAKE) -C contrib/gp_distribution_policy $@
41+
$(MAKE) -C contrib/gp_internal_tools $@
42+
$(MAKE) -C contrib/gp_cancel_query $@
43+
$(MAKE) -C contrib/indexscan $@
44+
$(MAKE) -C gpMgmt $@
45+
46+
@echo "Greenplum Database installation complete."
2247

2348
installdirs uninstall:
24-
$(MAKE) -C doc $@
49+
# $(MAKE) -C doc $@
2550
$(MAKE) -C src $@
2651
$(MAKE) -C config $@
52+
$(MAKE) -C contrib/xlogdump $@
53+
$(MAKE) -C contrib/changetrackingdump $@
54+
$(MAKE) -C contrib/formatter $@
55+
$(MAKE) -C contrib/formatter_fixedwidth $@
56+
$(MAKE) -C contrib/fuzzystrmatch $@
57+
$(MAKE) -C contrib/extprotocol $@
58+
$(MAKE) -C contrib/gp_sparse_vector $@
59+
$(MAKE) -C contrib/gp_distribution_policy $@
60+
$(MAKE) -C contrib/gp_internal_tools $@
61+
$(MAKE) -C contrib/gp_cancel_query $@
62+
$(MAKE) -C contrib/indexscan $@
2763

2864
distprep:
29-
$(MAKE) -C doc $@
65+
# $(MAKE) -C doc $@
3066
$(MAKE) -C src $@
3167
$(MAKE) -C config $@
3268
$(MAKE) -C contrib $@
3369

3470
# clean, distclean, etc should apply to contrib too, even though
3571
# it's not built by default
3672
clean:
37-
$(MAKE) -C doc $@
73+
# $(MAKE) -C doc $@
3874
$(MAKE) -C contrib $@
3975
$(MAKE) -C src $@
4076
$(MAKE) -C config $@
77+
$(MAKE) -C contrib/xlogdump $@
78+
$(MAKE) -C contrib/changetrackingdump $@
79+
$(MAKE) -C contrib/formatter $@
80+
$(MAKE) -C contrib/formatter_fixedwidth $@
81+
$(MAKE) -C contrib/fuzzystrmatch $@
82+
$(MAKE) -C contrib/extprotocol $@
83+
$(MAKE) -C contrib/gp_sparse_vector $@
84+
$(MAKE) -C contrib/gp_distribution_policy $@
85+
$(MAKE) -C contrib/gp_internal_tools $@
86+
$(MAKE) -C contrib/gp_cancel_query $@
87+
$(MAKE) -C contrib/indexscan $@
4188
# Garbage from autoconf:
4289
@rm -rf autom4te.cache/
4390

4491
# Important: distclean `src' last, otherwise Makefile.global
4592
# will be gone too soon.
4693
distclean maintainer-clean:
47-
-$(MAKE) -C doc $@
94+
# -$(MAKE) -C doc $@
4895
-$(MAKE) -C contrib $@
4996
-$(MAKE) -C config $@
5097
-$(MAKE) -C src $@
@@ -54,7 +101,7 @@ distclean maintainer-clean:
54101

55102
check: all
56103

57-
check installcheck installcheck-parallel:
104+
check installcheck installcheck-parallel installcheck-good:
58105
$(MAKE) -C src/test $@
59106

60107
GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
@@ -63,9 +110,9 @@ GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
63110

64111
##########################################################################
65112

66-
distdir := postgresql-$(VERSION)
67-
dummy := =install=
68-
garbage := =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
113+
distdir = postgresql-$(VERSION)
114+
dummy = =install=
115+
garbage = =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
69116

70117
dist: $(distdir).tar.gz
71118
ifeq ($(split-dist), yes)
@@ -77,11 +124,12 @@ dist:
77124
$(distdir).tar: distdir
78125
$(TAR) chf $@ $(distdir)
79126

80-
opt_files := \
127+
opt_files = \
81128
src/tools src/tutorial \
82129
$(addprefix src/pl/, plperl plpython tcl)
83130

84-
docs_files := doc/postgres.tar.gz doc/src doc/TODO.detail
131+
#docs_files = doc/postgres.tar.gz doc/src doc/TODO.detail
132+
docs_files :=
85133

86134
postgresql-base-$(VERSION).tar: distdir
87135
$(TAR) -c $(addprefix --exclude $(distdir)/, $(docs_files) $(opt_files) src/test) \
@@ -108,12 +156,12 @@ distdir:
108156
fi || exit; \
109157
done
110158
$(MAKE) -C $(distdir) distprep
111-
$(MAKE) -C $(distdir)/doc/src/sgml/ HISTORY INSTALL regress_README
112-
cp $(distdir)/doc/src/sgml/HISTORY $(distdir)/
113-
cp $(distdir)/doc/src/sgml/INSTALL $(distdir)/
114-
cp $(distdir)/doc/src/sgml/regress_README $(distdir)/src/test/regress/README
159+
#$(MAKE) -C $(distdir)/doc/src/sgml/ HISTORY INSTALL regress_README
160+
#cp $(distdir)/doc/src/sgml/HISTORY $(distdir)/
161+
#cp $(distdir)/doc/src/sgml/INSTALL $(distdir)/
162+
#cp $(distdir)/doc/src/sgml/regress_README $(distdir)/src/test/regress/README
115163
$(MAKE) -C $(distdir) distclean
116-
rm -f $(distdir)/README.CVS
164+
-rm -f $(distdir)/README.CVS
117165

118166
distcheck: $(distdir).tar.gz
119167
-rm -rf $(dummy)

0 commit comments

Comments
 (0)