Commit Graph

2913 Commits

Author SHA1 Message Date
Peter Eisentraut
cf87eb4726 Upgrade to DocBook V4.2 SGML. 2003-11-24 19:08:02 +00:00
Peter Eisentraut
e7cc995a98 Fix markup. 2003-11-24 16:56:00 +00:00
Peter Eisentraut
b3d72d3ec5 Use --with-docdir to choose installation location of documentation; put
back --infodir, which several automatic build environments expect to exist.
Add --without-docdir to prevent installation of documentation, which is
helpful for things like RPM that have their own method of installing
documentation.
2003-11-24 14:52:58 +00:00
Tom Lane
c52204b224 Repair missed renamings of show_statement_stats and show_executor_stats. 2003-11-24 14:49:51 +00:00
Tom Lane
42ce74bf17 COMMENT ON casts, conversions, languages, operator classes, and
large objects.  Dump all these in pg_dump; also add code to pg_dump
user-defined conversions.  Make psql's large object code rely on
the backend for inserting/deleting LOB comments, instead of trying to
hack pg_description directly.  Documentation and regression tests added.

Christopher Kings-Lynne, code reviewed by Tom
2003-11-21 22:32:49 +00:00
Bruce Momjian
022da0ed7a SERIAL no longer creates an index by default, as of 7.3. 2003-11-19 16:50:48 +00:00
Bruce Momjian
6a04c571d4 Change "IN/NOT IN" to "IN / NOT IN" for clarity, both branches. 2003-11-17 04:50:56 +00:00
Tom Lane
1a908a00b0 Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes,
which had been unintentionally broken by recent changes to tighten up the
DateStyle rules for all-numeric date input.  Add documentation and
regression tests for this, too.
2003-11-16 20:29:16 +00:00
Tom Lane
9ad53b0463 Sync HEAD with update committed only in 7.4 branch. 2003-11-16 17:16:47 +00:00
Tom Lane
02cd2b96ac Another try at fixing the Linux overcommit docs, per Andrew Dunstan. 2003-11-16 17:01:50 +00:00
Bruce Momjian
658b58dc16 pgadmin III released. 2003-11-16 04:41:12 +00:00
Tom Lane
edc213515b Update info about SysV configuration procedures on OS X 10.3. 2003-11-16 03:58:10 +00:00
Tom Lane
ffce57de40 Some editorializing on the Linux memory overcommit docs, from Neil Conway. 2003-11-16 03:38:34 +00:00
Tom Lane
51eba617b2 More release-notes copy editing, from Neil Conway. 2003-11-16 03:23:48 +00:00
Tom Lane
3e9a86a38d A little bit more copy-editing... 2003-11-15 20:01:11 +00:00
Tom Lane
c76037aa50 Minor wording improvement suggested by a comment in the interactive docs. 2003-11-15 19:46:31 +00:00
Peter Eisentraut
472d9726dd Correct names of people with funny characters. 2003-11-15 01:16:37 +00:00
Tom Lane
db15b9b6cf Repair error in syntax documentation for CREATE TABLE: one does not put
a comma between multiple column_constraint's for a single column.
Per report from Tomislaw Kitynski.
2003-11-14 22:56:11 +00:00
Bruce Momjian
959c0f7fb7 Add release date for 7.4. 2003-11-14 17:47:04 +00:00
Tom Lane
c38ff52693 Fix misstatement about the required value of SEMVMX. Given our current
usage of PGSemaMagic, the minimum required value is actually 537, but
say 1000 just to use a round number.  255 is *not* good enough.
2003-11-14 15:43:22 +00:00
Peter Eisentraut
c4e3cff48c Beat some sense into the release notes. 2003-11-14 02:06:42 +00:00
Peter Eisentraut
e873207fdd Add final port reports. 2003-11-13 18:01:45 +00:00
Peter Eisentraut
934c21344c Documentation cleanup 2003-11-12 22:47:47 +00:00
Tom Lane
fa5c8a055a Cross-data-type comparisons are now indexable by btrees, pursuant to my
pghackers proposal of 8-Nov.  All the existing cross-type comparison
operators (int2/int4/int8 and float4/float8) have appropriate support.
The original proposal of storing the right-hand-side datatype as part of
the primary key for pg_amop and pg_amproc got modified a bit in the event;
it is easier to store zero as the 'default' case and only store a nonzero
when the operator is actually cross-type.  Along the way, remove the
long-since-defunct bigbox_ops operator class.
2003-11-12 21:15:59 +00:00
Bruce Momjian
4bcd3b42b9 Here's a patch that adds some text mentioning that
RESTRICT is not deferrable to the create table reference
page.

Stephan Szabo
2003-11-12 04:08:07 +00:00
Bruce Momjian
5e8a8865e7 Update freenode mention. 2003-11-10 22:47:35 +00:00
Bruce Momjian
f41ecc6d69 Update release notes for polymorphic functions. 2003-11-10 22:27:00 +00:00
Bruce Momjian
79f8f5fc0d Update IRC to mention freenet instead of openprojects. 2003-11-10 21:56:08 +00:00
Peter Eisentraut
b657ded2c5 Adjust file so psql help picks it up properly.
patch by Kris Jurka
2003-11-08 11:06:37 +00:00
Bruce Momjian
ab0e426cdc Typo fix. 2003-11-07 17:02:09 +00:00
Tom Lane
e1b47c2dbd Minor copy-editing. 2003-11-06 22:21:47 +00:00
Peter Eisentraut
96889392e9 Implement isolation levels read uncommitted and repeatable read as acting
like the next higher one.
2003-11-06 22:08:15 +00:00
Peter Eisentraut
ee4a0d45fc Check off UnixWare. 2003-11-05 00:10:06 +00:00
Tom Lane
e560dd3537 Minor copy-editing. 2003-11-05 00:05:32 +00:00
Tom Lane
1a61554b59 Some copy-editing for 7.4 release notes. 2003-11-04 20:54:13 +00:00
Tom Lane
64caee7548 Give the full syntax rules for subscripting and field selection in the
proper place, namely the syntax discussion of value expressions.
2003-11-04 19:18:15 +00:00
Peter Eisentraut
c58083a941 Update keywords table. 2003-11-04 12:59:54 +00:00
Peter Eisentraut
af83998729 Remove unused graphics files. 2003-11-04 10:25:07 +00:00
Peter Eisentraut
ee640fdd19 Add report about HP-UX 11.00. 2003-11-04 10:08:54 +00:00
Peter Eisentraut
1d27de4cf4 Random copy-editing. 2003-11-04 09:55:39 +00:00
Tom Lane
bb06cbdb2c Copy-editing. 2003-11-04 00:34:45 +00:00
Tatsuo Ishii
3d22beeb6a fix typo. (role_columns_grants -> role_column_grants) 2003-11-03 12:31:52 +00:00
Tom Lane
eeaf5f04ae Provide a way to run the parallel regression tests with a user-specified
limit on the number of simultaneous connections.  Andrew Dunstan, with
review by Tom Lane.
2003-11-02 21:56:15 +00:00
Peter Eisentraut
4593531205 Fix language. 2003-11-02 12:59:54 +00:00
Peter Eisentraut
841f4a9542 Make spelling consistent. 2003-11-02 12:59:28 +00:00
Peter Eisentraut
0f095fa4d2 pg_dumpall doesn't use psql anymore. 2003-11-02 12:58:39 +00:00
Peter Eisentraut
59550df34d Put --describe-config in the right place. 2003-11-02 12:58:11 +00:00
Peter Eisentraut
1885b26893 Fix name in supported platforms list. 2003-11-02 12:57:48 +00:00
Peter Eisentraut
1af403e42d Complete options help and put it in less random order. 2003-11-02 12:55:24 +00:00
Peter Eisentraut
33ab0d9eee Call domains "domains", not "derived types". 2003-11-02 12:53:57 +00:00
Peter Eisentraut
831af83b91 Update ports list. 2003-11-02 08:54:09 +00:00
Peter Eisentraut
8442a92e5a Spell checking, consistent terminology. 2003-11-01 01:56:29 +00:00
Tom Lane
47309464e4 Rewrite GiST documentation into something actually useful.
Christopher Kings-Lynne
2003-10-31 22:41:21 +00:00
Tom Lane
9bd04c0130 Fix broken markup. 2003-10-31 22:22:10 +00:00
Tom Lane
8545482947 When a superuser does GRANT or REVOKE on an object he doesn't own,
process the command as though it were issued by the object owner.
This prevents creating weird scenarios in which the same privileges
may appear to flow from different sources, and ensures that a superuser
can in fact revoke all privileges if he wants to.  In particular this
means that the regression tests work when run by a superuser other than
the original bootstrap userid.  Per report from Larry Rosenman.
2003-10-31 20:00:49 +00:00
Bruce Momjian
19554ed487 new protocol, faster startup. 2003-10-31 19:51:14 +00:00
Bruce Momjian
df1bb47dc4 Update for polymorphic functions, needs more work. 2003-10-31 19:49:40 +00:00
Bruce Momjian
12f2525b0d MAC OS X => Mac OS X 2003-10-31 19:33:17 +00:00
Bruce Momjian
d908c8e238 Release updates suggested by Tom. 2003-10-31 19:24:17 +00:00
Bruce Momjian
ef1b846daf Remove <note> take, use another paragraph for description. 2003-10-31 04:44:25 +00:00
Bruce Momjian
d6ad5375cb Update with more comments. 2003-10-31 04:30:22 +00:00
Tom Lane
ede9b68e03 Use Tcl ByteArray objects to avoid unwanted character set translation
in libpgtcl's lo_read/lo_write commands.  Also, deal correctly with
failure return from lo_read().  ljb and Tom Lane.
2003-10-31 00:18:55 +00:00
Bruce Momjian
fcfbd434cc Fix markup by using <note> for comments. 2003-10-30 20:49:47 +00:00
Bruce Momjian
d8df98d026 More SGML cleanup. 2003-10-30 20:31:24 +00:00
Bruce Momjian
39b752f6b7 SGML cleanup. 2003-10-30 20:29:35 +00:00
Bruce Momjian
c0d92dc489 Update SGML release notes with Peter's direction. Does not compile
because of section adjustments still needed.
2003-10-30 20:25:36 +00:00
Bruce Momjian
216bc11020 Mark release note comments as new subsections rather than footnotes, per
Peter.

Remove "Changes" section and pull all sections below it up one level.

More comment additions.
2003-10-30 19:43:01 +00:00
Bruce Momjian
d807bbe837 Fix markup for new release footnotes. 2003-10-30 03:46:42 +00:00
Bruce Momjian
60b198a768 Update FAQ_DEV: elog => ereport. 2003-10-30 02:40:29 +00:00
Bruce Momjian
d46f9cd3bd Update more release descriptions. 2003-10-29 23:28:59 +00:00
Bruce Momjian
8478bbfd76 Add more footnote comments to the release notes. 2003-10-29 22:54:01 +00:00
Bruce Momjian
1a2be80ee7 Add first release note detail item. 2003-10-29 20:38:19 +00:00
Bruce Momjian
a00d6b23eb Update for 7.4 --- prefer IN to EXISTS. 2003-10-29 20:20:12 +00:00
Bruce Momjian
d890c1d065 Update for OSF 4.0 platform. 2003-10-29 13:42:55 +00:00
Tom Lane
50cb974068 Adjust wording to avoid giving the impression that schema USAGE
privilege hides system catalog entries.
2003-10-28 20:18:09 +00:00
Bruce Momjian
53b714d2a7 Add --describe-config to top of postgres manual page. 2003-10-28 19:39:18 +00:00
Bruce Momjian
6228228009 Document --describe-config. 2003-10-28 15:01:27 +00:00
Bruce Momjian
5db5cbb838 Update Win32 clients. 2003-10-27 15:35:10 +00:00
Bruce Momjian
03a2c3b586 Fix MOVE/FETCH wording. 2003-10-27 02:51:39 +00:00
Bruce Momjian
866c850cf5 Update intel solaris. 2003-10-26 14:31:09 +00:00
Bruce Momjian
8f67daded7 Improve indenting of port entries. 2003-10-26 13:28:46 +00:00
Bruce Momjian
98fa527942 Update Solaris 5.6. 2003-10-26 13:26:41 +00:00
Peter Eisentraut
06495a7324 Correct version numbers. 2003-10-26 11:14:39 +00:00
Bruce Momjian
b3a10a88d7 Update MOVE/FETCH release note mention. 2003-10-26 04:50:16 +00:00
Bruce Momjian
eb1c22c39d Add mention of quotes on function body to NOTES section.
Oliver Elphick
2003-10-26 04:34:05 +00:00
Bruce Momjian
cc9c59af24 Update for No&egrave;l K&ouml;the in SGML. 2003-10-26 01:39:43 +00:00
Bruce Momjian
f6332c7354 Mark Linux/ppc as working. 2003-10-26 01:32:36 +00:00
Bruce Momjian
c8013b60cb Mark linux m68k, alpha as working. 2003-10-26 01:19:57 +00:00
Bruce Momjian
bcc6c9da83 Remove very old platforms as unsupported, <=7.0. 2003-10-26 01:17:31 +00:00
Bruce Momjian
454c670cce Mark true64 os version as 5.1. 2003-10-26 01:06:35 +00:00
Bruce Momjian
dc46010e18 Mark true64 alpha port as working. 2003-10-26 01:05:53 +00:00
Bruce Momjian
52008990e9 Fix Hans' name in SGML. 2003-10-26 00:58:31 +00:00
Bruce Momjian
b10cd331fe Update aix port. 2003-10-26 00:31:48 +00:00
Bruce Momjian
1fdbc8cc20 Update linux/mips port.
Add m68k to linux port.
2003-10-26 00:26:13 +00:00
Bruce Momjian
530f997e6e Update linux/mips port. 2003-10-26 00:22:51 +00:00
Bruce Momjian
823240bf64 update linux ports for arm, s390, itanium. 2003-10-26 00:21:04 +00:00
Bruce Momjian
d3423926c8 Update for port freebsd/alpha. 2003-10-26 00:00:40 +00:00
Bruce Momjian
1919b62058 Update Netbsd/i386 port. 2003-10-25 03:23:47 +00:00
Bruce Momjian
561a8ca808 Update ports for Solaris. 2003-10-25 03:17:43 +00:00
Bruce Momjian
e0ca78fb87 Update openbsd port. 2003-10-24 21:09:08 +00:00
Bruce Momjian
863d793fa3 Update for osX 10.3. 2003-10-24 20:44:19 +00:00
Bruce Momjian
7d4844f247 Update ports for freebsd, cygwin. 2003-10-24 20:39:09 +00:00
Bruce Momjian
2a9986f7d5 Update Linux/Sparc 32-bit port. 2003-10-24 16:30:53 +00:00
Bruce Momjian
7672a1056d Update Linux x86 port. 2003-10-24 16:29:00 +00:00
Bruce Momjian
b97e0aa650 Update OSX port. 2003-10-24 15:56:29 +00:00
Bruce Momjian
79c0082d70 Mark BSD/OS as working in 7.4. 2003-10-24 15:31:29 +00:00
Bruce Momjian
739839b7f7 Move pre-7.3 platforms to unsupported. 2003-10-24 15:30:52 +00:00
Tom Lane
747df1a35e Remove obsolete information about altering default optimization flags for
gcc.  Per comment from original author, Brian Gallew:
"Ancient history.  Kill it fast."
2003-10-23 13:58:43 +00:00
Tom Lane
cdbf9b328e Move docs about index cost estimation functions and writing a procedural
language handler to the 'Internals' area, per my proposal of yesterday.
Clean up the trigger documentation a bit.  Push SPI chapter to the end
of its part, and reorder the Internals chapters into what seems a more
sensible order (at the moment anyway).
2003-10-22 22:28:10 +00:00
Bruce Momjian
b8400c7f52 Here is a documentation patch that makes zulu, etc. all more consistent. 2003-10-22 18:10:53 +00:00
Bruce Momjian
269df29e8b Release notes updates from Neil Conway. 2003-10-22 17:27:14 +00:00
Bruce Momjian
4377a9afc3 Add mention that "today" doesn't work as column default anymore. 2003-10-22 05:09:12 +00:00
Tom Lane
336297e676 Another example-to-documentation difference. Maybe we can find a
better way to keep these in sync...
2003-10-22 03:50:27 +00:00
Tom Lane
2744abb736 Ooops, missed updating this part of the complex-datatype example. 2003-10-21 23:28:42 +00:00
Tom Lane
6fbb14a174 Update the complex-datatype example to V1 function calling conventions,
and add binary send/receive functions.  Fix some other grottiness such
as failure to mark the C functions STRICT.
2003-10-21 22:51:14 +00:00
Tom Lane
6c7c493a09 For some reason, the preface mentions just six of the seven major parts
of the book.  Fix it.
2003-10-21 22:47:54 +00:00
Bruce Momjian
2f603a8b0c Add release info about dollar signs to migration section:
<listitem><para> Dollar sign (<literal>$</>) is no longer allowed
	in operator names</para></listitem>
     <listitem><para> Dollar sign (<literal>$</>) can be a non-first
	character in identifiers</para></listitem>
2003-10-21 01:25:31 +00:00
Tom Lane
0a4048646b Document all the system views created by initdb (several of these were
never documented anywhere, sigh).  Centralize the detailed documentation
of system views into catalogs.sgml, and provide cross-references.
2003-10-17 22:38:20 +00:00
Tom Lane
e5c2c97892 Add a listing of our SQLSTATE error codes to the documentation.
Link to it from some appropriate places.
2003-10-17 18:57:01 +00:00
Tom Lane
34ed505966 Fix busted markup. 2003-10-17 18:29:55 +00:00
Tom Lane
fe1b5034dd Adjust display of actual runtimes in EXPLAIN output to use three fractional
digits, and label it 'ms' not 'msec', for consistency with psql's \timing
display.  Per recent discussions.
2003-10-17 01:14:26 +00:00
Tom Lane
dec4ed311a Add note deprecating use of consrc. 2003-10-17 00:55:17 +00:00
Peter Eisentraut
44430dbc15 Fix bugs in referential_constraints view. 2003-10-16 23:46:17 +00:00
Bruce Momjian
9ad637f749 Add mention of SIGHUP on the postmaster manual page. 2003-10-16 17:38:01 +00:00
Tom Lane
839cea8814 Minor copy-editing. 2003-10-16 04:52:21 +00:00
Bruce Momjian
60feaa261f Fix SGML markup.
Update HISTORY file.
2003-10-16 04:11:53 +00:00
Bruce Momjian
352f29b17b This patch adds another item to the "migration to 7.4" list in the
HISTORY file, and attributes the shared-buffer-alignment change to
Manfred Spraul.

Neil Conway
2003-10-16 03:55:31 +00:00
Bruce Momjian
62fdc3dd60 I have run pg_autovacuum on AIX, so that can, at least loosely, be
considered "tested."

And I have turned all of the 7.4 HISTORY material into DocBook for
release.sgml

Christopher Browne
2003-10-16 03:47:28 +00:00
Bruce Momjian
386e0f9046 Update max existing db size to 32tb. 2003-10-10 21:27:13 +00:00
Bruce Momjian
870d9641bc Update Russian FAQ.
Viktor Vislobokov
2003-10-10 02:52:12 +00:00
Bruce Momjian
8087446b14 > That's a fairly useless place to put it, though, since someone would
> only think to look at sort_mem if they already had a clue.  It should
> be mentioned under bulk data load (in performance tips chapter)

Attached is a doc patch that does this. The way I've worded it may not
be the best, though.

Neil Conway
2003-10-10 02:08:42 +00:00
Bruce Momjian
3fce18084b About section 8.5.1.5. ("Special Values"):
I suggest adding LOCALTIMESTAMP and LOCALTIME to the first paragraph.
Maybe it should be phrased as:

  The following SQL-compatible functions can be used to obtain
  current datetime-related values: CURRENT_DATE, CURRENT_TIME,
  CURRENT_TIMESTAMP, LOCALTIME and LOCALTIMESTAMP.
  (See Section 9.8.4.)

Troels Arvin
2003-10-09 19:13:48 +00:00
Bruce Momjian
c7c7861d5e Add mention of logrotate for syslog, from Robert Treat 2003-10-09 19:05:09 +00:00
Bruce Momjian
b8382c2688 Have log_min_duration_statement = 0 always print duration/statement.
Change log line to be "duration:  ms  query:"

Indent multi-line queries with a tab in the server logs.
2003-10-08 03:49:38 +00:00
Tom Lane
0eceaaf9b7 Modify COPY FROM to match the null-value string against the column value
before it is de-backslashed, not after.  This allows the null string \N
to be reliably distinguished from the data value \N (which must be
represented as \\N).  Per bug report from Manfred Koizar ... but it's
amazing this hasn't been reported before ...
Also, be consistent about encoding conversion for null string: the form
specified in the command is in the server encoding, but what is sent
to/from client must be in client encoding.  This never worked quite
right before either.
2003-10-06 02:38:53 +00:00
Bruce Momjian
8f3b879462 Update MySQL mention. 2003-10-05 14:25:29 +00:00
Bruce Momjian
88605109db Update MySQL mention. 2003-10-05 03:52:08 +00:00
Tom Lane
fa09ee6026 Document the always-true-but-previously-undocumented fact that PQfnumber()
will downcase the supplied field name unless it is double-quoted.  Also,
upgrade the routine's handling of double quotes to match the backend,
in particular support doubled double quotes within quoted identifiers.
Per pgsql-interfaces discussion a couple weeks ago.
2003-10-04 21:05:21 +00:00
Bruce Momjian
5ba1fab5fa Update INSTALL file for 7.4. 2003-10-04 03:14:13 +00:00
Bruce Momjian
7ca44855fc Update MySQL mention. 2003-10-04 02:37:05 +00:00
Bruce Momjian
5f0eb3fd83 Update MySQL mention. 2003-10-04 01:39:51 +00:00
Peter Eisentraut
9951474c71 Change transaction status indicator in prompt from %T to %x. 2003-10-04 01:04:46 +00:00
Tom Lane
15c194c1d5 Add GUC parameter check_function_bodies to control whether validation
of function bodies is done at CREATE FUNCTION time.  This is normally
true but can be set false to avoid problems with forward references,
wrong schema search path, etc.  This is just the backend patch, still
need to adjust pg_dump to make use of it.
2003-10-03 19:26:49 +00:00
Tom Lane
251033186f Cause PQescapeString to stop processing at a null character, rather
than generating an invalid output string.  Per observation and patch
from Igor Shevchenko.  Further code cleanup and documentation by
Tom Lane.
2003-10-03 18:26:14 +00:00
Tom Lane
6099bc03f3 Adjust documentation examples to match recent error message rewordings.
A couple other minor fixes.
2003-09-30 03:22:33 +00:00
Tom Lane
444af9e0e8 Minor copy-editing. 2003-09-30 01:56:11 +00:00
Tom Lane
f038e08929 Use slightly less broken markup. 2003-09-30 01:26:29 +00:00
Tom Lane
e33f205a94 Adjust btree index build procedure so that the btree metapage looks
invalid (has the wrong magic number) until the build is entirely
complete.  This turns out to cost no additional writes in the normal
case, since we were rewriting the metapage at the end of the process
anyway.  In normal scenarios there's no real gain in security, because
a failed index build would roll back the transaction leaving an unused
index file, but for rebuilding shared system indexes this seems to add
some useful protection.
2003-09-29 23:40:26 +00:00
Bruce Momjian
f3db606592 > >
> >  a) Write documentation how the win32 console needs to be set up so that
> >     psql can handle 8-bit characters.
> >     Where should it be added? The Section "Installation on Windows" in the
> >     Administrator's Guide seems natural to me.
> >
> >  b) Add code to psql that prints a warning on startup of psql when the
> >     console codepage differs from the windows codepage, something like
> >
> >     Warning: Console codepage (850) differs from windows codepage (1252)
> >              8-bit characters will not work correctly. See PostgreSQL
> >              documentation "Installation on Windows" for details.
>
Attached are two patches:

 - installdoc.patch contains an additional paragraph on the win32 console
   codepage for the chapter "Installation on Windows"
   Due to a lack of SGML-tools, I have only edited the text and not tested
   the SGML code - please check it before merging into the CVS branch.

 - psqlcodepage.patch adds the warning about a problematic codepage to psql.


Christoph Dalitz
2003-09-29 18:21:33 +00:00
Bruce Momjian
a17b53753e This patch makes a few incremental improvements to geqo.sgml and
arch-dev.sgml

Neil Conway
2003-09-29 18:18:35 +00:00