Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c5656e

Browse files
committed
Rebased to REL9_5_0. Changed PGPro version to 9.5.0.1
2 parentsbfa4d34 +19548b8 commit4c5656e

File tree

135 files changed

+32042
-21411
lines changed

Some content is hidden

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

135 files changed

+32042
-21411
lines changed

‎COPYRIGHT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PostgreSQL Database Management System
22
(formerly known as Postgres, then as Postgres95)
33

4-
Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
4+
Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
55

66
Portions Copyright (c) 1994, The Regents of the University of California
77

‎configure

Lines changed: 15 additions & 15 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 PostgresPro 9.5rc1.1.
3+
# Generated by GNU Autoconf 2.69 for PostgresPro 9.5.0.1.
44
#
55
# Report bugs to <pgsql-bugs@postgrespro.com>.
66
#
@@ -582,8 +582,8 @@ MAKEFLAGS=
582582
# Identity of this package.
583583
PACKAGE_NAME='PostgresPro'
584584
PACKAGE_TARNAME='postgrespro'
585-
PACKAGE_VERSION='9.5rc1.1'
586-
PACKAGE_STRING='PostgresPro 9.5rc1.1'
585+
PACKAGE_VERSION='9.5.0.1'
586+
PACKAGE_STRING='PostgresPro 9.5.0.1'
587587
PACKAGE_BUGREPORT='pgsql-bugs@postgrespro.com'
588588
PACKAGE_URL=''
589589

@@ -1395,7 +1395,7 @@ if test "$ac_init_help" = "long"; then
13951395
# Omit some internal or obsolete options to make the list less imposing.
13961396
# This message is too long to be a string in the A/UX 3.1 sh.
13971397
cat<<_ACEOF
1398-
\`configure' configures PostgresPro 9.5rc1.1 to adapt to many kinds of systems.
1398+
\`configure' configures PostgresPro 9.5.0.1 to adapt to many kinds of systems.
13991399
14001400
Usage:$0 [OPTION]... [VAR=VALUE]...
14011401
@@ -1460,7 +1460,7 @@ fi
14601460

14611461
iftest -n"$ac_init_help";then
14621462
case$ac_init_helpin
1463-
short | recursive )echo"Configuration of PostgresPro 9.5rc1.1:";;
1463+
short | recursive )echo"Configuration of PostgresPro 9.5.0.1:";;
14641464
esac
14651465
cat<<\_ACEOF
14661466
@@ -1610,7 +1610,7 @@ fi
16101610
test -n "$ac_init_help" && exit $ac_status
16111611
if $ac_init_version; then
16121612
cat <<\_ACEOF
1613-
PostgresPro configure 9.5rc1.1
1613+
PostgresPro configure 9.5.0.1
16141614
generated by GNU Autoconf 2.69
16151615
16161616
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2321,7 +2321,7 @@ cat >config.log <<_ACEOF
23212321
This file contains any messages produced by compilers while
23222322
running configure, to aid debugging if configure makes a mistake.
23232323
2324-
It was created by PostgresPro$as_me 9.5rc1.1, which was
2324+
It was created by PostgresPro$as_me 9.5.0.1, which was
23252325
generated by GNU Autoconf 2.69. Invocation command line was
23262326
23272327
$$0$@
@@ -11183,7 +11183,7 @@ else
1118311183
We can't simply define LARGE_OFF_T to be 9223372036854775807,
1118411184
since some C++ compilers masquerading as C compilers
1118511185
incorrectly reject 9223372036854775807. */
11186-
#define LARGE_OFF_T (((off_t) 1 <<62)- 1 + ((off_t) 1 <<62))
11186+
#define LARGE_OFF_T ((((off_t) 1 <<31) << 31)- 1 + (((off_t) 1 <<31) << 31))
1118711187
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1118811188
&& LARGE_OFF_T % 2147483647 == 1)
1118911189
? 1 : -1];
@@ -11229,7 +11229,7 @@ else
1122911229
We can't simply define LARGE_OFF_T to be 9223372036854775807,
1123011230
since some C++ compilers masquerading as C compilers
1123111231
incorrectly reject 9223372036854775807. */
11232-
#define LARGE_OFF_T (((off_t) 1 <<62)- 1 + ((off_t) 1 <<62))
11232+
#define LARGE_OFF_T ((((off_t) 1 <<31) << 31)- 1 + (((off_t) 1 <<31) << 31))
1123311233
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1123411234
&& LARGE_OFF_T % 2147483647 == 1)
1123511235
? 1 : -1];
@@ -11253,7 +11253,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1125311253
We can't simply define LARGE_OFF_T to be 9223372036854775807,
1125411254
since some C++ compilers masquerading as C compilers
1125511255
incorrectly reject 9223372036854775807. */
11256-
#define LARGE_OFF_T (((off_t) 1 <<62)- 1 + ((off_t) 1 <<62))
11256+
#define LARGE_OFF_T ((((off_t) 1 <<31) << 31)- 1 + (((off_t) 1 <<31) << 31))
1125711257
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1125811258
&& LARGE_OFF_T % 2147483647 == 1)
1125911259
? 1 : -1];
@@ -11298,7 +11298,7 @@ else
1129811298
We can't simply define LARGE_OFF_T to be 9223372036854775807,
1129911299
since some C++ compilers masquerading as C compilers
1130011300
incorrectly reject 9223372036854775807. */
11301-
#define LARGE_OFF_T (((off_t) 1 <<62)- 1 + ((off_t) 1 <<62))
11301+
#define LARGE_OFF_T ((((off_t) 1 <<31) << 31)- 1 + (((off_t) 1 <<31) << 31))
1130211302
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1130311303
&& LARGE_OFF_T % 2147483647 == 1)
1130411304
? 1 : -1];
@@ -11322,7 +11322,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1132211322
We can't simply define LARGE_OFF_T to be 9223372036854775807,
1132311323
since some C++ compilers masquerading as C compilers
1132411324
incorrectly reject 9223372036854775807. */
11325-
#define LARGE_OFF_T (((off_t) 1 <<62)- 1 + ((off_t) 1 <<62))
11325+
#define LARGE_OFF_T ((((off_t) 1 <<31) << 31)- 1 + (((off_t) 1 <<31) << 31))
1132611326
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1132711327
&& LARGE_OFF_T % 2147483647 == 1)
1132811328
? 1 : -1];
@@ -12518,7 +12518,7 @@ if test x"$pgac_cv_var_rl_completion_append_character" = x"yes"; then
1251812518
$as_echo"#define HAVE_RL_COMPLETION_APPEND_CHARACTER 1">>confdefs.h
1251912519

1252012520
fi
12521-
forac_funcin rl_completion_matches rl_filename_completion_function
12521+
forac_funcin rl_completion_matches rl_filename_completion_function rl_reset_screen_size
1252212522
do:
1252312523
as_ac_var=`$as_echo"ac_cv_func_$ac_func"|$as_tr_sh`
1252412524
ac_fn_c_check_func"$LINENO""$ac_func""$as_ac_var"
@@ -16142,7 +16142,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1614216142
# report actual input values of CONFIG_FILES etc. instead of their
1614316143
# values after options handling.
1614416144
ac_log="
16145-
This file was extended by PostgresPro $as_me 9.5rc1.1, which was
16145+
This file was extended by PostgresPro $as_me 9.5.0.1, which was
1614616146
generated by GNU Autoconf 2.69. Invocation command line was
1614716147
1614816148
CONFIG_FILES = $CONFIG_FILES
@@ -16212,7 +16212,7 @@ _ACEOF
1621216212
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1621316213
ac_cs_config="`$as_echo"$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1621416214
ac_cs_version="\\
16215-
PostgresPro config.status 9.5rc1.1
16215+
PostgresPro config.status 9.5.0.1
1621616216
configured by$0, generated by GNU Autoconf 2.69,
1621716217
with options\\"\$ac_cs_config\\"
1621816218

‎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([PostgresPro], [9.5rc1.1], [pgsql-bugs@postgrespro.com])
20+
AC_INIT([PostgresPro], [9.5.0.1], [pgsql-bugs@postgrespro.com])
2121

2222
m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
2323
Untested combinations of 'autoconf' and PostgreSQL versions are not
@@ -1559,7 +1559,7 @@ LIBS="$LIBS_including_readline"
15591559

15601560
if test "$with_readline" = yes; then
15611561
PGAC_VAR_RL_COMPLETION_APPEND_CHARACTER
1562-
AC_CHECK_FUNCS([rl_completion_matches rl_filename_completion_function])
1562+
AC_CHECK_FUNCS([rl_completion_matches rl_filename_completion_function rl_reset_screen_size])
15631563
AC_CHECK_FUNCS([append_history history_truncate_file])
15641564
fi
15651565

‎contrib/pgcrypto/crypt-blowfish.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
*/
3434

3535
#include"postgres.h"
36+
#include"miscadmin.h"
3637

3738
#include"px-crypt.h"
3839
#include"px.h"
@@ -670,6 +671,8 @@ _crypt_blowfish_rn(const char *key, const char *setting,
670671

671672
do
672673
{
674+
CHECK_FOR_INTERRUPTS();
675+
673676
data.ctx.P[0] ^=data.expanded_key[0];
674677
data.ctx.P[1] ^=data.expanded_key[1];
675678
data.ctx.P[2] ^=data.expanded_key[2];

‎contrib/pgcrypto/crypt-des.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
*/
6262

6363
#include"postgres.h"
64+
#include"miscadmin.h"
6465

6566
#include"px-crypt.h"
6667

@@ -540,6 +541,8 @@ do_des(uint32 l_in, uint32 r_in, uint32 *l_out, uint32 *r_out, int count)
540541

541542
while (count--)
542543
{
544+
CHECK_FOR_INTERRUPTS();
545+
543546
/*
544547
* Do each round.
545548
*/

‎contrib/postgres_fdw/postgres_fdw.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2675,7 +2675,11 @@ postgresImportForeignSchema(ImportForeignSchemaStmt *stmt, Oid serverOid)
26752675

26762676
/*
26772677
* Fetch all table data from this schema, possibly restricted by
2678-
* EXCEPT or LIMIT TO.
2678+
* EXCEPT or LIMIT TO. (We don't actually need to pay any attention
2679+
* to EXCEPT/LIMIT TO here, because the core code will filter the
2680+
* statements we return according to those lists anyway. But it
2681+
* should save a few cycles to not process excluded tables in the
2682+
* first place.)
26792683
*
26802684
* Note: because we run the connection with search_path restricted to
26812685
* pg_catalog, the format_type() and pg_get_expr() outputs will always

‎doc/bug.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ System Configuration:
2323

2424
Operating System (example: Linux 2.4.18):
2525

26-
PostgreSQL version (example: PostgresPro 9.5rc1.1): PostgresPro 9.5rc1.1
26+
PostgreSQL version (example: PostgresPro 9.5.0.1): PostgresPro 9.5.0.1
2727

2828
Compiler used (example: gcc 3.3.5):
2929

‎doc/src/sgml/brin.sgml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,26 @@
5858
store more index entries), but at the same time the summary data stored can
5959
be more precise and more data blocks can be skipped during an index scan.
6060
</para>
61+
62+
<sect2 id="brin-operation">
63+
<title>Index Maintenance</title>
64+
65+
<para>
66+
At the time of creation, all existing index pages are scanned and a
67+
summary index tuple is created for each range, including the
68+
possibly-incomplete range at the end.
69+
As new pages are filled with data, page ranges that are already
70+
summarized will cause the summary information to be updated with data
71+
from the new tuples.
72+
When a new page is created that does not fall within the last
73+
summarized range, that range does not automatically acquire a summary
74+
tuple; those tuples remain unsummarized until a summarization run is
75+
invoked later, creating initial summaries.
76+
This process can be invoked manually using the
77+
<function>brin_summarize_new_pages(regclass)</function> function,
78+
or automatically when <command>VACUUM</command> processes the table.
79+
</para>
80+
</sect2>
6181
</sect1>
6282

6383
<sect1 id="brin-builtin-opclasses">

‎doc/src/sgml/datatype.sgml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4591,6 +4591,14 @@ SELECT * FROM pg_attribute
45914591
<primary>trigger</primary>
45924592
</indexterm>
45934593

4594+
<indexterm zone="datatype-pseudo">
4595+
<primary>event_trigger</primary>
4596+
</indexterm>
4597+
4598+
<indexterm zone="datatype-pseudo">
4599+
<primary>pg_ddl_command</primary>
4600+
</indexterm>
4601+
45944602
<indexterm zone="datatype-pseudo">
45954603
<primary>language_handler</primary>
45964604
</indexterm>
@@ -4704,14 +4712,24 @@ SELECT * FROM pg_attribute
47044712

47054713
<row>
47064714
<entry><type>record</></entry>
4707-
<entry>Identifies a function returning an unspecified row type.</entry>
4715+
<entry>Identifies a functiontaking orreturning an unspecified row type.</entry>
47084716
</row>
47094717

47104718
<row>
47114719
<entry><type>trigger</></entry>
47124720
<entry>A trigger function is declared to return <type>trigger.</></entry>
47134721
</row>
47144722

4723+
<row>
4724+
<entry><type>event_trigger</></entry>
4725+
<entry>An event trigger function is declared to return <type>event_trigger.</></entry>
4726+
</row>
4727+
4728+
<row>
4729+
<entry><type>pg_ddl_command</></entry>
4730+
<entry>Identifies a represention of DDL commands that is available to event triggers.</entry>
4731+
</row>
4732+
47154733
<row>
47164734
<entry><type>void</></entry>
47174735
<entry>Indicates that a function returns no value.</entry>
@@ -4734,10 +4752,11 @@ SELECT * FROM pg_attribute
47344752

47354753
<para>
47364754
Functions coded in procedural languages can use pseudo-types only as
4737-
allowed by their implementation languages. At presentthe procedural
4738-
languagesallforbid use of a pseudo-type as argument type, and allow
4755+
allowed by their implementation languages. At presentmost procedural
4756+
languages forbid use of a pseudo-type as an argument type, and allow
47394757
only <type>void</> and <type>record</> as a result type (plus
4740-
<type>trigger</> when the function is used as a trigger). Some also
4758+
<type>trigger</> or <type>event_trigger</> when the function is used
4759+
as a trigger or event trigger). Some also
47414760
support polymorphic functions using the types <type>anyelement</>,
47424761
<type>anyarray</>, <type>anynonarray</>, <type>anyenum</>, and
47434762
<type>anyrange</>.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp