Commit Graph

  • 716a0ae9d3 removed any malloc operation, added t_runtime_options struct Gabriele Bartolini 2010-12-29 23:56:37 +01:00
  • 7a3be3a2f9 Cleaned log messages (\n at the end of every line) Gabriele Bartolini 2010-12-29 19:05:40 +01:00
  • f6a6632169 Added new log system to both repmgr and repmgrd. Needs cleaning, but it is a good starting point Gabriele Bartolini 2010-12-29 18:08:40 +01:00
  • 2c1eafd7a9 first alpha version for syslog support Gabriele Bartolini 2010-12-29 01:23:15 +01:00
  • 1787cf1c21 Update credits and history to reflect recent merges Greg Smith 2011-02-10 15:19:00 -05:00
  • 287e2c1a67 Tweak .gitignore to ignore more doc build artifacts Greg Smith 2011-02-10 15:09:18 -05:00
  • b487772b84 added note about postgresql-server-dev-9.0 and use libxslt-dev instead of version specific package name trbs 2011-01-11 18:24:17 +01:00
  • 52313a2d6e made rsync_options configurable trbs 2011-01-08 01:46:39 +01:00
  • 814863edf2 use struct for config file information trbs 2011-01-07 01:36:46 +01:00
  • e4f431c355 fix line trbs 2011-01-07 01:32:31 +01:00
  • c3816d8586 added readme.html to gitignore trbs 2011-01-06 23:46:21 +01:00
  • 4ea0fc4214 Updated README with Debian/Ubuntu install information trbs 2010-12-23 15:02:23 +01:00
  • 03ed0e692a fix strformat order reversal in error message trbs 2010-12-23 15:02:02 +01:00
  • ce21291418 Issue a message when a configuration file is passed unnecessarily Daniel Farina 2011-02-10 03:17:10 -08:00
  • 4b007bf4bc Use a better check for when to issue an error message Daniel Farina 2011-02-10 03:12:51 -08:00
  • da82829659 Avoid checking config file when performing standby clone action Daniel Farina 2011-02-10 02:10:58 -08:00
  • ebbb7c3a47 Fix more quoting: used an overly-quoted copy Dan Farina 2011-02-07 02:26:02 -08:00
  • 630d716819 Use the proper freeing method Dan Farina 2011-02-07 01:48:14 -08:00
  • c1b84fe9fc Make some fast hacks to quote schema names Dan Farina 2011-02-06 19:35:20 -08:00
  • bfd3aed33b Fix a myriad of problems introduced by merging Dan Farina 2011-02-06 18:32:49 -08:00
  • c356f9e97f Merge remote-tracking branch 'tbrs/master' into heroku Dan Farina 2011-02-04 18:35:56 -08:00
  • a52ebc412c Merge remote-tracking branch 'origin/master' into heroku Dan Farina 2011-02-04 18:27:28 -08:00
  • fbf97807b8 Remove spurious file Cédric Villemain 2011-01-27 21:29:01 +01:00
  • 3cce9efac0 Merge branch 'master' of git+ssh://git.2ndquadrant.it/git/repmgr Hannu Krosing 2011-01-27 10:04:25 +02:00
  • ec8678379f Makefile changes for building debian packages, left out of previous commit Hannu Krosing 2011-01-27 10:02:59 +02:00
  • d017edbe47 Adding information for debian and --version test Cédric Villemain 2011-01-27 02:10:31 +01:00
  • f41ba482eb dded section on building on Debian and Ubuntu Hannu Krosing 2011-01-27 01:09:18 +02:00
  • 4c5fad2070 simple support for creating deb file Hannu Krosing 2011-01-27 00:32:52 +02:00
  • 0dd31b09dd Additional notes on 32 vs. 64 build issues Greg Smith 2011-01-22 09:59:43 -05:00
  • 943dda0ad0 Document potential build issues on RPM Greg Smith 2011-01-22 09:08:43 -05:00
  • d4de19bc78 Doc warning: need server restart after config change Greg Smith 2011-01-17 15:38:44 -05:00
  • 1999b534fd added note about postgresql-server-dev-9.0 and use libxslt-dev instead of version specific package name trbs 2011-01-11 18:24:17 +01:00
  • 57169f51cf made rsync_options configurable trbs 2011-01-08 01:46:39 +01:00
  • fc2405f17d use struct for config file information trbs 2011-01-07 01:36:46 +01:00
  • 4a0e827464 fix line trbs 2011-01-07 01:32:31 +01:00
  • 745392e3a2 added readme.html to gitignore trbs 2011-01-06 23:46:21 +01:00
  • 170f519d84 Fixing a message, shouldn't show progname in the middle of a line. Is one message not two. Jaime Casanova 2010-12-29 00:45:33 -05:00
  • cf5717ad59 Updated README with Debian/Ubuntu install information trbs 2010-12-23 15:02:23 +01:00
  • cb1192b912 fix strformat order reversal in error message trbs 2010-12-23 15:02:02 +01:00
  • 156714f3f1 Fix quoting misbehavior Dan Farina 2010-12-23 01:03:44 -08:00
  • dd5ac660bf Comments and cleanup Dan Farina 2010-12-23 00:53:31 -08:00
  • 3a430397dc Avoid overwriting the new password-in-recovery.conf formatting Dan Farina 2010-12-23 00:53:01 -08:00
  • 1f098c60ac Remove dead-ish code Dan Farina 2010-12-23 00:49:24 -08:00
  • 0bae682a0d Fix off-by-one in passing buffer size to xsnprintf Dan Farina 2010-12-23 00:46:59 -08:00
  • f969dca821 Hack to get passwords in recovery.conf Dan Farina 2010-12-22 19:43:32 -08:00
  • 29c39c21f6 Avoid a use-after-free in verbose logging (again) Dan Farina 2010-12-22 15:01:35 -08:00
  • 620974ba04 Fix unsafe string handling Dan Farina 2010-12-22 19:00:21 -08:00
  • 9843205a4f Reformat all source code using astyle astyle --style=ansi --indent=tab Greg Smith 2010-12-22 19:07:01 -05:00
  • 1ddb78ddd8 Merge branch 'license' of https://github.com/gbartolini/repmgr into gbartolini-license Greg Smith 2010-12-22 19:02:50 -05:00
  • b0e1428caa Add contribution information Greg Smith 2010-12-22 19:01:58 -05:00
  • 47349b01e0 Merge branch 'gabriele-2010-12' of https://github.com/gbartolini/repmgr into gbartolini-gabriele-2010-12 Greg Smith 2010-12-22 18:43:14 -05:00
  • e5d886d651 Add CREDITS file Greg Smith 2010-12-22 18:42:24 -05:00
  • 91a304e3ee Add HISTORY file. Ignore build artifacts in git. Greg Smith 2010-12-22 18:34:29 -05:00
  • faddaed316 Avoid a use-after-free in verbose logging Dan Farina 2010-12-22 15:01:35 -08:00
  • 7b0a142075 Merge remote branch 'gbartolini/gabriele-2010-12' into heroku Dan Farina 2010-12-21 16:06:42 -08:00
  • ec73a07e2f Make various buffers larger Dan Farina 2010-12-10 12:55:45 -08:00
  • fc13d50e37 Canonicalize whitespace Dan Farina 2010-12-10 12:55:30 -08:00
  • 309bb92d95 Prevent a double-free Dan Farina 2010-12-10 12:51:42 -08:00
  • 6cea339697 Fix a use-after-free Dan Farina 2010-12-10 12:50:52 -08:00
  • 3f2094a242 Initialize connection pointers to NULL Dan Farina 2010-12-10 12:47:09 -08:00
  • 84b69b3bd4 Whitespace to adjust for longer snprintf identifier Dan Farina 2010-12-07 21:37:56 -08:00
  • 916c0492fb sprintf to snprintf conversion Dan Farina 2010-12-07 21:31:49 -08:00
  • 846c0b92e8 Install install/uninstall SQL also. Dan Farina 2010-12-07 21:30:44 -08:00
  • 778303bb6e Split up install/uninstall actions more like a standard contrib Dan Farina 2010-12-07 21:30:20 -08:00
  • af2edf10a0 Attack of whitespace pedantry Dan Farina 2010-12-05 23:31:22 -08:00
  • d88783a4d9 Changed pg_version() prototype in order to remove the small memory leak Gabriele Bartolini 2010-12-16 22:48:19 +01:00
  • f2bec9a08f Some cosmetic changes Gabriele Bartolini 2010-12-16 22:31:26 +01:00
  • 05e88a2cc8 removed strncmp improper usage, initialise values asap Gabriele Bartolini 2010-12-16 22:21:27 +01:00
  • 763a1e8b3d Reviewed the code, fixed a small bug with option name detection Gabriele Bartolini 2010-12-16 22:14:18 +01:00
  • c687d0d670 Reviewed the code, fixed a small bug with option name detection Gabriele Bartolini 2010-12-16 22:13:30 +01:00
  • 9b7a078e0e Added license information in every source file Gabriele Bartolini 2010-12-16 21:50:15 +01:00
  • 56c65acd99 Add force option to help and docs on help Greg Smith 2010-12-06 00:33:02 -05:00
  • 9c238f64c3 Update docs: requirements, walkthrough setup, copyediting v1.0.0 Greg Smith 2010-12-05 21:09:48 -05:00
  • 046d3b6851 Correct log message formatting Greg Smith 2010-12-05 19:54:56 -05:00
  • 8d84d165ef Update README with Robert's walkthrough Greg Smith 2010-11-22 15:20:31 -05:00
  • 6c484409bb Added a --wal-keep-segments parameter which is the minimum value that the PostgreSQL's GUC wal_keep_segments should have for "standby clone" to work reliable. We default to 5000 but it could be changed for the user if it knows what he is doing. Jaime Casanova 2010-11-19 08:36:15 -05:00
  • b4d6966283 After 30 minutes of retry we are supposed to exit, so do that... Jaime Casanova 2010-11-10 13:41:05 -05:00
  • 3565fe1c3a Implement Martin's suggestion about how much we should try to recover the connection instead of doing whatever a want. Jaime Casanova 2010-11-10 13:30:50 -05:00
  • d9eee72bf0 Make repmgrd retry connection to current master 3 times (every 5 min), then try to get a new master 30 times (every 10 min) before exit. It's not retrying forever because after some attempts it gives an error of multiple files opened. Jaime Casanova 2010-11-10 13:13:53 -05:00
  • 3172ad97cf Add rsync remote user name option. Expand docs to include command line help examples. Greg Smith 2010-11-08 15:29:53 -05:00
  • 2082a6acd4 Cleanup ReST code in README so PDF builds work Greg Smith 2010-10-30 16:41:55 -04:00
  • a0bd377f0f Add RPM build against packaged install notes Greg Smith 2010-10-30 16:25:19 -04:00
  • 0cd21c3bdc Add intro to lag monitoring to the docs Greg Smith 2010-10-30 14:31:58 -04:00
  • 915eae9c12 Merged INSTALL into README.rst Greg Smith 2010-10-30 14:18:40 -04:00
  • 77dce1d456 Converted license to the GPL V3 Greg Smith 2010-10-30 13:56:40 -04:00
  • 942ed7b518 Add default makefile target. Document building with PGXS. Convert README to be a .rst file, and make it and INSTALL valid ReST markup in advance of merging the two. Greg Smith 2010-10-29 15:13:23 -04:00
  • 58498389dc Temporarily remove the check if promote actually works, because when the database is taking too long to recover and start it thinks the database is not online. Jaime Casanova 2010-10-28 18:47:56 -05:00
  • 508acf5931 Fix segmentation fault caused when trying to close a lost connection. Jaime Casanova 2010-10-28 08:24:06 -05:00
  • a70a6d2912 Really fix STANDBY FOLLOW this time. Jaime Casanova 2010-10-24 19:20:25 -05:00
  • f45aa077b1 Add message to remember we should REINDEX any hash indexes, i decided not to do it myself because it could take a long time if the index is big. Jaime Casanova 2010-10-23 20:44:05 -05:00
  • 4641ddcc3f Teach repmgrd that if the node is promoted it should exit Jaime Casanova 2010-10-23 20:19:09 -05:00
  • 91276394e8 Check STANDBY PROMOTE actually promote the node Jaime Casanova 2010-10-23 19:54:45 -05:00
  • 028aeb452d Fix STANDBY FOLLOW to correctly recreate recovery.conf Jaime Casanova 2010-10-23 19:44:07 -05:00
  • ed3038ef6b Fix a few typos in my last commit Jaime Casanova 2010-10-23 15:51:08 -05:00
  • 219b4431b4 Replace the function is_supported_version() with the function pg_version() the main difference is that this new function doesn't return a bool but a string representing the current major version of the postgresql server or an empty string if it's earlier than 9.0. Teach all commands that could connect to master and standby that they both should have the same major version. Jaime Casanova 2010-10-23 15:27:24 -05:00
  • 8409727f0c A few more comments Jaime Casanova 2010-10-22 18:41:31 -05:00
  • 45fdbbb426 Another segmentation fault caused by an uninitialized string Jaime Casanova 2010-10-22 18:38:35 -05:00
  • d0650fe199 Fix a segmentation fault that was happening in STANDBY PROMOTE and STANDBY FOLLOW because getMasterConnection() was trying to close a non existent connection Jaime Casanova 2010-10-22 14:27:15 -05:00
  • e3d1580d76 In repmgrd there was the same problem that cause the segfault Jaime Casanova 2010-10-21 17:58:17 -05:00
  • 7ddc80ea92 I was having a segmentation fault because i was using a pointer to char but never indicated a size for the compiler to reserve... malloc() solves my problem Jaime Casanova 2010-10-21 14:49:26 -05:00