Skip to content

Commit c8ebcc9

Browse files
author
Michael Paquier
committed
Rename project to pg_arman
This is officially a fork!
1 parent 820485d commit c8ebcc9

29 files changed

+181
-181
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
.deps
2020

2121
# Binaries
22-
/pg_rman
22+
/pg_arman
2323

2424
# Generated by test suite
2525
/regression.diffs

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PROGRAM = pg_rman
1+
PROGRAM = pg_arman
22
SRCS = \
33
backup.c \
44
catalog.c \
@@ -8,7 +8,7 @@ SRCS = \
88
fetch.c \
99
init.c \
1010
parray.c \
11-
pg_rman.c \
11+
pg_arman.c \
1212
restore.c \
1313
show.c \
1414
status.c \
@@ -19,15 +19,15 @@ SRCS = \
1919
pgut/pgut-port.c
2020
OBJS = $(SRCS:.c=.o)
2121

22-
DOCS = doc/pg_rman.txt
22+
DOCS = doc/pg_arman.txt
2323

2424
# asciidoc and xmlto are present, so install the html documentation and man
2525
# pages as well. html is part of the vanilla documentation. Man pages need a
2626
# special handling at installation.
2727
ifneq ($(ASCIIDOC),)
2828
ifneq ($(XMLTO),)
29-
man_DOCS = doc/pg_rman.1
30-
DOCS += doc/pg_rman.html doc/README.html
29+
man_DOCS = doc/pg_arman.1
30+
DOCS += doc/pg_arman.html doc/README.html
3131
endif # XMLTO
3232
endif # ASCIIDOC
3333

@@ -41,7 +41,7 @@ PG_CONFIG = pg_config
4141
PGXS := $(shell $(PG_CONFIG) --pgxs)
4242
include $(PGXS)
4343
else
44-
subdir = contrib/pg_rman
44+
subdir = contrib/pg_arman
4545
top_builddir = ../..
4646
include $(top_builddir)/src/Makefile.global
4747
include $(top_srcdir)/contrib/contrib-global.mk
@@ -51,7 +51,7 @@ endif
5151
LIBS := $(filter-out -lxml2, $(LIBS))
5252
LIBS := $(filter-out -lxslt, $(LIBS))
5353

54-
$(OBJS): pg_rman.h
54+
$(OBJS): pg_arman.h
5555

5656
# Part related to documentation
5757
# Compile documentation as well is ASCIIDOC and XMLTO are defined

README

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
pg_rman
2-
=======
1+
pg_arman
2+
========
33

4-
pg_rman is a backup and recovery manager for PostgreSQL servers able to do
4+
pg_arman is a backup and recovery manager for PostgreSQL servers able to do
55
incremental, archive and full backup as well as restore a cluster to a
66
state defined by a given recovery target. It is designed to perform
77
periodic backups of an existing PostgreSQL server, combined with WAL
@@ -14,18 +14,18 @@ Download
1414
--------
1515

1616
The latest version of this software can be found on the project website at
17-
https://github.com/michaelpq/pg_rman.
17+
https://github.com/michaelpq/pg_arman.
1818

1919
Installation
2020
------------
2121

22-
Compiling pg_rman requires a PostgreSQL installation and can be done in
22+
Compiling pg_arman requires a PostgreSQL installation and can be done in
2323
two ways:
2424

25-
1. Put pg_rman project directory inside PostgreSQL source tree as
26-
contrib/pg_rman, and use this command for compilation:
25+
1. Put pg_arman project directory inside PostgreSQL source tree as
26+
contrib/pg_arman, and use this command for compilation:
2727

28-
$ cd $POSTGRES_SOURCE/contrib/pg_rman
28+
$ cd $POSTGRES_SOURCE/contrib/pg_arman
2929
$ make
3030

3131
2. Keep the project directory as-is and use the PGXS development
@@ -36,13 +36,13 @@ compilation:
3636

3737
In addition, you must have pg_config in $PATH.
3838

39-
The current version of pg_rman is compatible with PostgreSQL 9.3 and
39+
The current version of pg_arman is compatible with PostgreSQL 9.3 and
4040
upper versions.
4141

4242
Platforms
4343
---------
4444

45-
pg_rman has been tested on Linux and Unix-based platforms.
45+
pg_arman has been tested on Linux and Unix-based platforms.
4646

4747
Documentation
4848
-------------
@@ -69,7 +69,7 @@ install xmlto and asciidoc:
6969
Regression tests
7070
----------------
7171

72-
The test suite of pg_rman is available in the code tree and can be
72+
The test suite of pg_arman is available in the code tree and can be
7373
launched in a way similar to common PostgreSQL extensions and modules:
7474

7575
1) "make check" or "make installcheck" if the project directory is
@@ -81,5 +81,5 @@ directory is kept as-is.
8181
License
8282
-------
8383

84-
pg_rman can be distributed under the PostgreSQL license. See COPYRIGHT
84+
pg_arman can be distributed under the PostgreSQL license. See COPYRIGHT
8585
file for more information.

backup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*-------------------------------------------------------------------------
88
*/
99

10-
#include "pg_rman.h"
10+
#include "pg_arman.h"
1111

1212
#include <stdio.h>
1313
#include <stdlib.h>
@@ -109,7 +109,7 @@ do_backup_database(parray *backup_list, pgBackupOption bkupopt)
109109

110110
/* notify start of backup to PostgreSQL server */
111111
time2iso(label, lengthof(label), current.start_time);
112-
strncat(label, " with pg_rman", lengthof(label));
112+
strncat(label, " with pg_arman", lengthof(label));
113113
pg_start_backup(label, smooth_checkpoint, &current);
114114

115115
/* If backup_label does not exist in $PGDATA, stop taking backup */
@@ -464,7 +464,7 @@ do_backup(pgBackupOption bkupopt)
464464
elog(ERROR_SYSTEM, _("can't lock backup catalog."));
465465
else if (ret == 1)
466466
elog(ERROR_ALREADY_RUNNING,
467-
_("another pg_rman is running, skip this backup."));
467+
_("another pg_arman is running, skip this backup."));
468468

469469
/* initialize backup result */
470470
current.status = BACKUP_STATUS_RUNNING;

catalog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*-------------------------------------------------------------------------
88
*/
99

10-
#include "pg_rman.h"
10+
#include "pg_arman.h"
1111

1212
#include <dirent.h>
1313
#include <fcntl.h>
@@ -28,7 +28,7 @@ static pgBackup *catalog_read_ini(const char *path);
2828
static int lock_fd = -1;
2929

3030
/*
31-
* Lock of the catalog with pg_rman.ini file and return 0.
31+
* Lock of the catalog with pg_arman.ini file and return 0.
3232
* If the lock is held by another one, return 1 immediately.
3333
*/
3434
int

data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*-------------------------------------------------------------------------
88
*/
99

10-
#include "pg_rman.h"
10+
#include "pg_arman.h"
1111

1212
#include <unistd.h>
1313
#include <time.h>

delete.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*-------------------------------------------------------------------------
88
*/
99

10-
#include "pg_rman.h"
10+
#include "pg_arman.h"
1111

1212
static int pgBackupDeleteFiles(pgBackup *backup);
1313

@@ -29,7 +29,7 @@ do_delete(pgBackupRange *range)
2929
elog(ERROR_SYSTEM, _("can't lock backup catalog."));
3030
else if (ret == 1)
3131
elog(ERROR_ALREADY_RUNNING,
32-
_("another pg_rman is running, stop delete."));
32+
_("another pg_arman is running, stop delete."));
3333

3434
/* Get complete list of backup */
3535
backup_list = catalog_get_backup_list(NULL);

dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*-------------------------------------------------------------------------
88
*/
99

10-
#include "pg_rman.h"
10+
#include "pg_arman.h"
1111

1212
#include <libgen.h>
1313
#include <unistd.h>

doc/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Documentation entries
22
/*.html
33
/*.xml
4-
/pg_rman.1
4+
/pg_arman.1

doc/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
manpages = pg_rman.1
2+
manpages = pg_arman.1
33

4-
EXTRA_DIST = pg_rman.txt Makefile $(manpages)
4+
EXTRA_DIST = pg_arman.txt Makefile $(manpages)
55

6-
htmls = pg_rman.html README.html
6+
htmls = pg_arman.html README.html
77

88
# We have asciidoc and xmlto, so build everything and define correct
99
# rules for build.
@@ -12,7 +12,7 @@ ifneq ($(XMLTO),)
1212
dist_man_MANS = $(manpages)
1313
doc_DATA = $(htmls)
1414

15-
pg_rman.1: pg_rman.xml $(doc_DATA)
15+
pg_arman.1: pg_arman.xml $(doc_DATA)
1616
$(XMLTO) man $<
1717

1818
%.xml: %.txt

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy