1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00
Commit Graph

10406 Commits

Author SHA1 Message Date
Robert Haas
aa47101338 Minor improvement to pg_seclabel documentation.
This is a bit more consistent with the way pg_description is
documented, and also include a useful cross-link.
2011-07-20 09:24:58 -04:00
Peter Eisentraut
548d197ca7 Remove claim that the project is not represented in the SQL working group
We have a few people involved there now.
2011-07-18 07:36:06 +03:00
Peter Eisentraut
b17648bc6e Note that information_schema.sql_languages was removed in SQL:2008 2011-07-18 07:35:56 +03:00
Tom Lane
6578367414 Add an errdetail_internal() ereport auxiliary routine.
This function supports untranslated detail messages, in the same way that
errmsg_internal supports untranslated primary messages.  We've needed this
for some time IMO, but discussion of some cases in the SSI code provided
the impetus to actually add it.

Kevin Grittner, with minor adjustments by me
2011-07-16 14:22:32 -04:00
Peter Eisentraut
a3678ab214 Small update on suggested startup file locations
Debian/Ubuntu don't have a /etc/rc.d/ directory, so add some
alternative names as suggestions.
2011-07-14 19:08:32 +03:00
Peter Eisentraut
a5e3c182c8 Remove README.mb.big5 and README.mb.jp
They were wildly outdated.
2011-07-14 18:28:52 +03:00
Peter Eisentraut
699a1c65ed Mark collation-related information schema columns as not implemented
rather than not applicable.  They have already been implemented in
9.2.
2011-07-13 01:31:44 +03:00
Peter Eisentraut
ebea4c531c Add item about Clang support to 9.1 release notes 2011-07-08 17:05:30 +03:00
Peter Eisentraut
0a5b01a716 Message style improvements 2011-07-08 07:43:33 +03:00
Tom Lane
6c76524620 Tag 9.1beta3. 2011-07-07 20:12:33 -04:00
Tom Lane
3e80d0d2e5 Update examples for string-related functions.
In the example for decode(), show the bytea result in hex format,
since that's now the default.  Use an E'' string in the example for
quote_literal(), so that it works regardless of the
standard_conforming_strings setting.  On the functions-for-binary-strings
page, leave the examples as-is for readability, but add a note pointing out
that they are shown in escape format.  Per comments from Thom Brown.

Also, improve the description for encode() and decode() a tad.

Backpatch to 9.0, where bytea_output was introduced.
2011-07-07 19:34:24 -04:00
Tom Lane
4eb4b4013d Update 9.1 release notes to reflect commits through today. 2011-07-07 17:56:31 -04:00
Tom Lane
db43ec43cc Reclassify replication-related GUC variables as "master" and "standby".
Per discussion, this structure seems more understandable than what was
there before.  Make config.sgml and postgresql.conf.sample agree.

In passing do a bit of editorial work on the variable descriptions.
2011-07-07 15:11:56 -04:00
Tom Lane
ec1339ea5c Finish disabling reduced-lock-levels-for-DDL feature.
Previous patch only covered the ALTER TABLE changes, not changes in other
commands; and it neglected to revert the documentation changes.
2011-07-07 13:15:48 -04:00
Tom Lane
10323f3a59 Restructure foreign data wrapper chapter so it has more than one section.
As noted by Laurenz Albe, our SGML tools deal rather oddly with chapters
having just one <sect1>.  Perhaps the tooling could be fixed, but really
the design of this chapter's introduction is pretty bogus anyhow.  Split
it into a true introduction and a <sect1> about the FDW functions, so
that it reads better and dodges the lack-of-a-chapter-TOC problem.
2011-07-05 15:54:51 -04:00
Tom Lane
8b6c89ad13 Improve documentation about foreign data wrapper validator functions.
Modified version of a patch by Shigeru Hanada.
2011-07-05 15:38:29 -04:00
Magnus Hagander
eb9ca35fbd Fix typo in sslmode documentation
Per bug #6089, noted by Sidney Cadot
2011-07-05 09:46:06 +02:00
Peter Eisentraut
413ed2556f Small documentation tweaks 2011-07-05 00:17:12 +03:00
Heikki Linnakangas
c33acb4f0a Clarify that you need ActiveState perl 5.8 *or later* to build on Windows. 2011-07-04 22:42:25 +03:00
Simon Riggs
1f70560997 Reset ALTER TABLE lock levels to AccessExclusiveLock in all cases.
Locks on inheritance parent remain at lower level, as they were before.
Remove entry from 9.1 release notes.
2011-07-04 09:30:50 +01:00
Tom Lane
3569e02c98 Fix omissions in documentation of the pg_roles view.
Somehow, column rolconfig got removed from the documentation of the
pg_roles view in the 9.0 cycle, although the column is actually still
there.  In 9.1, we'd also forgotten to document the rolreplication column.
Spotted by Sakamoto Masahiko.
2011-07-03 22:12:20 -04:00
Peter Eisentraut
6b23ba1093 Unify spelling of "canceled", "canceling", "cancellation"
We had previously (af26857a27)
established the U.S. spellings as standard.
2011-07-02 23:30:01 +03:00
Bruce Momjian
158d071b28 In pg_upgrade 9.0 and 9.1, document suggestion of using a non-default
port number to avoid unintended client connections.
2011-07-01 23:09:13 -04:00
Robert Haas
379352602c Mention that SSPI authentication can use GSSAPI on non-Windows systems.
As noted by Christian Ullrich.
2011-06-27 10:39:30 -04:00
Robert Haas
ea41b8c822 Documentation improvements for pg_locks with respect to SSI.
Explain that querying pg_locks does not simultaneously lock both the
normal lock manager and the predicate lock manager.

Per discussion with Kevin Grittner.
2011-06-24 16:09:57 -04:00
Bruce Momjian
50016867a3 In pg_upgrade docs, clarify that link mode uses "hard" links.
Backpatch to 9.1 and 9.0.
2011-06-23 19:58:11 -04:00
Robert Haas
66370f5158 Performance tuning advice for SSI.
Kevin Grittner, with additional wordsmithing by me.
2011-06-21 21:55:26 -04:00
Tom Lane
9d6e6feded Fix missed use of "cp -i" in an example, per Fujii Masao.
Also be more careful about markup: use &amp; not just &.
2011-06-20 16:27:36 -04:00
Peter Eisentraut
7ec70f46c6 Produce HISTORY file consistently as ASCII
The release notes may contain non-ASCII characters (for contributor
names), which lynx converts to the encoding determined by the current
locale.  The get output that is deterministic and easily readable by
everyone, we make lynx produce LATIN1 and then convert that to ASCII
with transliteration for the non-ASCII characters.
2011-06-19 23:30:11 +03:00
Peter Eisentraut
365c72f205 Capitalization fixes 2011-06-19 00:39:19 +03:00
Tom Lane
c1c4f93056 Don't use "cp -i" in the example WAL archive_command.
This is a dangerous example to provide because on machines with GNU cp,
it will silently do the wrong thing and risk archive corruption.  Worse,
during the 9.0 cycle somebody "improved" the discussion by removing the
warning that used to be there about that, and instead leaving the
impression that the command would work as desired on most Unixen.
It doesn't.  Try to rectify the damage by providing an example that is safe
most everywhere, and then noting that you can try cp -i if you want but
you'd better test that.

In back-patching this to all supported branches, I also added an example
command for Windows, which wasn't provided before 9.0.
2011-06-17 19:13:08 -04:00
Robert Haas
a3903f1bf8 Fix typo.
Per Josh Kupershmidt and Tom Lane.
2011-06-17 00:54:36 -04:00
Tom Lane
d988d92bf0 Rework parsing of ConstraintAttributeSpec to improve NOT VALID handling.
The initial commit of the ALTER TABLE ADD FOREIGN KEY NOT VALID feature
failed to support labeling such constraints as deferrable.  The best fix
for this seems to be to fold NOT VALID into ConstraintAttributeSpec.
That's a bit more general than the documented syntax, but it allows
better-targeted syntax error messages.

In addition, do some mostly-but-not-entirely-cosmetic code review for
the whole NOT VALID patch.
2011-06-15 19:06:36 -04:00
Peter Eisentraut
b48f888b64 Document that psql's \d also works with composite types
This has always been true, it was just never documented.
2011-06-14 23:51:11 +03:00
Bruce Momjian
6e66d2e424 In pg_upgrade, document that link mode has to have data directories on
the same file system, and that authentication should lock out normal
users.

Per suggestsion from #postgresql irc channel.

Backpatch to 9.1.
2011-06-14 16:48:29 -04:00
Alvaro Herrera
808aa18b3c Fix grammatical mistake introduced by previous commit
Per note from Tom
2011-06-14 13:48:23 -04:00
Alvaro Herrera
d60ce59963 Mention DROP TABLE as well as ALTER TABLE NO INHERIT
... when talking about how good they are in replacement of bulk DELETE
in partitioned setups.

The original wording was a bit confusing.

Per an observation from David Wheeler.
2011-06-14 12:42:02 -04:00
Robert Haas
6fdd897503 Improve accuracy of ON_ERROR_STOP documentation.
Per a gripe from Tom Lane.
2011-06-14 11:07:17 -04:00
Bruce Momjian
8d49524a6a Document that bits to the right of the CIDR mask "should" be zero, not
"must".
2011-06-13 20:57:37 -04:00
Alvaro Herrera
9adda3e125 Expand warnings on locks acquired by CREATE INDEX CONCURRENTLY
The previous wording wasn't explicit enough, which could misled readers
into thinking that the locks acquired are more restricted in nature than
they really are.  The resulting optimism can be damaging to morale when
confronted with reality, as has been observed in the field.

Greg Smith
2011-06-13 17:12:26 -04:00
Robert Haas
20c73f3a32 Remove parentheses from mention of current_schemas function.
This is more consistent with what we do elsewhere, and hopefully avoids
creating the perception that current_schemas takes no arguments.

As suggested by Brendan Jurd
2011-06-13 13:04:07 -04:00
Robert Haas
26e7eec5f0 Clarify that NATURAL without matching columns is like CROSS JOIN.
As suggested by Grzegorz Szpetkowski.
2011-06-13 13:00:09 -04:00
Robert Haas
f2328b0713 Add doc cross-reference to search_path discussion of current_schemas().
Brendan Jurd
2011-06-13 12:38:32 -04:00
Robert Haas
3390fceb69 Document GUC context for synchronous_standby_names/hot_standby_feedback.
Fujii Masao
2011-06-13 12:25:41 -04:00
Robert Haas
a886c94e5e In ALTER EXTENSION docs, document left_type/right_type.
Noted by Daniele Varrazzo.
2011-06-13 10:23:14 -04:00
Robert Haas
5267e5ea5e Markup fix.
Fujii Masao
2011-06-13 10:14:16 -04:00
Robert Haas
16d64a8773 More foreign table documentation improvements.
Shigeru Hanada, with some additional wordsmithing by me
2011-06-13 08:29:38 -04:00
Robert Haas
25271323d4 Corrections to ALTER FOREIGN TABLE documentation.
Shigeru Hanada, with a minor grammar correction.
2011-06-12 00:19:14 -04:00
Tom Lane
829ae4bf83 Tag 9.1beta2. 2011-06-09 19:40:42 -04:00
Bruce Momjian
43958a0280 Ecpg doc cleanups, as reported by Marc Cousin. 2011-06-09 18:48:16 -04:00