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

Commit 9cab405

Browse files
committed
Merge branch 'PGPROEE10' into PGPROEE10_MULTIMASTER
2 parents 83fa81f + dc3beaf commit 9cab405

File tree

735 files changed

+120408
-16228
lines changed

Some content is hidden

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

735 files changed

+120408
-16228
lines changed

configure

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for PostgreSQL 10.1.
3+
# Generated by GNU Autoconf 2.69 for PostgreSQL 10.3.
44
#
55
# Report bugs to <bugs@postgrespro.ru>.
66
#
@@ -11,8 +11,8 @@
1111
# This configure script is free software; the Free Software Foundation
1212
# gives unlimited permission to copy, distribute and modify it.
1313
#
14-
# Copyright (c) 1996-2017, PostgreSQL Global Development Group
15-
# Copyright (c) 2015-2017, Postgres Professional
14+
# Copyright (c) 1996-2018, PostgreSQL Global Development Group
15+
# Copyright (c) 2015-2018, Postgres Professional
1616
## -------------------- ##
1717
## M4sh Initialization. ##
1818
## -------------------- ##
@@ -583,8 +583,8 @@ MAKEFLAGS=
583583
# Identity of this package.
584584
PACKAGE_NAME='PostgreSQL'
585585
PACKAGE_TARNAME='postgrespro'
586-
PACKAGE_VERSION='10.1'
587-
PACKAGE_STRING='PostgreSQL 10.1'
586+
PACKAGE_VERSION='10.3'
587+
PACKAGE_STRING='PostgreSQL 10.3'
588588
PACKAGE_BUGREPORT='bugs@postgrespro.ru'
589589
PACKAGE_URL=''
590590

@@ -627,6 +627,7 @@ ac_includes_default="\
627627
#endif"
628628

629629
ac_subst_vars='LTLIBOBJS
630+
PROJECT_NAME
630631
PRODUCT_NAME
631632
PGPRO_VERSION
632633
vpath_build
@@ -763,6 +764,7 @@ build_os
763764
build_vendor
764765
build_cpu
765766
build
767+
PGPRO_EDN
766768
PGPRO_EDITION
767769
PGPRO_PACKAGE_NAME
768770
PG_MAJORVERSION
@@ -1429,7 +1431,7 @@ if test "$ac_init_help" = "long"; then
14291431
# Omit some internal or obsolete options to make the list less imposing.
14301432
# This message is too long to be a string in the A/UX 3.1 sh.
14311433
cat <<_ACEOF
1432-
\`configure' configures PostgreSQL 10.1 to adapt to many kinds of systems.
1434+
\`configure' configures PostgreSQL 10.3 to adapt to many kinds of systems.
14331435
14341436
Usage: $0 [OPTION]... [VAR=VALUE]...
14351437
@@ -1495,7 +1497,7 @@ fi
14951497

14961498
if test -n "$ac_init_help"; then
14971499
case $ac_init_help in
1498-
short | recursive ) echo "Configuration of PostgreSQL 10.1:";;
1500+
short | recursive ) echo "Configuration of PostgreSQL 10.3:";;
14991501
esac
15001502
cat <<\_ACEOF
15011503
@@ -1656,15 +1658,15 @@ fi
16561658
test -n "$ac_init_help" && exit $ac_status
16571659
if $ac_init_version; then
16581660
cat <<\_ACEOF
1659-
PostgreSQL configure 10.1
1661+
PostgreSQL configure 10.3
16601662
generated by GNU Autoconf 2.69
16611663
16621664
Copyright (C) 2012 Free Software Foundation, Inc.
16631665
This configure script is free software; the Free Software Foundation
16641666
gives unlimited permission to copy, distribute and modify it.
16651667
1666-
Copyright (c) 1996-2017, PostgreSQL Global Development Group
1667-
Copyright (c) 2015-2017, Postgres Professional
1668+
Copyright (c) 1996-2018, PostgreSQL Global Development Group
1669+
Copyright (c) 2015-2018, Postgres Professional
16681670
_ACEOF
16691671
exit
16701672
fi
@@ -2368,7 +2370,7 @@ cat >config.log <<_ACEOF
23682370
This file contains any messages produced by compilers while
23692371
running configure, to aid debugging if configure makes a mistake.
23702372
2371-
It was created by PostgreSQL $as_me 10.1, which was
2373+
It was created by PostgreSQL $as_me 10.3, which was
23722374
generated by GNU Autoconf 2.69. Invocation command line was
23732375
23742376
$ $0 $@
@@ -2785,10 +2787,14 @@ else
27852787
fi
27862788

27872789

2790+
27882791
PGPRO_VERSION="$PACKAGE_VERSION.1"
27892792
PGPRO_PACKAGE_NAME="PostgresPro"
27902793
PGPRO_EDITION="enterprise"
2794+
PGPRO_EDN="ent"
27912795
PRODUCT_NAME="Postgres Pro Enterprise"
2796+
PROJECT_NAME="Postgres Pro"
2797+
27922798

27932799

27942800

@@ -2807,6 +2813,11 @@ cat >>confdefs.h <<_ACEOF
28072813
_ACEOF
28082814

28092815

2816+
cat >>confdefs.h <<_ACEOF
2817+
#define PGPRO_EDN "$PGPRO_EDN"
2818+
_ACEOF
2819+
2820+
28102821
cat >>confdefs.h <<_ACEOF
28112822
#define PGPRO_VERSION "$PGPRO_VERSION"
28122823
_ACEOF
@@ -17187,6 +17198,8 @@ fi
1718717198

1718817199

1718917200

17201+
17202+
1719017203
ac_config_files="$ac_config_files GNUmakefile src/Makefile.global"
1719117204

1719217205

@@ -17714,7 +17727,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1771417727
# report actual input values of CONFIG_FILES etc. instead of their
1771517728
# values after options handling.
1771617729
ac_log="
17717-
This file was extended by PostgreSQL $as_me 10.1, which was
17730+
This file was extended by PostgreSQL $as_me 10.3, which was
1771817731
generated by GNU Autoconf 2.69. Invocation command line was
1771917732
1772017733
CONFIG_FILES = $CONFIG_FILES
@@ -17784,7 +17797,7 @@ _ACEOF
1778417797
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1778517798
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1778617799
ac_cs_version="\\
17787-
PostgreSQL config.status 10.1
17800+
PostgreSQL config.status 10.3
1778817801
configured by $0, generated by GNU Autoconf 2.69,
1778917802
with options \\"\$ac_cs_config\\"
1779017803

configure.in

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ dnl Read the Autoconf manual for details.
1717
dnl
1818
m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
1919

20-
AC_INIT([PostgreSQL], [10.1], [bugs@postgrespro.ru], [postgrespro])
20+
AC_INIT([PostgreSQL], [10.3], [bugs@postgrespro.ru], [postgrespro])
2121
PACKAGE_TARNAME=postgrespro-enterprise
2222

2323
m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
2424
Untested combinations of 'autoconf' and PostgreSQL versions are not
2525
recommended. You can remove the check from 'configure.in' but it is then
2626
your responsibility whether the result works or not.])])
27-
AC_COPYRIGHT([Copyright (c) 1996-2017, PostgreSQL Global Development Group
28-
Copyright (c) 2015-2017, Postgres Professional])
27+
AC_COPYRIGHT([Copyright (c) 1996-2018, PostgreSQL Global Development Group
28+
Copyright (c) 2015-2018, Postgres Professional])
2929
AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
3030
AC_CONFIG_AUX_DIR(config)
3131
AC_PREFIX_DEFAULT(/usr/local/pgsql)
@@ -38,15 +38,20 @@ AC_DEFINE_UNQUOTED(PG_MAJORVERSION, "$PG_MAJORVERSION", [PostgreSQL major versio
3838
PGAC_ARG_REQ(with, extra-version, [STRING], [append STRING to version],
3939
[PG_VERSION="$PACKAGE_VERSION$withval"],
4040
[PG_VERSION="$PACKAGE_VERSION"])
41+
4142
PGPRO_VERSION="$PACKAGE_VERSION.1"
4243
PGPRO_PACKAGE_NAME="PostgresPro"
4344
PGPRO_EDITION="enterprise"
45+
PGPRO_EDN="ent"
4446
PRODUCT_NAME="Postgres Pro Enterprise"
47+
PROJECT_NAME="Postgres Pro"
4548
AC_SUBST(PGPRO_PACKAGE_NAME)
4649
AC_SUBST(PGPRO_EDITION)
50+
AC_SUBST(PGPRO_EDN)
4751
AC_DEFINE_UNQUOTED(PG_VERSION, "$PG_VERSION", [PostgreSQL version as a string])
4852
AC_DEFINE_UNQUOTED(PGPRO_PACKAGE_NAME, "$PGPRO_PACKAGE_NAME", [PostgresPro name as a string])
4953
AC_DEFINE_UNQUOTED(PGPRO_EDITION,"$PGPRO_EDITION",[PostgresPro edition])
54+
AC_DEFINE_UNQUOTED(PGPRO_EDN,"$PGPRO_EDN",[PostgresPro edition abbreviated])
5055
AC_DEFINE_UNQUOTED(PGPRO_VERSION, "$PGPRO_VERSION", [PostgresPro
5156
version as a string])
5257

@@ -2277,6 +2282,8 @@ AC_SUBST(PGPRO_VERSION)
22772282

22782283
AC_SUBST(PRODUCT_NAME)
22792284

2285+
AC_SUBST(PROJECT_NAME)
2286+
22802287
AC_CONFIG_FILES([GNUmakefile src/Makefile.global])
22812288

22822289
AC_CONFIG_LINKS([

contrib/auto_explain/auto_explain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ _PG_init(void)
7878
"Zero prints all plans. -1 turns this feature off.",
7979
&auto_explain_log_min_duration,
8080
-1,
81-
-1, INT_MAX / 1000,
81+
-1, INT_MAX,
8282
PGC_SUSET,
8383
GUC_UNIT_MS,
8484
NULL,

contrib/dump_stat/.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
/results/
2-
/tmp_check/
1+
log/
2+
results/
3+
tmp_check/
4+
regression*
5+
dump_stat--?.?.sql

contrib/dump_stat/Makefile

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ MODULE_big = dump_stat
44
OBJS = anyarray_elemtype.o $(WIN32RES)
55

66
EXTENSION = dump_stat
7-
DATA = dump_stat--1.0.sql
7+
EXTVERSION = 1.1
88
PGFILEDESC = "dump_stat - move pg_statistic to new instance of PostgreSQL"
99

10+
11+
DATA = dump_stat--1.0.sql dump_stat--1.0--1.1.sql
12+
DATA_built = dump_stat--$(EXTVERSION).sql
13+
14+
REGRESS = dump_stat
15+
1016
ifdef USE_PGXS
1117
PG_CONFIG = pg_config
1218
PGXS := $(shell $(PG_CONFIG) --pgxs)
@@ -18,7 +24,12 @@ include $(top_builddir)/src/Makefile.global
1824
include $(top_srcdir)/contrib/contrib-global.mk
1925
endif
2026

27+
dump_stat--$(EXTVERSION).sql: $(DATA)
28+
cat $^ > $@
29+
2130
temp-install: EXTRA_INSTALL=contrib/dump_stat
2231

23-
check: temp-install
32+
check-tap: temp-install
2433
$(prove_check)
34+
35+
check: check-tap

0 commit comments

Comments
 (0)