Bruce Momjian
c1b617987d
Add username designations to all pg_upgrade utility calls that support it.
16 years ago
Bruce Momjian
601d1eeddc
Fix pg_upgrade's use of pg_ctl on Win32 to not send command and sever
...
output to the same file, because it is impossible.
Also set user name for pg_dumpall in pg_upgrade.
16 years ago
Bruce Momjian
1aa117506d
Fix pg_upgrade to remove malloc(0) call.
16 years ago
Bruce Momjian
24cb6ab9af
Fix storage of getopt() return, should be 'int', for pg_upgrade.
...
Steve Singer
16 years ago
Bruce Momjian
8141523e35
Properly define pg_upgrade global variable, per bug report from Chris
...
Ruprecht on Mac (64 bit).
16 years ago
Bruce Momjian
785c2acc12
Update pg_upgrade C comment about cwd.
16 years ago
Bruce Momjian
1dc7c796c9
Have pg_upgrade create its output files in the current directory, rather
...
than in a subdirectory of the $HOME directory, or $TMP in Windows.
16 years ago
Bruce Momjian
9b6dba1193
Remove IMPLEMENTATION.jp file from pg_upgrade docs; still in pgFoundry
...
for pg_migrator, per suggestion from Magnus.
16 years ago
Bruce Momjian
02265f06b7
Update pg_upgrade IMPLEMENTATION doc file to match current 9.0 behavior.
16 years ago
Bruce Momjian
238d21d7d2
Modify pg_standby, pgbench, and pg_upgrade manual pages to be consistent
...
in their display of command-line options with other client applications.
16 years ago
Bruce Momjian
f4e9436026
Add Japanese Implementation file to CVS.
16 years ago
Bruce Momjian
7a74d70e71
Re-order pg_upgrade 'help' options to be alphabetical.
16 years ago
Bruce Momjian
6368682788
In pg_upgrade, test for datallowconn instead of hardcoding template0.
16 years ago
Bruce Momjian
00be75415c
Split apart pg_upgrade user lookup and root check so '--help' shows
...
proper default username.
16 years ago
Tom Lane
add8044778
issue_warnings() has no business freeing its parameter, especially not when
...
its sole caller does that too. Jan Matousek, via Pavel Stehule
16 years ago
Bruce Momjian
3245bd5240
Simplify pg_upgrade queries by using IN instead of multiple OR clauses
...
comparing the same column to multiple values.
16 years ago
Bruce Momjian
573e446f6f
For pg_upgrade, update template0's datfrozenxid and its relfrozenxids to
...
match the behavior of autovacuum, which does this as the xid advances
even if autovacuum is turned off.
16 years ago
Bruce Momjian
64719a18db
Use a 'datallowconn' check for avoiding 'template0', rather than
...
hardcoding a 'template0' check, per suggestion from Alvaro.
This might fix a problem where someone has allowed 'template0'
connections, but it is a cleaner approach even if doesn't fix the
bug.
16 years ago
Bruce Momjian
37953b2d20
Add pg_upgrade TESTING files explaining a testing method.
16 years ago
Bruce Momjian
5c337fb45c
Adjust pg_upgrade BSD defines for scandir(), per report from Giles Lean
16 years ago
Bruce Momjian
5781d96dc3
Change bsdi define to __bsdi__
16 years ago
Tom Lane
88fba7089e
Fix another obvious bug pointed out by a compiler warning.
16 years ago
Tom Lane
0546906064
Remove another unsafe use of random data as a format string.
16 years ago
Tom Lane
8eac39780d
Get rid of unsafe sprintf and snprintf usages. Per compiler warnings.
16 years ago
Tom Lane
adf6b8edfb
Spell __darwin__ correctly, to suppress compiler warning on OSX.
16 years ago
Bruce Momjian
e9ad14f9f4
Use NAMEDATALEN instead of local define.
...
Modify path separators for Win32.
Per ideas from Takahiro Itagaki
16 years ago
Bruce Momjian
36d3afd2d4
Remove all mentions of EnterpriseDB Advanced Server from pg_upgrade;
...
EDB must maintain their own patch set for this.
16 years ago
Tom Lane
382ff21203
Fix up lame idea of not using autoconf to determine if platform has scandir().
...
Should fix buildfarm failures.
16 years ago
Magnus Hagander
2b61b3e507
Assorted fixes to make pg_upgrade build on MSVC.
...
* There is no chmod() on Windows.
* Must always use the 3-parameter version of open()
* There is no dynloader.h - but it also appears unnecessary on all platforms
* Don't include shlobj.h because it causes compile errors, and from what I can
see it's not actually used. This may need to be added back for mingw
and/or cygwin in the worst case.
16 years ago
Bruce Momjian
9885206cab
Move pg_upgrade shared library out into its own /contrib directory
...
(pg_upgrade_support).
16 years ago
Tom Lane
c9c25a982c
Clean up unnecessary unportability and compiler warnings by removing the
...
cmp parameter for pg_scandir(). The code failed to support this anyway
for Sun/Windows, so pretending we could accept a parameter other than
NULL was just asking for trouble.
16 years ago
Bruce Momjian
b460b5cd11
Move pg_upgrade TODO to TODO wiki.
16 years ago
Bruce Momjian
395d1259ad
Add PGFILEDESC description to Makefiles for all /contrib executables.
...
Add PGAPPICON to all executable makefiles.
16 years ago
Bruce Momjian
561afa534d
Small formatting adjustment.
16 years ago
Bruce Momjian
a898199df5
Add pg_upgrade IMPLEMENTATION file to CVS.
16 years ago
Bruce Momjian
6c4a98d99c
Add TODO file to CVS.
16 years ago
Bruce Momjian
c2e9b2f288
Add pg_upgrade to /contrib; will be in 9.0 beta2.
...
Add documentation.
Supports migration from PG 8.3 and 8.4.
16 years ago
Tom Lane
d20763dbee
Remove contrib modules that have been agreed to be obsolete.
...
(There are more that will be removed once they've been copied to
pgfoundry.org.)
21 years ago
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
22 years ago
Peter Eisentraut
6d27cfdd89
Make pg_resetxlog options parsing more standard and prepare messages for
...
translation.
24 years ago
Bruce Momjian
c3c54a21b6
Disable pg_upgrade for 7.3.
24 years ago
Bruce Momjian
c419c22414
Update pg_upgrade for 7.3.
24 years ago
Bruce Momjian
966e6478b5
Fix flag handling of pg_upgrade.
24 years ago
Bruce Momjian
a7ff4a7393
Add mention of recovery using pg_upgrade.
24 years ago
Bruce Momjian
c69c25ba4d
Update HISTORY/release.sgml for Monday release.
24 years ago
Bruce Momjian
85bc36158d
Enable /contrib/pg_upgrade, mention little testing.
24 years ago
Bruce Momjian
eb410b6bde
Manual page improvements.
24 years ago
Bruce Momjian
08147fa7da
More cleanups.
24 years ago
Bruce Momjian
a73517cb8c
Keep pg_upgrade as disabled.
24 years ago
Bruce Momjian
19cba1a775
More wording improvements.
24 years ago