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

Commit606a3d5

Browse files
committed
Move test_fsync to /contrib.
1 parent8aea137 commit606a3d5

File tree

7 files changed

+95
-50
lines changed

7 files changed

+95
-50
lines changed

‎contrib/pg_test_fsync/Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# Makefile for test_fsync
3+
#
4+
# contrib/test_fsync/Makefile
5+
6+
PGFILEDESC = "test_fsync - test various disk sync methods"
7+
PGAPPICON = win32
8+
9+
PROGRAM = test_fsync
10+
OBJS = test_fsync.o
11+
12+
PG_LIBS =$(libpq_pgport)
13+
14+
ifdefUSE_PGXS
15+
PG_CONFIG = pg_config
16+
PGXS :=$(shell$(PG_CONFIG) --pgxs)
17+
include$(PGXS)
18+
else
19+
subdir = contrib/test_fsync
20+
top_builddir = ../..
21+
include$(top_builddir)/src/Makefile.global
22+
include$(top_srcdir)/contrib/contrib-global.mk
23+
endif
File renamed without changes.

‎doc/src/sgml/contrib.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ psql -d dbname -f <replaceable>SHAREDIR</>/contrib/<replaceable>module</>.sql
112112
&pgstandby;
113113
&pgstatstatements;
114114
&pgstattuple;
115+
&pgtestfsync;
115116
&pgtrgm;
116117
&pgupgrade;
117118
&seg;

‎doc/src/sgml/filelist.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
<!entity pgstandby SYSTEM "pgstandby.sgml">
125125
<!entity pgstatstatements SYSTEM "pgstatstatements.sgml">
126126
<!entity pgstattuple SYSTEM "pgstattuple.sgml">
127+
<!entity pgtestfsync SYSTEM "pgtestfsync.sgml">
127128
<!entity pgtrgm SYSTEM "pgtrgm.sgml">
128129
<!entity pgupgrade SYSTEM "pgupgrade.sgml">
129130
<!entity seg SYSTEM "seg.sgml">

‎doc/src/sgml/pgtestfsync.sgml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<!-- doc/src/sgml/pgtestfsync.sgml -->
2+
3+
<sect1 id="pgtestfsync">
4+
<title>pg_test_fsync</title>
5+
6+
<indexterm zone="pgtestfsync">
7+
<primary>pg_test_fsync</primary>
8+
</indexterm>
9+
10+
<para>
11+
<application>pg_test_fsync</> is intended to give you a reasonable
12+
idea of what the fastest fsync_method is on your specific system,
13+
as well as supplying diagnostic information in the event of an
14+
identified I/O problem. However, differences shown by test_fsync
15+
might not make any difference in real database throughput, especially
16+
since many database servers are not speed-limited by their transaction
17+
logs.
18+
</para>
19+
20+
<sect2>
21+
<title>Usage</title>
22+
23+
<sect2>
24+
<title><application>pg_test_fsync</> Options</title>
25+
26+
<para>
27+
<application>pg_test_fsync</application> accepts the following command-line arguments:
28+
29+
<variablelist>
30+
31+
<varlistentry>
32+
<term><option>-f</option></term>
33+
<term><option>--filename</option></term>
34+
<listitem>
35+
<para>
36+
Specifies the filename for test. The file should be in the
37+
same file system as the <filename>pg_xlog</> directory.
38+
<filename>/pg_xlog</> contains the <acronym>WAL</> files.)
39+
The default is <filename>test_fsync.out</> in the current
40+
directory.
41+
</para>
42+
</listitem>
43+
</varlistentry>
44+
45+
<varlistentry>
46+
<term><option>-o</option></term>
47+
<term><option>--ops-per-test</option></term>
48+
<listitem>
49+
<para>
50+
Specifies the number of operations per test. The more operations
51+
per test, the greater the test's accuracy. The default is
52+
2000.
53+
</para>
54+
</listitem>
55+
</varlistentry>
56+
57+
</variablelist>
58+
</para>
59+
60+
</sect2>
61+
62+
<sect2>
63+
<title>Author</title>
64+
65+
<para>
66+
Bruce Momjian <email>bruce@momjian.us</email>
67+
</para>
68+
</sect2>
69+
70+
</sect1>

‎src/tools/fsync/Makefile

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎src/tools/fsync/README

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp