-
Notifications
You must be signed in to change notification settings - Fork 34
Comparing changes
Open a pull request
base repository: fdr/repmgr
base: master
head repository: fdr/repmgr
compare: hack
- 15 commits
- 13 files changed
- 1 contributor
Commits on Dec 21, 2010
-
pgsql conventions (tabs, four-spaces-wide, etc) applied all around. Also tried to fix some very tiny capitalization errors, auto-fill problems, and some inter-block vertical whitespacing issues. Long strings in repmgr.c were left intact, though. They are rather numerous and are less of a problem than tiny bits of function calls and comments wrapping over a line; the latter kind of problem has been mostly fixed. Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for af2edf1 - Browse repository at this point
Copy the full SHA af2edf1View commit details -
Split up install/uninstall actions more like a standard contrib
Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for 778303b - Browse repository at this point
Copy the full SHA 778303bView commit details -
Install install/uninstall SQL also.
Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for 846c0b9 - Browse repository at this point
Copy the full SHA 846c0b9View commit details -
sprintf to snprintf conversion
Move out string operations to another file, and introduce a frontend to snprintf for various situations. This change is important for catching and eliminating sprintf overflows, which are as of now many times silently corrupting memory. Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for 916c049 - Browse repository at this point
Copy the full SHA 916c049View commit details -
Whitespace to adjust for longer snprintf identifier
This is done in a separate patch to try and reduce the sound and fury of the patch that actually did the conversion from sprintf to snprintf-alikes. Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for 84b69b3 - Browse repository at this point
Copy the full SHA 84b69b3View commit details -
Initialize connection pointers to NULL
This makes some bugs easier to find. Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for 3f2094a - Browse repository at this point
Copy the full SHA 3f2094aView commit details -
A result is being cleared while there are still pointers that refer to datums in it. Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for 6cea339 - Browse repository at this point
Copy the full SHA 6cea339View commit details -
This can occur because prior to this, there is a code path that looks like this: primaryConn = myLocalConn CloseConnections will subsequently try to free both with PQFinish. I'm not sure if this is the right fix -- it's more of hack -- without more information about design intention. One reasonable alternative would be to have CloseConnections perform this check itself. As-is I am pretty sure that this fix leaves a signal-race (when CloseConnections is called, without the check, in the interrupt handler) unfixed. Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for 309bb92 - Browse repository at this point
Copy the full SHA 309bb92View commit details -
Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for fc13d50 - Browse repository at this point
Copy the full SHA fc13d50View commit details -
MAXLEN definitely needed to be bigger to properly format fairly common connection strings. In addition, the reliance on xsnprintf helps detect cases where even this buffer is not long enough. the buffer in parse_config has been made bigger in a bit of sloppy programming, but what really needs to happen is reporting when a line cannot be properly parsed/is too big for the buffer. That is just a kludge. Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
Dan Farina authored and Peter van Hardenberg committedDec 21, 2010 Configuration menu - View commit details
-
Copy full SHA for ec73a07 - Browse repository at this point
Copy the full SHA ec73a07View commit details
Commits on Dec 22, 2010
-
Merge remote branch 'gbartolini/gabriele-2010-12' into heroku
Conflicts: config.c dbutils.c dbutils.h repmgrd.c Signed-off-by: Dan Farina <drfarina@acm.org>
Dan Farina committedDec 22, 2010 Configuration menu - View commit details
-
Copy full SHA for 7b0a142 - Browse repository at this point
Copy the full SHA 7b0a142View commit details -
Avoid a use-after-free in verbose logging
Previously, this print would use memory freed by PQClear previously. Signed-off-by: Dan Farina <drfarina@acm.org>
Dan Farina committedDec 22, 2010 Configuration menu - View commit details
-
Copy full SHA for faddaed - Browse repository at this point
Copy the full SHA faddaedView commit details
Commits on Dec 23, 2010
-
It looks like the old code would overflow in some cases. Signed-off-by: Dan Farina <drfarina@acm.org>
Dan Farina committedDec 23, 2010 Configuration menu - View commit details
-
Copy full SHA for 620974b - Browse repository at this point
Copy the full SHA 620974bView commit details -
Avoid a use-after-free in verbose logging (again)
Previously, this print would use memory freed by PQClear previously. Also allocate/free memory to prevent this tiny memory leak. Signed-off-by: Dan Farina <drfarina@acm.org>
Dan Farina committedDec 23, 2010 Configuration menu - View commit details
-
Copy full SHA for 29c39c2 - Browse repository at this point
Copy the full SHA 29c39c2View commit details -
Hack to get passwords in recovery.conf
Signed-off-by: Dan Farina <drfarina@acm.org>
Dan Farina committedDec 23, 2010 Configuration menu - View commit details
-
Copy full SHA for f969dca - Browse repository at this point
Copy the full SHA f969dcaView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...hack