Skip to content

Commit 1133b4c

Browse files
committed
Merge remote-tracking branch 'upstream/master' into shared_library
2 parents 95282aa + 8b49a60 commit 1133b4c

File tree

1,157 files changed

+131274
-155673
lines changed

Some content is hidden

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

1,157 files changed

+131274
-155673
lines changed

.dir-locals.el

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
;; see also src/tools/editors/emacs.samples for more complete settings
2+
3+
((c-mode . ((c-basic-offset . 4)
4+
(c-file-style . "bsd")
5+
(fill-column . 78)
6+
(indent-tabs-mode . t)
7+
(tab-width . 4)))
8+
(dsssl-mode . ((indent-tabs-mode . nil)))
9+
(nxml-mode . ((indent-tabs-mode . nil)))
10+
(perl-mode . ((perl-indent-level . 4)
11+
(perl-continued-statement-offset . 4)
12+
(perl-continued-brace-offset . 4)
13+
(perl-brace-offset . 0)
14+
(perl-brace-imaginary-offset . 0)
15+
(perl-label-offset . -2)
16+
(tab-width . 4)))
17+
(sgml-mode . ((fill-column . 78)
18+
(indent-tabs-mode . nil))))

.gitattributes

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
* whitespace=space-before-tab,trailing-space
2+
*.[chly] whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4
3+
*.dsl whitespace=space-before-tab,trailing-space,tab-in-indent
4+
*.patch -whitespace
5+
*.pl whitespace=space-before-tab,trailing-space,tabwidth=4
6+
*.po whitespace=space-before-tab,trailing-space,tab-in-indent,-blank-at-eof
7+
*.sgml whitespace=space-before-tab,trailing-space,tab-in-indent,-blank-at-eol
8+
*.x[ms]l whitespace=space-before-tab,trailing-space,tab-in-indent
9+
10+
# Avoid confusing ASCII underlines with leftover merge conflict markers
11+
README conflict-marker-size=32
12+
README.* conflict-marker-size=32
13+
14+
# Certain data files that contain special whitespace, and other special cases
15+
*.data -whitespace
16+
contrib/tsearch2/sql/tsearch2.sql whitespace=space-before-tab,blank-at-eof,-blank-at-eol
17+
doc/bug.template whitespace=space-before-tab,-blank-at-eof,blank-at-eol
18+
src/backend/catalog/sql_features.txt whitespace=space-before-tab,blank-at-eof,-blank-at-eol
19+
src/backend/tsearch/hunspell_sample.affix whitespace=-blank-at-eof
20+
21+
# Test output files that contain extra whitespace
22+
*.out -whitespace
23+
contrib/*/output/*.source -whitespace
24+
src/test/regress/output/*.source -whitespace
25+
src/interfaces/ecpg/test/expected/* -whitespace
26+
src/interfaces/libpq/test/expected.out whitespace=-blank-at-eof
27+
28+
# These files are maintained or generated elsewhere. We take them as is.
29+
configure -whitespace
30+
ppport.h -whitespace
31+
src/backend/regex/COPYRIGHT -whitespace
32+
src/backend/regex/re_syntax.n -whitespace
33+
src/backend/snowball/libstemmer/*.c -whitespace
34+
src/backend/utils/mb/Unicode/*-std.txt -whitespace
35+
src/include/snowball/libstemmer/* -whitespace

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010
*.dll
1111
*.a
1212
*.mo
13+
*.pot
1314
objfiles.txt
1415
.deps/
1516
*.gcno
1617
*.gcda
1718
*.gcov
1819
*.gcov.out
1920
lcov.info
21+
coverage/
2022
*.vcproj
2123
*.vcxproj
2224
win32ver.rc

GNUmakefile.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ $(call recurse,check-world,src/test src/pl src/interfaces/ecpg contrib,check)
7070

7171
$(call recurse,installcheck-world,src/test src/pl src/interfaces/ecpg contrib,installcheck)
7272

73-
$(call recurse,maintainer-check,doc src config contrib)
74-
7573
GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
7674
./config.status $@
7775

README.git

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ In a release or snapshot tarball of PostgreSQL, documentation files named
44
INSTALL and HISTORY will appear in this directory. However, these files are
55
not stored in git and so will not be present if you are using a git checkout.
66
If you are using git, you can view the most recent install instructions at:
7-
http://developer.postgresql.org/docs/postgres/installation.html
7+
http://www.postgresql.org/docs/devel/static/installation.html
88
and the current release notes at:
9-
http://developer.postgresql.org/docs/postgres/release.html
9+
http://www.postgresql.org/docs/devel/static/release.html
1010

1111
Users compiling from git will also need compatible versions of Bison, Flex,
1212
and Perl, as discussed in the install documentation. These programs are not

config/programs.m4

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ AC_DEFUN([PGAC_CHECK_GETTEXT],
197197
if test -z "$MSGFMT"; then
198198
AC_MSG_ERROR([msgfmt is required for NLS])
199199
fi
200+
AC_CACHE_CHECK([for msgfmt flags], pgac_cv_msgfmt_flags,
201+
[if test x"$MSGFMT" != x"" && "$MSGFMT" --version 2>&1 | grep "GNU" >/dev/null; then
202+
pgac_cv_msgfmt_flags=-c
203+
fi])
204+
AC_SUBST(MSGFMT_FLAGS, $pgac_cv_msgfmt_flags)
200205
AC_CHECK_PROGS(MSGMERGE, msgmerge)
201206
AC_CHECK_PROGS(XGETTEXT, xgettext)
202207
])# PGAC_CHECK_GETTEXT

0 commit comments

Comments
 (0)