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.
2010-05-25 15:55:28 +00:00
Bruce Momjian
7ff79fa425
Add pg_upgrade docs about binary compatibility, per Robert Haas.
2010-05-25 14:50:56 +00:00
Michael Meskes
555a02f910
Added a configure test for "long long" datatypes. So far this is only used in ecpg and replaces the old test that was kind of hackish.
2010-05-25 14:32:55 +00:00
Bruce Momjian
f4e9436026
Add Japanese Implementation file to CVS.
2010-05-25 02:56:36 +00:00
Bruce Momjian
7a74d70e71
Re-order pg_upgrade 'help' options to be alphabetical.
2010-05-25 02:55:58 +00:00
Bruce Momjian
6368682788
In pg_upgrade, test for datallowconn instead of hardcoding template0.
2010-05-24 19:52:33 +00:00
Bruce Momjian
4b9904a0f8
Update pg_upgrade docs to show options in alphabetical order, and
...
improve 8.3 doc limitations paragraph.
2010-05-24 17:43:39 +00:00
Bruce Momjian
00be75415c
Split apart pg_upgrade user lookup and root check so '--help' shows
...
proper default username.
2010-05-24 16:34:35 +00:00
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
2010-05-23 16:54:13 +00:00
Tom Lane
7df4cf7fd3
Fix oversight in join removal patch: we have to delete the removed relation
...
from SpecialJoinInfo relid sets as well. Per example from Vaclav Novotny.
2010-05-23 16:34:38 +00:00
Robert Haas
c8518845de
Unbreak \h; can't do strlen(NULL).
...
This was broken by the following commmit. Although the original commit was
backpatched all the way to 7.4, this particular bug exists only in the version
applied to HEAD.
http://archives.postgresql.org/pgsql-committers/2010-05/msg00058.php
2010-05-21 17:37:44 +00:00
Michael Meskes
15ab0e9a60
Ecpg now accepts "long long" datatypes even if "long" is 64bit wide. This used to cover the equally long "long long" type. This patch closes bug #5464 .
2010-05-20 22:10:46 +00:00
Tom Lane
de98ef62c7
Fix index entry for lo_compat_privileges, per bug #5467 from KOIZUMI Satoru.
2010-05-20 20:32:27 +00:00
Magnus Hagander
ef01b235f8
Change the "N. Central Asia Standard Time" timezone to map to
...
Asia/Novosibirsk on Windows.
Microsoft changed the behaviour of this zone in the timezone update
from KB976098. The zones differ in handling of DST, and the old
zone was just removed.
Noted by Dmitry Funk
2010-05-20 14:13:11 +00:00
Bruce Momjian
47671aae77
Show oid2name command-line arguments in documentation like we do for
...
non-contrib command-line tools (no longer in a single table display).
2010-05-20 03:45:38 +00:00
Bruce Momjian
9974a46004
SGML markup cleanup for pg_upgrade.
2010-05-19 20:47:18 +00:00
Bruce Momjian
5add506838
Doc change: Rename of directory no longer required for pg_migrator 9.0.
...
Alvaro
2010-05-19 20:40:33 +00:00
Bruce Momjian
5eae7e1756
pg_upgrade doc cleanup
...
Stefan Kaltenbrunner
2010-05-19 20:37:03 +00:00
Bruce Momjian
2963d82281
Restore oid2name doc change.
2010-05-19 20:22:05 +00:00
Bruce Momjian
67fd5f3c85
Add command-line documentation for pg_upgrade.
2010-05-19 20:20:38 +00:00
Bruce Momjian
3245bd5240
Simplify pg_upgrade queries by using IN instead of multiple OR clauses
...
comparing the same column to multiple values.
2010-05-19 18:56:47 +00:00
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.
2010-05-19 18:27:43 +00:00
Magnus Hagander
3ef9574102
Refer to pg_ident.conf as config file for username mapping, as it's
...
now used for other things than just ident authentication.
Noted by Stephen Frost
2010-05-18 19:05:17 +00:00
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.
2010-05-18 18:40:51 +00:00
Magnus Hagander
60e7f45966
Make pg_upgrade documentation refer to 9.0 instead of 8.4.
...
Fujii Masao
2010-05-18 15:41:36 +00:00
Andrew Dunstan
2627d5bd0d
Fix regression tests to match error message change
2010-05-18 03:35:34 +00:00
Bruce Momjian
37953b2d20
Add pg_upgrade TESTING files explaining a testing method.
2010-05-18 03:26:12 +00:00
Robert Haas
11f2efd12a
Move pg_notify() details to a subsection within the NOTIFY reference page.
...
This allows the index to reference the pg_notify() subsection specifically,
rather than Notes section of the NOTIFY reference page more generally.
Fujii Masao
2010-05-18 02:28:53 +00:00
Alvaro Herrera
91e01e21a2
Make table in example less wide.
2010-05-17 20:50:44 +00:00
Andrew Dunstan
a6eeb8c10d
Follow up a visit from the style police.
2010-05-17 19:43:04 +00:00
Andrew Dunstan
99ad9236bc
Clarify plperl subroutine name release notes item, remove now redundant Safe.pm item.
2010-05-17 17:46:13 +00:00
Robert Haas
6d932df652
Insert line breaks in two places in SQL functions documentation.
...
This avoids a formatting problem in the PDF output. In the HTML output this
isn't necessary, but we've done similar things elsewhere in the documentation
so I think it's OK to do it here, too. I've refrained from breaking a longish
error message which also causes problems for the PDF output, because that would
make the HTML output look wrong.
Erik Rijkers
2010-05-16 04:35:04 +00:00
Robert Haas
4384a95a57
Fix longstanding typo in V1 calling conventions documentation.
...
Erik Rijkers
2010-05-16 03:55:41 +00:00
Tom Lane
bd823e11fa
Ensure that pg_restore -l will output DATABASE entries whether or not -C
...
is specified. Per bug report from Russell Smith and ensuing discussion.
Since this is a corner case behavioral change, I'm going to be conservative
and not back-patch it.
In passing, also rename the RestoreOptions field for the -C switch to
something less generic than "create".
2010-05-15 21:41:16 +00:00
Robert Haas
ea9968c331
Rename PM_RECOVERY_CONSISTENT and PMSIGNAL_RECOVERY_CONSISTENT.
...
The new names PM_HOT_STANDBY and PMSIGNAL_BEGIN_HOT_STANDBY more accurately
reflect their actual function.
2010-05-15 20:01:32 +00:00
Tom Lane
d7b6c8c0a5
Improve documentation of pg_restore's -l and -L switches to point out their
...
interactions with filtering switches, such as -n and -t. Per a complaint
from Russell Smith.
2010-05-15 18:11:07 +00:00
Tom Lane
c453569f0d
Spell __NetBSD__ the same way everywhere. Per Giles Lean.
2010-05-15 14:44:13 +00:00
Bruce Momjian
5c337fb45c
Adjust pg_upgrade BSD defines for scandir(), per report from Giles Lean
2010-05-15 10:21:54 +00:00
Bruce Momjian
5b79fdadda
Use __bsdi__ consistently.
2010-05-15 10:14:20 +00:00
Bruce Momjian
5781d96dc3
Change bsdi define to __bsdi__
2010-05-15 10:08:28 +00:00
Heikki Linnakangas
de4e18a34d
Fix typos in comments, spotted by Josh Kupershmidt.
2010-05-15 09:31:57 +00:00
Simon Riggs
4a24c9a063
Fix bug in processing of checkpoint time for max_standby_delay. Latest
...
log time was incorrectly set, typically leading to dates in the past,
which would cause more cancellations in Hot Standby on a quiet server.
2010-05-15 07:14:43 +00:00
Robert Haas
a724584735
We now accept read-only connections in state PM_RECOVERY_CONSISTENT.
2010-05-14 18:08:33 +00:00
Itagaki Takahiro
0b38f3b192
Remove CRs.
2010-05-14 10:37:02 +00:00
Simon Riggs
fd34374b17
Add many new Asserts in code and fix simple bug that slipped through
...
without them, related to previous commit. Report by Bruce Momjian.
2010-05-14 07:11:49 +00:00
Tom Lane
88fba7089e
Fix another obvious bug pointed out by a compiler warning.
2010-05-14 00:43:42 +00:00
Tom Lane
0546906064
Remove another unsafe use of random data as a format string.
2010-05-14 00:39:51 +00:00
Tom Lane
8eac39780d
Get rid of unsafe sprintf and snprintf usages. Per compiler warnings.
2010-05-14 00:32:21 +00:00
Tom Lane
adf6b8edfb
Spell __darwin__ correctly, to suppress compiler warning on OSX.
2010-05-14 00:19:46 +00:00
Bruce Momjian
e9ad14f9f4
Use NAMEDATALEN instead of local define.
...
Modify path separators for Win32.
Per ideas from Takahiro Itagaki
2010-05-14 00:13:38 +00:00