Skip to content

Commit 79757cc

Browse files
committed
version 1.1.2.
1 parent 9bed2e6 commit 79757cc

File tree

9 files changed

+20
-8
lines changed

9 files changed

+20
-8
lines changed

bin/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ top_builddir = ../../..
2424
include $(top_builddir)/src/Makefile.global
2525
include $(top_srcdir)/contrib/contrib-global.mk
2626
endif
27+
28+
# remove dependency to libxml2 and libxslt
29+
LIBS := $(filter-out -lxml2, $(LIBS))
30+
LIBS := $(filter-out -lxslt, $(LIBS))

bin/pg_reorg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @brief Client Modules
99
*/
1010

11-
const char *PROGRAM_VERSION = "1.1.1";
11+
const char *PROGRAM_VERSION = "1.1.2";
1212
const char *PROGRAM_URL = "http://reorg.projects.postgresql.org/";
1313
const char *PROGRAM_EMAIL = "reorg-general@lists.pgfoundry.org";
1414

bin/pgut/pgut.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ parse_time(const char *value, time_t *time)
351351
tmp[len] = '\0';
352352

353353
/* parse for "YYYY-MM-DD HH:MI:SS" */
354+
memset(&tm, 0, sizeof(tm));
354355
tm.tm_year = 0; /* tm_year is year - 1900 */
355356
tm.tm_mon = 0; /* tm_mon is 0 - 11 */
356357
tm.tm_mday = 1; /* tm_mday is 1 - 31 */
@@ -375,6 +376,9 @@ parse_time(const char *value, time_t *time)
375376
if (i > 1)
376377
tm.tm_mon -= 1;
377378

379+
/* determine whether Daylight Saving Time is in effect */
380+
tm.tm_isdst = -1;
381+
378382
*time = mktime(&tm);
379383

380384
return true;

doc/index-ja.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ <h1>pg_reorg ホームページへようこそ</h1>
4646
<h2>ドキュメント</h2>
4747

4848
<ul>
49-
<li><a href="pg_reorg-ja.html">pg_reorg 1.1.1 ドキュメント</a></li>
50-
<li><a href="pg_batch-ja.html">pg_batch 1.2.0 ドキュメント</a></li>
49+
<li><a href="pg_reorg-ja.html">pg_reorg 1.1 ドキュメント</a></li>
50+
<li><a href="pg_batch-ja.html">pg_batch 1.2 ドキュメント</a></li>
5151
</ul>
5252

5353
<h2>実行時間</h2>

doc/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ <h1>Welcome to the pg_reorg Project Home Page</h1>
4848
<h2>Documentation</h2>
4949

5050
<ul>
51-
<li><a href="pg_reorg.html">pg_reorg 1.1.1 documentation</a></li>
52-
<li><a href="pg_batch.html">pg_batch 1.2.0 documentation</a></li>
51+
<li><a href="pg_reorg.html">pg_reorg 1.1 documentation</a></li>
52+
<li><a href="pg_batch.html">pg_batch 1.2 documentation</a></li>
5353
</ul>
5454

5555
<h2>Execution time</h2>

doc/pg_reorg-ja.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</head>
99

1010
<body>
11-
<h1 id="pg_reorg">pg_reorg 1.1.1</h1>
11+
<h1 id="pg_reorg">pg_reorg 1.1.2</h1>
1212
<div class="navigation">
1313
<a href="index-ja.html">Top</a> &gt;
1414
<a href="pg_reorg-ja.html">pg_reorg</a>

doc/pg_reorg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</head>
99

1010
<body>
11-
<h1 id="pg_reorg">pg_reorg 1.1.1</h1>
11+
<h1 id="pg_reorg">pg_reorg 1.1.2</h1>
1212
<div class="navigation">
1313
<a href="index.html">Top</a> &gt;
1414
<a href="pg_reorg.html">pg_reorg</a>

lib/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ top_builddir = ../../..
1818
include $(top_builddir)/src/Makefile.global
1919
include $(top_srcdir)/contrib/contrib-global.mk
2020
endif
21+
22+
# remove dependency to libxml2 and libxslt
23+
LIBS := $(filter-out -lxml2, $(LIBS))
24+
LIBS := $(filter-out -lxslt, $(LIBS))

lib/reorg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static void RenameRelationInternal(Oid myrelid, const char *newrelname, Oid name
7575
Datum
7676
reorg_version(PG_FUNCTION_ARGS)
7777
{
78-
return CStringGetTextDatum("pg_reorg 1.1.1");
78+
return CStringGetTextDatum("pg_reorg 1.1.2");
7979
}
8080

8181
/**

0 commit comments

Comments
 (0)