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

Commit 5c6680d

Browse files
committed
Merge branch 'PGPRO10' into PGPRO10-pgpro-1593
2 parents 154f40b + 16ba609 commit 5c6680d

File tree

165 files changed

+49785
-16332
lines changed

Some content is hidden

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

165 files changed

+49785
-16332
lines changed

configure

Lines changed: 10 additions & 10 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.3.
3+
# Generated by GNU Autoconf 2.69 for PostgreSQL 10.4.
44
#
55
# Report bugs to <bugs@postgrespro.ru>.
66
#
@@ -583,8 +583,8 @@ MAKEFLAGS=
583583
# Identity of this package.
584584
PACKAGE_NAME='PostgreSQL'
585585
PACKAGE_TARNAME='postgrespro'
586-
PACKAGE_VERSION='10.3'
587-
PACKAGE_STRING='PostgreSQL 10.3'
586+
PACKAGE_VERSION='10.4'
587+
PACKAGE_STRING='PostgreSQL 10.4'
588588
PACKAGE_BUGREPORT='bugs@postgrespro.ru'
589589
PACKAGE_URL=''
590590

@@ -1427,7 +1427,7 @@ if test "$ac_init_help" = "long"; then
14271427
# Omit some internal or obsolete options to make the list less imposing.
14281428
# This message is too long to be a string in the A/UX 3.1 sh.
14291429
cat <<_ACEOF
1430-
\`configure' configures PostgreSQL 10.3 to adapt to many kinds of systems.
1430+
\`configure' configures PostgreSQL 10.4 to adapt to many kinds of systems.
14311431
14321432
Usage: $0 [OPTION]... [VAR=VALUE]...
14331433
@@ -1493,7 +1493,7 @@ fi
14931493

14941494
if test -n "$ac_init_help"; then
14951495
case $ac_init_help in
1496-
short | recursive ) echo "Configuration of PostgreSQL 10.3:";;
1496+
short | recursive ) echo "Configuration of PostgreSQL 10.4:";;
14971497
esac
14981498
cat <<\_ACEOF
14991499
@@ -1652,7 +1652,7 @@ fi
16521652
test -n "$ac_init_help" && exit $ac_status
16531653
if $ac_init_version; then
16541654
cat <<\_ACEOF
1655-
PostgreSQL configure 10.3
1655+
PostgreSQL configure 10.4
16561656
generated by GNU Autoconf 2.69
16571657
16581658
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2364,7 +2364,7 @@ cat >config.log <<_ACEOF
23642364
This file contains any messages produced by compilers while
23652365
running configure, to aid debugging if configure makes a mistake.
23662366
2367-
It was created by PostgreSQL $as_me 10.3, which was
2367+
It was created by PostgreSQL $as_me 10.4, which was
23682368
generated by GNU Autoconf 2.69. Invocation command line was
23692369
23702370
$ $0 $@
@@ -2782,7 +2782,7 @@ fi
27822782

27832783

27842784

2785-
PGPRO_VERSION="$PACKAGE_VERSION.2"
2785+
PGPRO_VERSION="$PACKAGE_VERSION.1"
27862786
PGPRO_PACKAGE_NAME="PostgresPro"
27872787
PGPRO_EDITION="standard"
27882788
PGPRO_EDN="std"
@@ -17603,7 +17603,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1760317603
# report actual input values of CONFIG_FILES etc. instead of their
1760417604
# values after options handling.
1760517605
ac_log="
17606-
This file was extended by PostgreSQL $as_me 10.3, which was
17606+
This file was extended by PostgreSQL $as_me 10.4, which was
1760717607
generated by GNU Autoconf 2.69. Invocation command line was
1760817608
1760917609
CONFIG_FILES = $CONFIG_FILES
@@ -17673,7 +17673,7 @@ _ACEOF
1767317673
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1767417674
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1767517675
ac_cs_version="\\
17676-
PostgreSQL config.status 10.3
17676+
PostgreSQL config.status 10.4
1767717677
configured by $0, generated by GNU Autoconf 2.69,
1767817678
with options \\"\$ac_cs_config\\"
1767917679

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ 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.3], [bugs@postgrespro.ru], [postgrespro])
20+
AC_INIT([PostgreSQL], [10.4], [bugs@postgrespro.ru], [postgrespro])
2121
PACKAGE_TARNAME=postgrespro
2222

2323
m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
@@ -39,7 +39,7 @@ PGAC_ARG_REQ(with, extra-version, [STRING], [append STRING to version],
3939
[PG_VERSION="$PACKAGE_VERSION$withval"],
4040
[PG_VERSION="$PACKAGE_VERSION"])
4141

42-
PGPRO_VERSION="$PACKAGE_VERSION.2"
42+
PGPRO_VERSION="$PACKAGE_VERSION.1"
4343
PGPRO_PACKAGE_NAME="PostgresPro"
4444
PGPRO_EDITION="standard"
4545
PGPRO_EDN="std"

contrib/adminpack/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ OBJS = adminpack.o $(WIN32RES)
55
PG_CPPFLAGS = -I$(libpq_srcdir)
66

77
EXTENSION = adminpack
8-
DATA = adminpack--1.0.sql
8+
DATA = adminpack--1.0.sql adminpack--1.0--1.1.sql
99
PGFILEDESC = "adminpack - support functions for pgAdmin"
1010

1111
ifdef USE_PGXS
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* contrib/adminpack/adminpack--1.0--1.1.sql */
2+
3+
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
4+
\echo Use "ALTER EXTENSION adminpack UPDATE TO '1.1'" to load this file. \quit
5+
6+
REVOKE EXECUTE ON FUNCTION pg_catalog.pg_logfile_rotate() FROM PUBLIC;

contrib/adminpack/adminpack.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pg_file_rename(PG_FUNCTION_ARGS)
173173
fn1 = convert_and_check_filename(PG_GETARG_TEXT_PP(0), false);
174174
fn2 = convert_and_check_filename(PG_GETARG_TEXT_PP(1), false);
175175
if (PG_ARGISNULL(2))
176-
fn3 = 0;
176+
fn3 = NULL;
177177
else
178178
fn3 = convert_and_check_filename(PG_GETARG_TEXT_PP(2), false);
179179

@@ -195,7 +195,7 @@ pg_file_rename(PG_FUNCTION_ARGS)
195195
PG_RETURN_BOOL(false);
196196
}
197197

198-
rc = access(fn3 ? fn3 : fn2, 2);
198+
rc = access(fn3 ? fn3 : fn2, W_OK);
199199
if (rc >= 0 || errno != ENOENT)
200200
{
201201
ereport(ERROR,

contrib/adminpack/adminpack.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# adminpack extension
22
comment = 'administrative functions for PostgreSQL'
3-
default_version = '1.0'
3+
default_version = '1.1'
44
module_pathname = '$libdir/adminpack'
55
relocatable = false
66
schema = pg_catalog

contrib/fasttrun/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
MODULE_big = fasttrun
22
OBJS = fasttrun.o $(WIN32RES)
33
EXTENSION = fasttrun
4-
DATA = fasttrun--1.0.sql
4+
DATA = fasttrun--1.0.sql fasttrun--unpackaged--1.0.sql
55
DOCS = README.fasttrun
66
REGRESS = fasttrun
77
PGFIELDDESC = "fasttrun - functions to truncates the temporary table and doesn't grow pg_class size."
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
\echo Use "CREATE EXTENSION fasttrun FROM unpackaged" to load this file. \quit
2+
3+
ALTER EXTENSION fasttrun ADD function fasttruncate(text);
4+

contrib/fulleq/Makefile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
MODULE_big = fulleq
22
OBJS = fulleq.o
33
EXTENSION = fulleq
4-
DATA = fulleq--1.0.sql
4+
DATA = fulleq--1.0.sql fulleq--unpackaged--1.0.sql
55
DOCS = README.fulleq
66
REGRESS = fulleq
77
PGFIELDDESC = "fulleq - introduce operator == which returns true when operands are equal or both are nulls."
@@ -11,7 +11,7 @@ ARGTYPE = bool bytea char name int8 int2 int4 text \
1111
inet cidr varchar date time timestamp timestamptz \
1212
interval timetz
1313

14-
#EXTRA_CLEAN = fulleq--1.0.sql
14+
#EXTRA_CLEAN = fulleq--1.0.sql fulleq--unpackaged--1.0.sql
1515

1616
ifdef USE_PGXS
1717
PGXS := $(shell pg_config --pgxs)
@@ -23,6 +23,8 @@ include $(top_builddir)/src/Makefile.global
2323
include $(top_srcdir)/contrib/contrib-global.mk
2424
endif
2525

26+
all: fulleq--1.0.sql fulleq--unpackaged--1.0.sql
27+
2628
fulleq--1.0.sql: fulleq--1.0.sql.in.in
2729
echo '\echo Use "CREATE EXTENSION fulleq" to load this file. \quit' > $@
2830
echo 'SET search_path = public;' >> $@
@@ -31,3 +33,14 @@ fulleq--1.0.sql: fulleq--1.0.sql.in.in
3133
sed -e "s/ARGTYPE/$$type/g" < $< >> $@; \
3234
done
3335

36+
fulleq--unpackaged--1.0.sql: fulleq-unpackaged.sql.in.in
37+
echo '\echo Use "CREATE EXTENSION fulleq FROM unpackaged" to load this file. \quit' > $@
38+
echo 'DROP OPERATOR CLASS IF EXISTS int2vector_fill_ops USING hash;' >> $@
39+
echo 'DROP OPERATOR FAMILY IF EXISTS int2vector_fill_ops USING hash;' >> $@
40+
echo 'DROP FUNCTION IF EXISTS fullhash_int2vector(int2vector);' >> $@
41+
echo 'DROP OPERATOR IF EXISTS == (int2vector, int2vector);' >> $@
42+
echo 'DROP FUNCTION IF EXISTS isfulleq_int2vector(int2vector, int2vector);' >> $@
43+
for type in $(ARGTYPE); \
44+
do \
45+
sed -e "s/ARGTYPE/$$type/g" < $< >> $@; \
46+
done

0 commit comments

Comments
 (0)