Commit Graph

9769 Commits

Author SHA1 Message Date
Bruce Momjian
8cc3c67c24 Back out syntax case changes --- seems they were intentional. 2010-08-12 02:04:07 +00:00
Bruce Momjian
f483b02041 Properly lowercase identifiers, uppercase keywords, in doc examples 2010-08-11 21:49:01 +00:00
Robert Haas
101096013e Fix one more incorrect errno definition in the ECPG manual.
Again, back-patch all the way to 7.4.
2010-08-11 19:03:25 +00:00
Robert Haas
5eac6a9ac0 Fix incorrect errno definitions in ECPG manual.
ecpgerrno.h hasn't materially changed since PostgreSQL 7.4, so this has
been wrong for a very long time.  Back-patch all the way.

Satoshi Nagayasu
2010-08-11 18:52:12 +00:00
Peter Eisentraut
efb49d5bea Add some links to tables 2010-08-10 20:42:02 +00:00
Peter Eisentraut
e0e08d3c80 <example> is a floating element, so it's use is inappropriate when the
surrounding text refers to the example inline.
2010-08-10 20:41:28 +00:00
Robert Haas
65559c385d Use double quotes rather than double quotes for libpq target anchors.
Per observation from Tom Lane that the previous patch to these files was
not consistent with what is done elsewhere in the docs.
2010-08-10 02:57:03 +00:00
Bruce Momjian
4798e21447 Add EXPLAIN documentation example.
gabrielle <gorthx@gmail.com>

Backpatch to 9.0.X.
2010-08-09 23:49:33 +00:00
Robert Haas
6d8ae3fa08 Provide stable target anchors for libpq functions.
Daniele Varrazzo
2010-08-09 12:00:39 +00:00
Peter Eisentraut
d720567f21 Fix indexterm spelling 2010-08-06 20:09:01 +00:00
Tom Lane
d92ca54d0a Let's put that </link> in a sane place ... 2010-08-06 19:13:18 +00:00
Tom Lane
9a299eee03 Fix inaccurate description of deferrable unique constraints, per Dean Rasheed. 2010-08-06 18:55:30 +00:00
Robert Haas
00d9d5964e Rearrange "big features" section of the release notes.
Josh Berkus
2010-08-06 17:57:03 +00:00
Peter Eisentraut
5f5f193662 Document which Python environment variables affect PL/Python 2010-08-05 18:36:31 +00:00
Tom Lane
bdd538c571 Remove the single-argument form of string_agg(). It added nothing much in
functionality, while creating an ambiguity in usage with ORDER BY that at
least two people have already gotten seriously confused by.  Also, add an
opr_sanity test to check that we don't in future violate the newly minted
policy of not having built-in aggregates with the same name and different
numbers of parameters.  Per discussion of a complaint from Thom Brown.
2010-08-05 18:21:31 +00:00
Tom Lane
6a366113e6 Forgot to back-patch earlier change to documentation for aggregate
ORDER BY clauses.
2010-08-04 22:31:55 +00:00
Tom Lane
5e84e1ac05 Fix sloppy mistakes in documentation of PQescapeLiteral and PQescapeIdentifier.
Noted by Dmitriy Igrishin.
2010-08-04 16:27:13 +00:00
Marc G. Fournier
5f3c54a3a6 tag for beta4 2010-07-30 03:31:41 +00:00
Tom Lane
a0194371a8 Update release notes for 9.0 beta 4. Back-patch some changes that were made only in HEAD. 2010-07-29 21:18:16 +00:00
Peter Eisentraut
85084020be Fix indentation of verbatim block elements
Block elements with verbatim formatting (literallayout, programlisting,
screen, synopsis) should be aligned at column 0 independent of the surrounding
SGML, because whitespace is significant, and indenting them creates erratic
whitespace in the output.  The CSS stylesheets already take care of indenting
the output.

Assorted markup improvements to go along with it.
2010-07-29 19:34:37 +00:00
Tom Lane
19600de638 Work around a documentation toolchain problem by replacing the "AIX-fixlevels"
table with a <variablelist> carrying the same information.  Previously the
9.0 documentation was failing to build as a US-size PDF file.  It's quite
obscure what the real problem is or why this avoids it, but we need a hack
now so we can build docs for beta4.

In passing do a bit of editing in the AIX installation docs, in particular
remove a long-obsolete claim that the regression tests are likely to fail.
2010-07-29 18:29:57 +00:00
Robert Haas
43d3d2a5fd Fix typo in PL/pgsql code example.
Backpatch to 8.4.

Marc Cousin.  Review by Kevin Grittner.
2010-07-27 20:02:17 +00:00
Peter Eisentraut
b8174bcd70 Spelling fixes 2010-07-27 19:01:04 +00:00
Peter Eisentraut
65ad4e3157 Fix grammar
backpatched to 8.1
2010-07-26 20:28:35 +00:00
Peter Eisentraut
478a890f37 Add table creation and population to example
from John Gage
2010-07-26 20:14:06 +00:00
Peter Eisentraut
c12c561ba0 Add INSERT statement to example so that it can be reproduced
from John Gage
2010-07-25 08:30:41 +00:00
Bruce Momjian
ca2901c144 Prevent pg_upgrade from migrating databases that use reg* data types
where the oid is not preserved by pg_upgrade (everything but pg_type).
Update documentation.

Per bug report from depstein@alliedtesting.com.
2010-07-25 03:28:39 +00:00
Peter Eisentraut
417718dbc8 Fix typo 2010-07-24 16:46:43 +00:00
Peter Eisentraut
730fba4bc8 Tidy up boolean data type page
by Thom Brown
2010-07-24 12:17:34 +00:00
Heikki Linnakangas
1051958664 Fix typo spotted by Thom Brown. 2010-07-16 11:36:10 +00:00
Heikki Linnakangas
1dc124e7c8 Add a paragraph explaining what restartpoints are. Mention that
wal_keep_segments does not take effect during recovery.

Fujii Masao
2010-07-16 11:21:46 +00:00
Tom Lane
d3cf0b6e01 Use an <xref> for restore_command reference. Marko Tiikkaja 2010-07-14 22:04:28 +00:00
Tom Lane
89ddf54fe5 Allow full SSL certificate verification (wherein libpq checks its host name
parameter against server cert's CN field) to succeed in the case where
both host and hostaddr are specified.  As with the existing precedents
for Kerberos, GSSAPI, SSPI, it is the calling application's responsibility
that host and hostaddr match up --- we just use the host name as given.
Per bug #5559 from Christopher Head.

In passing, make the error handling and messages for the no-host-name-given
failure more consistent among these four cases, and correct a lie in the
documentation: we don't attempt to reverse-lookup host from hostaddr
if host is missing.

Back-patch to 8.4 where SSL cert verification was introduced.
2010-07-14 17:09:54 +00:00
Robert Haas
913f902089 Clarify that "psql -c" ignores psqlrc files.
Tim Landscheidt
2010-07-10 00:50:37 +00:00
Marc G. Fournier
1084f31770 tag beta3 2010-07-09 02:43:12 +00:00
Bruce Momjian
c4314e150d Update release notes for 9.0 beta 3. 2010-07-08 22:26:14 +00:00
Peter Eisentraut
4b7f50eb81 Some small changes for plperl.sgml:
- wrapped long code-lines, for pdf
   - typo

Erik Rijkers
2010-07-08 21:35:33 +00:00
Peter Eisentraut
803716013d Install safeguard against running PL/Python 2 and 3 in the same session 2010-07-08 18:42:12 +00:00
Bruce Momjian
c9b142d965 Doc change: effected -> affected, per correction from Matthew Wakeling 2010-07-08 16:44:12 +00:00
Tom Lane
7f882768dc Add a cross-reference to precedence information to CREATE OPERATOR's
documentation.  Per suggestion from Marc Cousin.
2010-07-08 16:30:13 +00:00
Magnus Hagander
44b0d1671a Add support for TCP keepalives on Windows, both for backend and the new
libpq support.
2010-07-08 10:20:14 +00:00
Bruce Momjian
e3243488b0 Document the interaction of write-barrier-enabled file systems, and BBU
caches, per June email thread.
2010-07-07 14:42:09 +00:00
Robert Haas
20be0d480a Make log_temp_files based on kB, and revert docs & comments to match.
Per extensive discussion on pgsql-hackers.  We are deliberately not
back-patching this even though the behavior of 8.3 and 8.4 is
unquestionably broken, for fear of breaking existing users of this
parameter.  This incompatibility should be release-noted.
2010-07-06 22:55:26 +00:00
Peter Eisentraut
46ee42b816 Add note that using PL/Python 2 and 3 in the same session will probably crash 2010-07-06 21:37:31 +00:00
Robert Haas
5acd417c8f Support setting the keepalive idle time on MacOS X.
MacOS X uses TCP_KEEPALIVE rather than TCP_KEEPIDLE for this purpose.

Thanks to Fujii Masao for the review.
2010-07-06 21:14:25 +00:00
Tom Lane
291a957745 Split the LDFLAGS make variable into two parts: LDFLAGS is now used for
linking both executables and shared libraries, and we add on LDFLAGS_EX when
linking executables or LDFLAGS_SL when linking shared libraries.  This
provides a significantly cleaner way of dealing with link-time switches than
the former behavior.  Also, make sure that the various platform-specific
%.so: %.o rules incorporate LDFLAGS and LDFLAGS_SL; most of them missed that
before.  (I did not add these variables for the platforms that invoke $(LD)
directly, however.  It's not clear if we can do that safely, since for the
most part we assume these variables use CC command-line syntax.)

Per gripe from Aaron Swenson and subsequent investigation.
2010-07-05 18:54:38 +00:00
Bruce Momjian
a520b78f3e Remove SGML tab. 2010-07-03 22:52:25 +00:00
Tom Lane
aceedd88f6 Make vacuum_defer_cleanup_age be PGC_SIGHUP level, since it's not sensible
to have different values in different processes of the primary server.
Also put it into the "Streaming Replication" GUC category; it doesn't belong
in "Standby Servers" because you use it on the master not the standby.
In passing also correct guc.c's idea of wal_keep_segments' category.
2010-07-03 21:23:58 +00:00
Tom Lane
e76c1a0f4d Replace max_standby_delay with two parameters, max_standby_archive_delay and
max_standby_streaming_delay, and revise the implementation to avoid assuming
that timestamps found in WAL records can meaningfully be compared to clock
time on the standby server.  Instead, the delay limits are compared to the
elapsed time since we last obtained a new WAL segment from archive or since
we were last "caught up" to WAL data arriving via streaming replication.
This avoids problems with clock skew between primary and standby, as well
as other corner cases that the original coding would misbehave in, such
as the primary server having significant idle time between transactions.
Per my complaint some time ago and considerable ensuing discussion.

Do some desultory editing on the hot standby documentation, too.
2010-07-03 20:43:58 +00:00
Bruce Momjian
e6a7416e28 Document more clearly on XML namespaces inside xpath function
Nikolay Samokhvalov
2010-07-03 17:21:48 +00:00