- Aug 15, 2014
-
-
Bruce Momjian authored
Print a clear error message in this case, rather than wait for initdb --sync-only to generate a "Permission denied" error.
-
- Jul 15, 2014
-
-
Peter Eisentraut authored
-
- May 06, 2014
-
-
Bruce Momjian authored
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
-
- Apr 16, 2014
-
-
Bruce Momjian authored
The files were already included by pg_upgrade.h.
-
- Feb 15, 2014
-
-
Tom Lane authored
We used to have externs for getopt() and its API variables scattered all over the place. Now that we find we're going to need to tweak the variable declarations for Cygwin, it seems like a good idea to have just one place to tweak. In this commit, the variables are declared "#ifndef HAVE_GETOPT_H". That may or may not work everywhere, but we'll soon find out. Andres Freund
-
Bruce Momjian authored
Per report from Jackie Chang
-
- Jan 07, 2014
-
-
Bruce Momjian authored
Update all files in head, and files COPYRIGHT and legal.sgml in all back branches.
-
- Nov 30, 2013
-
-
Bruce Momjian authored
Setting default_transaction_read_only=true could prevent pg_upgrade from completing, so prepend default_transaction_read_only=false to PGOPTIONS.
-
- Oct 10, 2013
-
-
Peter Eisentraut authored
This allows decorating pg_fatal() with noreturn compiler hints, leading to better diagnostics. Reviewed-by:
Marko Tiikkaja <marko@joh.to>
-
- Jun 29, 2013
-
-
Bruce Momjian authored
If -U (user) is specified, pass the username into the created analyze script. Per request from Ray Stell
-
Bruce Momjian authored
-h (help) is not needed; pg_upgrade already supports --help and -?, which is consistent with other tools.
-
Bruce Momjian authored
Previous code had old/new prefixes on option values, e.g. --old-datadir=OLDDATADIR. Remove them, for simplicity; now: --old-datadir=DATADIR. Also update docs to do the same.
-
- Jun 28, 2013
-
-
Bruce Momjian authored
Change -u (user) option to -U, for consistency with other tools like pg_dump and psql. Also expand --user to --username, again for consistency. BACKWARD INCOMPATIBILITY
-
- May 29, 2013
-
-
Bruce Momjian authored
This is the first run of the Perl-based pgindent script. Also update pgindent instructions.
-
- Feb 12, 2013
-
-
Alvaro Herrera authored
libpgcommon is a new static library to allow sharing code among the various frontend programs and backend; this lets us eliminate duplicate implementations of common routines. We avoid libpgport, because that's intended as a place for porting issues; per discussion, it seems better to keep them separate. The first use case, and the only implemented by this patch, is pg_malloc and friends, which many frontend programs were already using. At the same time, we can use this to provide palloc emulation functions for the frontend; this way, some palloc-using files in the backend can also be used by the frontend cleanly. To do this, we change palloc() in the backend to be a function instead of a macro on top of MemoryContextAlloc(). This was previously believed to cause loss of performance, but this implementation has been tweaked by Tom and Andres so that on modern compilers it provides a slight improvement over the previous one. This lets us clean up some places that were already with localized hacks. Most of the pg_malloc/palloc changes in this patch were authored by Andres Freund. Zoltán Böszörményi also independently provided a form of that. libpgcommon infrastructure was authored by Álvaro.
-
- Jan 01, 2013
-
-
Bruce Momjian authored
Fully update git head, and update back branches in ./COPYRIGHT and legal.sgml files.
-
- Dec 27, 2012
-
-
Bruce Momjian authored
Add pg_upgrade --jobs, which allows parallel dump/restore of databases, which improves performance.
-
- Sep 04, 2012
-
-
Bruce Momjian authored
socket location. Also, prevent putting the socket in the current directory for pre-9.1 servers in live check and non-live check mode, because pre-9.1 pg_ctl -w can't handle it. Backpatch to 9.2.
-
- Sep 03, 2012
-
-
Tom Lane authored
When starting either an old or new postmaster, force it to place its Unix socket in the current directory. This makes it even harder for accidental connections to occur during pg_upgrade, and also works around some scenarios where the default socket location isn't usable. (For example, if the default location is something other than "/tmp", it might not exist during "make check".) When checking an already-running old postmaster, find out its actual socket directory location from postmaster.pid, if possible. This dodges problems with an old postmaster having a configured location different from the default built into pg_upgrade's libpq. We can't find that out if the old postmaster is pre-9.1, so also document how to cope with such scenarios manually. In support of this, centralize handling of the connection-related command line options passed to pg_upgrade's subsidiary programs, such as pg_dump. This should make future changes easier. Bruce Momjian and Tom Lane
-
- Jul 06, 2012
-
-
Bruce Momjian authored
-
Bruce Momjian authored
report from Tom. Backpatch to 9.2.
-
- Jun 18, 2012
-
-
Peter Eisentraut authored
Before, some places didn't document the short options (-? and -V), some documented both, some documented nothing, and they were listed in various orders. Now this is hopefully more consistent and complete.
-
- Jun 10, 2012
-
-
Bruce Momjian authored
commit-fest.
-
- May 24, 2012
-
-
Bruce Momjian authored
Windows, to avoid opening a file by multiple processes.
-
- May 08, 2012
-
-
Peter Eisentraut authored
Placeholders such as OPTION are typically kept in singular.
-
- Mar 13, 2012
-
-
Bruce Momjian authored
add ability to control permissions of created files have psql echo its queries for easier debugging output four separate log files, and delete them on success add -r/--retain option to keep log files after success make logs file append-only remove -g/-G/-l logging options sugggest tailing appropriate log file on failure enhance -v/--verbose behavior
-
- Feb 23, 2012
-
-
Bruce Momjian authored
-l, --logfile=FILENAME log internal activity to file\n\
-
- Jan 27, 2012
-
-
Bruce Momjian authored
-
- Jan 02, 2012
-
-
Bruce Momjian authored
-
- Nov 04, 2011
-
-
Robert Haas authored
Kevin Grittner
-
- Oct 10, 2011
-
-
Bruce Momjian authored
document its use for config-only directory installs.
-
- Oct 07, 2011
-
-
Bruce Momjian authored
directory, for config-only directory installs. Only works for PG 9.2+ servers.
-
- Aug 27, 2011
-
-
Bruce Momjian authored
remove from local *.h files. Per suggestion from Alvaro.
-
- Jul 21, 2011
-
-
Bruce Momjian authored
Also, double-quote the log file name in all places, to allow (on all platforms) log file names with spaces. Back patch to 9.0 and 9.1.
-
- Jul 12, 2011
-
-
Peter Eisentraut authored
Add errno-based output to error messages where appropriate, reformat blocks to about 72 characters per line, use spaces instead of tabs for indentation, and other style adjustments.
-
- Jul 02, 2011
-
-
Bruce Momjian authored
client connections during the upgrade. Also rename data/bin/port environment variables to being with 'PG'. Also no longer honor PGPORT.
-
- Jun 22, 2011
-
-
Bruce Momjian authored
-
Bruce Momjian authored
binary directory has been validated. Backpatch to 9.1. Dan McGee
-
- Jun 15, 2011
-
-
Bruce Momjian authored
-
- Jun 09, 2011
-
-
Bruce Momjian authored
-