Commit Graph

18 Commits

Author SHA1 Message Date
Jaime Casanova
378bdd7bd4 Add MASTER REGISTER and STANDBY REGISTER commands. 2010-10-18 02:21:55 -05:00
Jaime Casanova
6779a96b0b The short option for --force is now -F, because i will use the other
to indicate a config file. also for simetry with repmgrd
2010-10-13 14:54:09 -05:00
Jaime Casanova
7dce793882 Add a --force option to upgrade an existing PostgreSQL instalation.
This could be useful, for readding recently failed nodes.
2010-10-08 02:55:52 -05:00
Jaime Casanova
d42f3e25f4 Fix a typo in the last commit that show the right directory in error messages 2010-10-07 00:29:10 -05:00
Jaime Casanova
f5e95dd46a Exclude pid files from standby clone 2010-10-06 01:04:30 -05:00
Jaime Casanova
172caf8968 When the directory for a tablespace cannot be created or exists
but is not empty, it was sending the message using dest_dir instead.
2010-10-05 21:20:20 -05:00
Jaime Casanova
5cd9e3957c A few changes from repmgrd and improve the SQL of the repl_status
view in order to actually show something useful
2010-10-01 14:44:08 -05:00
Jaime Casanova
533a4e31a0 Copy tablespaces locations separately 2010-10-01 00:43:51 -05:00
Jaime Casanova
5617a75741 Create subdirectories $PGDATA/global and $PGDATA/pg_xlog 2010-09-30 21:17:19 -05:00
Jaime Casanova
8408e3a551 A few fixes product of Cedric Villemain's review 2010-09-30 19:43:13 -05:00
Jaime Casanova
dcc7c4492c Move configuration files and global/pg_control separately from data_directory 2010-09-30 15:27:22 -05:00
Jaime Casanova
4660c4ea13 There was a segfault because of the strcpy (seems rather obvious now)
Reported by: Cedric Villemain
Fixed by me
2010-09-30 12:17:28 -05:00
Jaime Casanova
12916315eb A few more bugs revealed in tests. 2010-09-29 06:45:22 -05:00
Jaime Casanova
3b8e8183cc Changes when trying to compile:
- Fix Makefile to include check_dir.c
- Add function mkdir_p that was taken from initdb.c
- Replace some strcpy for assignment to const char * to keep compiler quite
- Add STANDBY_NORMAL to initialize action
- fix typos and add headers needed to compile
2010-09-29 05:13:23 -05:00
Jaime Casanova
ae628d0527 Changes in repmgr are:
- Add checks to test if the directories are useful for us (basically
  the checks follow the same approach as initdb does)
- Add connection parameters
- Better use of rsync
- Some more clean up of code

Changes in repmgrd are:
- Add a parameter to allow the user specify an repmgr.conf
- Change the name of the repl_status table for repl_monitor
- Create a repl_status view that also shows lag in time
- Some more clean up of code
2010-09-28 17:28:56 -05:00
postgres
44a3548c2e Add connection options and a lot of validations, i still
have to complete the use of the connection options but
the program should still be usable.
2010-09-22 05:08:44 -05:00
postgres
93417715d4 Add docs, fix Makefile and fix some bugs and typos 2010-09-17 07:14:52 -05:00
postgres
707c501b24 Add repmgr client command. 2010-09-15 15:38:54 -05:00