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

Commitd854c7a

Browse files
committed
Merge branch 'PGPRO9_6' of gitlab.postgrespro.ru:pgpro-dev/postgrespro into PGPRO9_6
2 parentsa61e693 +d8d37f2 commitd854c7a

File tree

4 files changed

+44
-4
lines changed

4 files changed

+44
-4
lines changed

‎configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2751,7 +2751,7 @@ else
27512751
fi
27522752

27532753

2754-
PGPRO_VERSION="$PACKAGE_VERSION.2"
2754+
PGPRO_VERSION="$PACKAGE_VERSION.3"
27552755
PGPRO_PACKAGE_NAME="PostgresPro"
27562756
PGPRO_EDITION="standard"
27572757

‎configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ 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-
PGPRO_VERSION="$PACKAGE_VERSION.2"
41+
PGPRO_VERSION="$PACKAGE_VERSION.3"
4242
PGPRO_PACKAGE_NAME="PostgresPro"
4343
PGPRO_EDITION="standard"
4444
AC_SUBST(PGPRO_PACKAGE_NAME)

‎contrib/online_analyze/online_analyze.c

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,13 +847,36 @@ onlineAnalyzeHookerUtility(
847847
{
848848
VacuumStmt*vac= (VacuumStmt*)parsetree;
849849

850-
tblnames=list_make1(vac->relation);
851-
850+
if(vac->relation)
851+
tblnames=list_make1(vac->relation);
852852
if (vac->options& (VACOPT_VACUUM |VACOPT_FULL |VACOPT_FREEZE))
853+
{
853854
/* optionally with analyze */
854855
op=CK_VACUUM;
856+
857+
/* drop all collected stat */
858+
if (tblnames==NIL)
859+
relstatsInit();
860+
}
855861
elseif (vac->options&VACOPT_ANALYZE)
862+
{
856863
op=CK_ANALYZE;
864+
865+
/* should reset all counters */
866+
if (tblnames==NIL)
867+
{
868+
HASH_SEQ_STATUShs;
869+
OnlineAnalyzeTableStat*rstat;
870+
TimestampTznow=GetCurrentTimestamp();
871+
872+
hash_seq_init(&hs,relstats);
873+
while ((rstat=hash_seq_search(&hs))!=NULL)
874+
{
875+
rstat->changes_since_analyze=0;
876+
rstat->analyze_timestamp=now;
877+
}
878+
}
879+
}
857880
else
858881
tblnames=NIL;
859882
}

‎doc/src/sgml/release-pro-9.6.sgml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
<!-- doc/src/sgml/release-pro-9.6.sgml -->
22
<!-- See header comment in release.sgml about typical markup -->
3+
<sect1 id="release-pro-9-6-3-3">
4+
<title>Postgres Pro 9.6.3.3</title>
5+
<note>
6+
<title>Release Date</title>
7+
<simpara>2017-07-27</simpara>
8+
</note>
9+
<sect2>
10+
<title>Overview</title>
11+
<para>This release is based on <productname>Postgres Pro</productname>
12+
<link linkend="release-pro-9-6-3-2">9.6.3.2</link> and
13+
<productname>PostgreSQL</productname> <link linkend="release-9-6-3">9.6.3</link>.</para>
14+
<para>Major enhancements over <productname>Postgres Pro</productname>
15+
9.6.3.2 include:</para>
16+
<para>Fix potential data corruption in the online_analyze contrib
17+
module</para>
18+
</sect2>
19+
</sect1>
320
<sect1 id="release-pro-9-6-3-2">
421
<title>Postgres Pro 9.6.3.2</title>
522
<note>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp