Commit Graph

1306 Commits

Author SHA1 Message Date
Bruce Momjian
54d9099596 Stamp CVS as 7.2. Update all interface version numbers. This is the
time to do it, not during beta because people are using this stuff in
production sometimes.
2001-05-11 01:46:33 +00:00
Bruce Momjian
d4dfef1cdb Stamp for 7.1.2. Ready when you are... 2001-05-11 01:34:14 +00:00
Bruce Momjian
f877cc3435 Update FAQ. 2001-05-11 01:33:01 +00:00
Tom Lane
c23bc6fbb0 First cut at making indexscan cost estimates depend on correlation
between index order and table order.
2001-05-09 23:13:37 +00:00
Peter Eisentraut
2c6373fafa Add --echo option to createlang and droplang.
from Oliver Elphick
2001-05-09 22:08:19 +00:00
Bruce Momjian
acd16eadf5 Change --with-pltcl-unknown to --enable-pltcl-unknown 2001-05-09 19:41:57 +00:00
Bruce Momjian
f7659a9c18 This patch adds a new configure option --with-pltcl-unknown which
enables pltcl unknown support.


Also it adds substituting of tclsh with tclsh that was by configure in
pltcl_*mod scripts. For example, On freebsd, tclsh can be called
tclsh8.2 or
tclsh8.3 depending on installed version of Tcl.

After patching files
  src/pl/tcl/modules/pltcl_listmod
  src/pl/tcl/modules/pltcl_loadmod
  src/pl/tcl/modules/pltcl_delmod
must be renamed(copied,repocopied) to
  src/pl/tcl/modules/pltcl_listmod.in
  src/pl/tcl/modules/pltcl_loadmod.in
  src/pl/tcl/modules/pltcl_delmod.in

seva@sevasoft.kiev.ua
2001-05-09 19:19:00 +00:00
Bruce Momjian
b0546a2554 Fix libpq++'s FieldSize to return int, not short. 2001-05-09 17:46:11 +00:00
Bruce Momjian
a79b698adb Here's a version of my suggested diffs transplanted to 7.1 beta 5. I'm
still looking at the best way to integrate Tom Vijlbrief's fixes
(insofar as they're still needed); would 7.2 be a suitable time for
incompatible API changes?


Jeroen


Changes:

(*) Introduced bool, true, false (replacing some int, 1, 0)
(*) Made some member functions const
(*) Documented GetIsNull()
(*) Marked DisplayTuples() and PrintTuples() as obsolescent; fixed possible
    portability problem (assumed that NULL pointer equals all-zero bit pattern)
(*) PrintTuples(): renamed width parameter to fillAlign to conform with other
    usage; fixed memory leak and compile issue w.r.t. field separator (should
    also slightly improve performance)
(*) Fixed some minor compilation issues
(*) Moved "using namespace std;" out of headers, where they didn't belong; used
    new (temporary) preprocessor macro PGSTD to do this
(*) Made ToString() static, removed unneeded memset(), made buffer size adapt
    to sizeof(int)
(*) Made some constructors explicit
(*) Changed some const std::string & parameters to plain std::string
(*) Marked PgCursor::Cursor(std::string) as obsolescent (setter with same name
    as getter--bad style)
(*) Renamed some paramaters previously named "string"
(*) Introduced size_type typedef for number of tuples in result set
(*) PgTransaction now supports re-opening after closing, and aborts if not
    explicitly committed prior to destruction

J. T. Vermeulen
2001-05-09 17:29:10 +00:00
Bruce Momjian
1ef9338ab6 If it's true that the ALTER TABLE x ADD CONSTRAINT x CHECK (x) syntax is
supported in 7.1.1, here is a patch to that alter_table.sgml that documents
it.

Christopher Kings-Lynne
2001-05-09 13:27:15 +00:00
Tom Lane
6cda3ad8fe Cause planner to make use of average-column-width statistic that is now
collected by ANALYZE.  Also, add some modest amount of intelligence to
guesses that are used for varlena columns in the absence of any ANALYZE
statistics.  The 'width' reported by EXPLAIN is finally something less
than totally bogus for varlena columns ... and, in consequence, hashjoin
estimating should be a little better ...
2001-05-09 00:35:09 +00:00
Bruce Momjian
b66a0cca57 Update runtime shared memory computations. 2001-05-08 21:09:47 +00:00
Peter Eisentraut
1c1c58c76c Add SET SESSION AUTHORIZATION command. 2001-05-08 21:06:43 +00:00
Bruce Momjian
530dc73cd1 Remove pgadmin.sgml file. 2001-05-08 19:28:01 +00:00
Bruce Momjian
a5b17eb280 Remove LISP manual reference. Added to web "interfaces" page. 2001-05-08 19:14:52 +00:00
Bruce Momjian
04e14fa350 drop_function.sgml:
===================
In Notes:
 Refer to CREATE FUNCTION for information on creating aggregate functions.
                                                      ^^^^^^^^^^^^^^^^^^^
I assume it must read C function instead.

In Compatibility SQL/PSM:
 SQL/PSM is a proposed standard.

 We had that before: remove proposed.


drop_index.sgml:
================
<REFNAME>: Removes existing indexes from a database

as far as I can see index should be singular. The command description is
written as if only one index can be removed at a time. Interestingly
enough, in v7.0.2 it was in fact singular. Am I mistaken here?

drop_operator.sgml:
===================
In Outputs the arguments are referred to as type and type2, but the synopsis
and Inputs section these are left_type and right_type, respectively. Also,
oper is used in Outputs versus id in Inputs/Synopsis. In the translation I
follow the replaceables used in the Inputs/Synopsis part.

Frank Wegmann
2001-05-08 17:51:30 +00:00
Bruce Momjian
cd11d33a36 drop_function.sgml:
===================
In Notes:
 Refer to CREATE FUNCTION for information on creating aggregate functions.
                                                      ^^^^^^^^^^^^^^^^^^^
I assume it must read C function instead.

Frank Wegmann
2001-05-08 17:35:57 +00:00
Tom Lane
46c93bd532 Further cleanup of RAISE discussion; in particular, remove example
that doesn't actually work.
2001-05-08 02:53:24 +00:00
Bruce Momjian
24baa1d95f Fix raise mention that %% output as %. 2001-05-08 02:26:09 +00:00
Bruce Momjian
f4832defa9 Update RAISE manual concerning % format symbols. 2001-05-08 00:30:41 +00:00
Bruce Momjian
e86c31c74f Update RAISE mention in manual to take string/variable not format/identifier. 2001-05-08 00:09:22 +00:00
Bruce Momjian
5fdae774a1 Add mention of functional indexes for case-insensitive comparisons. 2001-05-07 19:58:31 +00:00
Peter Eisentraut
232724af0d Add \cd command to psql. 2001-05-07 19:31:33 +00:00
Bruce Momjian
f83f740a13 Solaris startup cleanup from Justin Clift 2001-05-07 15:55:27 +00:00
Tom Lane
f905d65ee3 Rewrite of planner statistics-gathering code. ANALYZE is now available as
a separate statement (though it can still be invoked as part of VACUUM, too).
pg_statistic redesigned to be more flexible about what statistics are
stored.  ANALYZE now collects a list of several of the most common values,
not just one, plus a histogram (not just the min and max values).  Random
sampling is used to make the process reasonably fast even on very large
tables.  The number of values and histogram bins collected is now
user-settable via an ALTER TABLE command.

There is more still to do; the new stats are not being used everywhere
they could be in the planner.  But the remaining changes for this project
should be localized, and the behavior is already better than before.

A not-very-related change is that sorting now makes use of btree comparison
routines if it can find one, rather than invoking '<' twice.
2001-05-07 00:43:27 +00:00
Peter Eisentraut
7038554c4e Allow 'psql -f -' to read from standard input. 2001-05-06 17:38:32 +00:00
Peter Eisentraut
84e8e5b427 Make prompt customization work with changeable Unix socket location. 2001-05-06 17:21:11 +00:00
Bruce Momjian
1564bd11e3 UPdate for release tomorrow. 2001-05-05 02:57:40 +00:00
Tom Lane
e669b8d751 COMMIT_DELAY and COMMIT_SIBLINGS were missing from the list of WAL
configuration parameters in chapter 3.
2001-05-04 23:11:37 +00:00
Bruce Momjian
602b742507 Add missing tag. 2001-05-04 02:54:33 +00:00
Bruce Momjian
0cec2bb0cd BTW it does not add encodign it just patches existing one (KOI8) to
support two - KOI8-R and KOI8-U (latter is superset of the former if
not to take to the account pseudographics)

Andy Rysin
2001-05-03 21:38:45 +00:00
Bruce Momjian
c434ae3539 pg_dump can dump 7.0 databases. 2001-05-03 20:39:52 +00:00
Tom Lane
77fe28f33e Describe handling of multiply-inherited fields correctly. 2001-05-03 17:50:55 +00:00
Bruce Momjian
d31b9f3101 Update shared memory docs. 2001-05-03 17:28:13 +00:00
Bruce Momjian
7efc878104 Final stamp for 7.1.1. All done. 2001-05-03 17:17:41 +00:00
Bruce Momjian
13e9cea634 Some updates for 7.1.1. 2001-05-03 16:26:21 +00:00
Bruce Momjian
4ad073cf4c In the outputs section the NOTICE reads:
aggregate 'agg' for 'type' does not exist.

Mismatch with synopsis, agg must be name here.

Frank Wegmann
2001-05-02 20:35:21 +00:00
Bruce Momjian
8e393fc501 Added mention of SHMALL and removed BSD/OS-specific table. 2001-05-02 17:04:53 +00:00
Bruce Momjian
4929d85e50 description of the command line option echo should read:
Echo the queries that createuser generates and sends to the backend.
                      ^^^^^^^^^^

Frank Wegmann
2001-05-02 14:46:33 +00:00
Peter Eisentraut
adee1da002 Bump version to 7.1.1. Now run over to hub to rebuild documentation
before release...
2001-05-01 10:50:26 +00:00
Peter Eisentraut
4f268b01cd More markup fixes 2001-05-01 10:48:57 +00:00
Tom Lane
d45c0794df Fix slightly confused description of debug options. 2001-05-01 03:00:28 +00:00
Tom Lane
c8b5598a11 Document pltcl's return_null command. 2001-04-30 22:22:34 +00:00
Tom Lane
955c8771f8 Repair freshly-broken markup. 2001-04-30 22:21:22 +00:00
Bruce Momjian
60ba30d13a Break up PQexec() result functions into subsections to be clearer. Both
libpq and libpq++ reorganized.
2001-04-30 17:38:00 +00:00
Bruce Momjian
9a878b4ec7 Add mention of libpgtcl's options to manual, libpq++ markup fixes. 2001-04-30 04:26:01 +00:00
Bruce Momjian
82511e3375 In create_function there is a remark concerning SQL/PSM not
being ratified as yet. This is certainly no longer true, it wasn't
even true in Q2/1998 when I did a little research for Date's book.
SQL/PSM had been published on 1996-12-15 as ISO/IEC 9075:4. So you
might want to update that section.


Frank Wegmann
2001-04-28 13:59:07 +00:00
Bruce Momjian
651acdaa6e A small patch for a small option (for rel. 7.1).
Jimmy Olgeni
2001-04-27 01:31:56 +00:00
Bruce Momjian
8926d8b28d Update FAQ. 2001-04-27 00:55:49 +00:00
Bruce Momjian
1531ed897b Update FAQ. 2001-04-27 00:22:59 +00:00
Bruce Momjian
ea0d2dab06 Update FAQ. 2001-04-27 00:21:44 +00:00
Thomas G. Lockhart
e6767a3205 Final markup for 7.1 hardcopy release. Mostly typo and table-fitting
adjustments. Note that many tables are being abused with *really* long
 description columns. Should probably shrink those columns to be more
 concise, and move some of the info to follow-on reference notes.
2001-04-20 15:52:33 +00:00
Thomas G. Lockhart
072174f941 Add option --refentry to change \keepn (keep with next paragraph) to
\keep (keep current paragraph together). This fixes most troubles with
 reference pages marked up with <refentry> tags.
Use on reference.rtf, generated by "make reference.rtf".
2001-04-20 15:50:25 +00:00
Bruce Momjian
d32422f796 Update Japanese FAQ's. 2001-04-16 04:20:36 +00:00
Bruce Momjian
e47d6d440e Update FAQ. 2001-04-09 19:28:01 +00:00
Bruce Momjian
f34fa8ba89 Update FAQ. 2001-04-08 22:57:38 +00:00
Peter Eisentraut
248365f2c6 Revert wrong SCO OpenServer report, update comments and improve formatting
a bit.  Regenerate INSTALL.
2001-04-06 15:52:41 +00:00
Thomas G. Lockhart
54329ac4a0 Utility to add the stylesheet "s0" definition to an RTF file.
This stylesheet must be present for Applixware to be happy generating
 a ToC. M$Word does not seem to care one way or the other.
2001-04-06 15:01:25 +00:00
Thomas G. Lockhart
f7f0b17909 Final (?) platform update for the 7.1 release. Includes new platform
NetBSD/PPC from Henry Hotz, several other platform updates, and move
 QNX to the unsupported list for now.
2001-04-06 05:52:10 +00:00
Bruce Momjian
ea283f1555 Remove last-updated date stamp for 7.1. 2001-04-03 13:38:08 +00:00
Bruce Momjian
39f0357b77 Update HISTORY/release.sgml to current. 2001-04-02 17:59:17 +00:00
Thomas G. Lockhart
53de19647f Update info for platforms BeOS, Tru64, Linux/MIPS, Linux/x86, NetBSD/Alpha,
NetBSD/arm, NetBSD/VAX, OpenBSD/Sparc, Solaris, Ultrix.
2001-04-02 15:19:15 +00:00
Peter Eisentraut
fdf1319d22 small fixes 2001-03-29 18:25:10 +00:00
Tom Lane
0cadec788e Correct erroneous description of MVCC Read Committed semantics. 2001-03-28 20:46:34 +00:00
Bruce Momjian
ec12e80019 > Kinda looks like Ian broke the compile-in-source-dir case while
> making the compile-in-separate-dir case work.  Tut tut.

Yes.  My apologies.  This patch is one way to fix things.

Ian
2001-03-27 16:34:14 +00:00
Tom Lane
39ceedf5e0 The regexp pattern characters ^ and $ should be explained as matching
at the beginning and end of the input string, not the beginning and end
of "a line", since Postgres does not allow them to match at newline
characters in the data.
2001-03-25 18:14:31 +00:00
Peter Eisentraut
bdff9d80dc spell fix 2001-03-25 10:16:12 +00:00
Peter Eisentraut
b67e7bb1f7 Allow building documentation outside source tree.
from Ian Lance Taylor
2001-03-25 08:32:24 +00:00
Peter Eisentraut
0967057b5d minor copy editing 2001-03-24 23:03:26 +00:00
Peter Eisentraut
b420c47434 Disable pg_upgrade. 2001-03-24 13:21:14 +00:00
Tom Lane
1a9840cd63 Update info about mailing lists, make a few other minor improvements. 2001-03-24 03:40:44 +00:00
Thomas G. Lockhart
f7a4db10b2 Update to the current state of platform support.
Still need some tested for the 7.1 release.
2001-03-24 02:36:01 +00:00
Thomas G. Lockhart
15dc7d11ea Fix up wording slightly. No change in content. 2001-03-24 02:35:25 +00:00
Tom Lane
27b5a8ef0f Miscellaneous updates and minor copy-editing. 2001-03-24 00:24:26 +00:00
Tom Lane
3311e250cd Doc update from Roberto Mello: improved versions of instr() examples. 2001-03-23 22:07:50 +00:00
Tom Lane
4e911c847c Fix SPI example to reflect new-style calling convention for textout(). 2001-03-23 01:51:08 +00:00
Peter Eisentraut
6cf8707b82 correction 2001-03-21 19:09:03 +00:00
Bruce Momjian
2bea1e0aec Update Japanese FAQ. 2001-03-20 22:15:43 +00:00
Tom Lane
40dc76e315 Recommend CREATE TABLE AS in preference to SELECT INTO. Remove the
(inadequate anyway) mention of SELECT INTO from the main SELECT ref page.
Point out that SELECT INTO means something else in plpgsql and ecpg.
2001-03-20 20:54:41 +00:00
Tom Lane
ca03b551fc Discuss LOCALE differences as a reason for regression test failure. 2001-03-20 00:09:36 +00:00
Peter Eisentraut
6ea087b243 Add missing TO. 2001-03-19 16:20:52 +00:00
Peter Eisentraut
1088e72054 Add note about saving large objects during upgrade. 2001-03-19 16:19:26 +00:00
Peter Eisentraut
11fd91579a Repair. 2001-03-17 18:08:14 +00:00
Peter Eisentraut
406183fbed Tuning for docbook2man. 2001-03-17 16:27:31 +00:00
Thomas G. Lockhart
3d4fda8d19 New updates from Roberto Mello sent privately today due to email troubles. 2001-03-17 01:53:22 +00:00
Tom Lane
9d645fd84c Support syncing WAL log to disk using either fsync(), fdatasync(),
O_SYNC, or O_DSYNC (as available on a given platform).  Add GUC parameter
to control sync method.
Also, add defense to XLogWrite to prevent it from going nuts if passed
a target write position that's past the end of the buffers so far filled
by XLogInsert.
2001-03-16 05:44:33 +00:00
Tom Lane
25f03eb30c Update sample error messages to agree with current code. 2001-03-15 20:01:32 +00:00
Tom Lane
d584bf4867 Improve description of to_char templates. 2001-03-15 01:07:51 +00:00
Peter Eisentraut
2736ad31dc Fix markup. 2001-03-14 22:20:02 +00:00
Bruce Momjian
fb8cdc2fbd Update FAQ. 2001-03-13 14:41:09 +00:00
Philip Warner
704d7fa800 Document changed features of pg_dump, including:
- Large Object dumps
- Compressed custom format
- Requirement to use template0 when creating DB
2001-03-13 14:08:18 +00:00
Tom Lane
4d14fe0048 XLOG (and related) changes:
* Store two past checkpoint locations, not just one, in pg_control.
  On startup, we fall back to the older checkpoint if the newer one
  is unreadable.  Also, a physical copy of the newest checkpoint record
  is kept in pg_control for possible use in disaster recovery (ie,
  complete loss of pg_xlog).  Also add a version number for pg_control
  itself.  Remove archdir from pg_control; it ought to be a GUC
  parameter, not a special case (not that it's implemented yet anyway).

* Suppress successive checkpoint records when nothing has been entered
  in the WAL log since the last one.  This is not so much to avoid I/O
  as to make it actually useful to keep track of the last two
  checkpoints.  If the things are right next to each other then there's
  not a lot of redundancy gained...

* Change CRC scheme to a true 64-bit CRC, not a pair of 32-bit CRCs
  on alternate bytes.  Polynomial borrowed from ECMA DLT1 standard.

* Fix XLOG record length handling so that it will work at BLCKSZ = 32k.

* Change XID allocation to work more like OID allocation.  (This is of
  dubious necessity, but I think it's a good idea anyway.)

* Fix a number of minor bugs, such as off-by-one logic for XLOG file
  wraparound at the 4 gig mark.

* Add documentation and clean up some coding infelicities; move file
  format declarations out to include files where planned contrib
  utilities can get at them.

* Checkpoint will now occur every CHECKPOINT_SEGMENTS log segments or
  every CHECKPOINT_TIMEOUT seconds, whichever comes first.  It is also
  possible to force a checkpoint by sending SIGUSR1 to the postmaster
  (undocumented feature...)

* Defend against kill -9 postmaster by storing shmem block's key and ID
  in postmaster.pid lockfile, and checking at startup to ensure that no
  processes are still connected to old shmem block (if it still exists).

* Switch backends to accept SIGQUIT rather than SIGUSR1 for emergency
  stop, for symmetry with postmaster and xlog utilities.  Clean up signal
  handling in bootstrap.c so that xlog utilities launched by postmaster
  will react to signals better.

* Standalone bootstrap now grabs lockfile in target directory, as added
  insurance against running it in parallel with live postmaster.
2001-03-13 01:17:06 +00:00
Peter Eisentraut
671be61916 Add uninstall target to Java build.
Respect default port setting in JDBC driver.
Pick up version number from Makefile.global.
Change installation directory to share/java/.
Document.
2001-03-11 11:07:01 +00:00
Tom Lane
af129857c4 BOX documentation disagreed with code about corner order. 2001-03-10 21:16:32 +00:00
Peter Eisentraut
06351c36a6 Document --with-java. 2001-03-10 16:57:18 +00:00
Peter Eisentraut
7ad278817c Eliminate some hackery when creating text files (INSTALL) with a few lines
of DSSSL.
2001-03-10 16:05:35 +00:00
Peter Eisentraut
f975590f69 Integrate "Porting from Oracle PL/SQL" HOWTO from Roberto Mello. 2001-03-09 19:09:00 +00:00
Bruce Momjian
131e85dd3a Add Japanese FAQ> 2001-03-08 17:00:28 +00:00
Bruce Momjian
f4e3be7241 Update FAQ. 2001-03-08 16:52:10 +00:00
Peter Eisentraut
4eaa654bd6 Sync rule for making INSTALL file. 2001-03-06 20:41:06 +00:00
Peter Eisentraut
0dcd17702a Some editing, enhance markup, move description section before options list. 2001-03-06 18:55:57 +00:00
Bruce Momjian
4888d077be Shorten TOAST mention 2001-03-06 18:11:39 +00:00
Peter Eisentraut
668c598a30 Update/correct/refine. 2001-03-06 17:43:56 +00:00
Philip Warner
3df52c0c2a - Reflect change of option -U to -L 2001-03-06 05:22:50 +00:00
Philip Warner
d3464631e3 - Minor correction to usage 2001-03-06 05:22:18 +00:00
Peter Eisentraut
0ab27ad5e0 Add missing space, change some markup. 2001-03-05 19:00:39 +00:00
Peter Eisentraut
27d8dcd55f Sorry, that change was not correct. 2001-03-05 19:00:01 +00:00
Bruce Momjian
47065aec11 I'm attaching those diffs for the Reference Guide in a tar file, as
not all of them attached properly in the post I made a few minutes
ago. Please disregard those earlier files. The diffs in the tar file
replace them.

Pierce Tyler
2001-03-05 18:42:57 +00:00
Bruce Momjian
83d0e37947 Update email addresses. 2001-03-05 18:09:55 +00:00
Peter Eisentraut
5bbad66e0e PyGreSQL documentation. Based on the README, converted to DocBook by
Mikhail Terekhov <terekhov@emc.com>.
2001-03-04 18:54:07 +00:00
Tom Lane
aee52a6de3 Document TEMP option. 2001-03-03 22:11:40 +00:00
Tom Lane
9c9936587c Implement COMMIT_SIBLINGS parameter to allow pre-commit delay to occur
only if at least N other backends currently have open transactions.  This
is not a great deal of intelligence about whether a delay might be
profitable ... but it beats no intelligence at all.  Note that the default
COMMIT_DELAY is still zero --- this new code does nothing unless that
setting is changed.
Also, mark ENABLEFSYNC as a system-wide setting.  It's no longer safe to
allow that to be set per-backend, since we may be relying on some other
backend's fsync to have synced the WAL log.
2001-02-26 00:50:08 +00:00
Peter Eisentraut
60774e8210 Even better example for operator precedence mis-parsing. 2001-02-25 16:05:21 +00:00
Peter Eisentraut
3460181c3c Choose a more suitable example for the operator precedence mis-parsing
example.
2001-02-24 18:09:51 +00:00
Peter Eisentraut
2db9d5e53a Markup, spell check, refine JDBC documentation. 2001-02-24 12:40:27 +00:00
Thomas G. Lockhart
a9a047e347 Freshen with a few recent platform reports:
Linux/Alpha, Linux/Sparc, MacOS-X.
2001-02-23 02:17:27 +00:00
Tom Lane
e14a9deb93 Document timeofday(), mention start-of-transaction vs. current-time
semantics, a few other small improvements.
2001-02-21 23:15:24 +00:00
Peter Eisentraut
496373e2e4 Fix markup. (A <keyword> isn't what it is in SQL.) Add jungle of more
markup. ;-)
2001-02-21 17:50:38 +00:00
Peter Eisentraut
3a65e4fca6 Add more details. 2001-02-20 22:27:56 +00:00
Peter Eisentraut
824648afae Turn on section numbering. 2001-02-20 22:27:26 +00:00
Tom Lane
f35252de28 Fix pg_passwd's failure to cope with usernames > 8 chars. 2001-02-20 01:16:49 +00:00
Tom Lane
2884073848 Document --enable-cassert. 2001-02-19 22:25:43 +00:00
Tom Lane
414f94f262 Change plpgsql's GET DIAGNOSTICS statement to use SQL99-compatible
syntax.  Fix the RESULT_OID case, which never worked.  Add documentation.
2001-02-19 19:49:53 +00:00
Tom Lane
a276392e52 Update example of partially constraining join order to use a subselect
in FROM instead of an auxiliary view.  We didn't have subselect-in-FROM
when I wrote this originally...
2001-02-19 00:24:30 +00:00
Tom Lane
fa0cd643d2 AND/OR truth table needs another row IMHO. 2001-02-19 00:01:18 +00:00
Tom Lane
c3b00e7e29 Add --template option to createdb script to allow access to WITH TEMPLATE
option of CREATE DATABASE.  In pg_regress, create regression database
from template0 to ensure that any installation-local cruft in template1
will not mess up the tests.
2001-02-18 17:53:55 +00:00
Peter Eisentraut
48d03278a2 Enhance documentation of date/time functions. Add extract, current_date,
current_time, current_timestamp.  Add more examples.  Remove age(), because
it doesn't work like it is documented, and no one could explain it to me.
2001-02-18 17:17:17 +00:00
Peter Eisentraut
b9c7d371ed Make <lineannotation> italic. Fix syntax error in print style. 2001-02-18 17:15:03 +00:00
Tom Lane
df8186b282 Add note that partial indices are not currently supported. 2001-02-18 06:07:37 +00:00
Tom Lane
c3151c29de Update description of fsync option for 7.1. 2001-02-18 05:30:12 +00:00
Tom Lane
57e0847180 Change default commit_delay to zero, update documentation. 2001-02-18 04:50:43 +00:00
Tom Lane
81ff09eeb5 Catch some stray references to .htm files. 2001-02-17 16:52:53 +00:00
Tom Lane
ec22e3127d No more .htm files, so don't try to add them to the doc tarballs. 2001-02-17 16:47:57 +00:00
Bruce Momjian
64a1b6263d Update bsdi shared memory stuff. 2001-02-16 19:43:52 +00:00
Bruce Momjian
88c55990ce Update BSDI FAQ. 2001-02-16 19:27:19 +00:00
Bruce Momjian
016f0eed24 Update BSDI SGML. 2001-02-16 16:10:06 +00:00
Bruce Momjian
ca71c66190 Update FAQ. 2001-02-15 22:21:23 +00:00
Bruce Momjian
bb1095c66d Update FAQ. 2001-02-15 22:15:10 +00:00
Tom Lane
bf0078d257 Update obsolete wording of error message. 2001-02-15 21:11:17 +00:00
Tom Lane
5341cddba8 Further polishing of documentation about new fmgr call convention. 2001-02-15 19:03:35 +00:00
Bruce Momjian
4c2b0f1d73 Update for Tatsuo. 2001-02-15 13:31:44 +00:00
Tom Lane
21deb42897 Clarify meaning of GEQO_THRESHOLD parameter. 2001-02-15 04:28:50 +00:00
Tom Lane
52cacf46b4 Improve documentation of JOIN syntax. Explain NATURAL as an alternative
to ON and USING for specifying the join condition, not as an independent
kind of join semantics.
2001-02-15 04:10:54 +00:00
Peter Eisentraut
d42d31e78e Alter documentation of boolean type, add example. Someone figured that it
wasn't clear that the "boolean type" was actually called "boolean".  Add
tip about "casting" booleans using CASE.

Spell check whole file.
2001-02-14 19:37:26 +00:00
Peter Eisentraut
41b4628916 Format <structname>, <structfield>, and <type> mono-spaced. 2001-02-14 19:35:14 +00:00
Peter Eisentraut
22aeb5306e Hmm, so referencing a CSS stylesheet when there isn't one doesn't work
everywhere.
2001-02-13 22:35:15 +00:00
Peter Eisentraut
fe4da2ffe8 Fix markup. 2001-02-13 22:05:47 +00:00
Peter Eisentraut
ab66098841 Didn't work when Makefile.custom is missing. 2001-02-13 21:51:17 +00:00
Peter Eisentraut
702f1235b9 Custom DSSSL stylesheet. Style changes included here:
HTML:
* make .html the default extension
* allow use of CSS stylesheet ("stylesheet.css", not included)
* make <set> TOC two levels deep
* put time of creation into meta header
Print:
* make print output justified by default
* footnotes at bottom of each page
* allow TeX to hyphenate
2001-02-13 21:27:05 +00:00
Peter Eisentraut
b08e00b2ae Fix tag. 2001-02-13 21:13:11 +00:00
Bruce Momjian
8824741f99 User Manual
Chapter 4
   String Operators
    Table 4.7: Other String Functions
      strpos is missing the result in the result column, it should be 2
      Also to_ascii might need a result but maybe not.

Appendix A
In the Time Zone Table
 Greenwich is spelled Greenwish

David Aldrich
2001-02-12 14:21:27 +00:00
Bruce Momjian
69f506c01d New release format, Peter E style. 2001-02-12 13:09:33 +00:00
Bruce Momjian
f6abf4e84b Move release date into release heading. 2001-02-11 14:20:30 +00:00
Bruce Momjian
3f8e30651b Clean up HISTORY file, add dates to releases. 2001-02-11 01:48:51 +00:00
Peter Eisentraut
31d3e21edf Repair markup. 2001-02-11 01:41:00 +00:00
Peter Eisentraut
be274f47d0 Document that NetBSD's libedit can be used instead of readline. 2001-02-10 18:24:14 +00:00
Peter Eisentraut
88517a2d9e Add note about the availability of contrib/mac for the macaddr data type. 2001-02-10 18:02:35 +00:00
Bruce Momjian
d3fb67db26 Back out addition. Seems grammar doesn't handle CONSTRAINT as optional. 2001-02-10 16:41:30 +00:00
Bruce Momjian
a5dbde8b0a Add mention of CONSTRAINT in ADD CONSTRAINT section. 2001-02-10 16:39:07 +00:00
Tom Lane
a25a785f6d Minor improvements and copy-editing. 2001-02-10 08:30:13 +00:00
Tom Lane
08265ef9c2 Fix example of syntactic ambiguity between prefix/infix/postfix operators
--- Postgres now accepts the example we claimed it wouldn't.  Miscellaneous
copy-editing as well.
2001-02-10 07:08:44 +00:00
Tom Lane
618733de1a Fix documentation of EXECUTE, add documentation of FOR ... EXECUTE. 2001-02-10 05:32:33 +00:00
Tom Lane
d08741eab5 Restructure the key include files per recent pghackers discussion: there
are now separate files "postgres.h" and "postgres_fe.h", which are meant
to be the primary include files for backend .c files and frontend .c files
respectively.  By default, only include files meant for frontend use are
installed into the installation include directory.  There is a new make
target 'make install-all-headers' that adds the whole content of the
src/include tree to the installed fileset, for use by people who want to
develop server-side code without keeping the complete source tree on hand.
Cleaned up a whole lot of crufty and inconsistent header inclusions.
2001-02-10 02:31:31 +00:00
Peter Eisentraut
cf21985ab5 Update section about how to start server from boot scripts. 2001-02-10 00:50:18 +00:00
Peter Eisentraut
a1d28be831 Avoid a particular <simplelist>. jadetex has formatting problems,
apparently when the content is long enough to require line breaks.
2001-02-09 20:38:15 +00:00
Bruce Momjian
f835a4f1f7 Large object manual updates. 2001-02-09 19:24:09 +00:00
Bruce Momjian
98d66c722c Mention NetBSD 2001-02-09 17:55:48 +00:00
Bruce Momjian
14f6445534 Remove pg_service mention. 2001-02-09 17:53:44 +00:00
Bruce Momjian
b483ad84f8 Add -g as synonmym for --globals-only in pg_dumpall. Add info about
-c,--clean option to manual page.
2001-02-09 17:16:57 +00:00
Tom Lane
467f43d2fa Document PL/TclU language variant, and do some minor copy-editing. 2001-02-09 03:06:38 +00:00
Tom Lane
1f78ad262e Restructure discussion of PL installation to emphasize createlang as the
recommended install procedure, rather than mentioning it as an afterthought.
2001-02-09 02:20:52 +00:00
Peter Eisentraut
088c0b9546 Make -w the default for shut down, add -W option to specify no wait.
Add -l option to name log file.  Set umask to 077.
Proper file descriptor redirection to allow postmaster to detach from
shell's process group.
Add -s option to turn off informational messages.
2001-02-08 19:39:24 +00:00
Tom Lane
2394083bd6 Minor copy-editing. 2001-02-07 20:46:55 +00:00
Bruce Momjian
c9836946ac Update FAQ. 2001-02-07 16:33:32 +00:00
Bruce Momjian
2424483c23 Update FAQ. 2001-02-07 16:32:47 +00:00
Bruce Momjian
3869b08859 Update FAQ. 2001-02-06 04:28:50 +00:00
Peter Eisentraut
192ce19d36 Document BETWEEN. 2001-02-05 19:21:45 +00:00
Bruce Momjian
e28c095e8d Update FAQ. 2001-02-05 17:37:44 +00:00
Peter Eisentraut
ab29852224 Move PL docs to programmer's guide, "storage" chapter to admin guide,
clean up some things in the affected areas.
2001-02-04 15:28:18 +00:00
Peter Eisentraut
72813984da Must run jadetex three times to get correct page numbers. Add support for
pdfjadetex.
2001-02-04 12:23:11 +00:00
Peter Eisentraut
c1f5ed6394 When making xrefs to refsects, the linkend should point to the refsect and
the endterm to the title element, not both to the title.  At least
docbook2man prefers it that way.
2001-02-04 12:18:08 +00:00
Bruce Momjian
930b283a89 Re-add Peter E's changes. 2001-02-03 21:50:45 +00:00
Peter Eisentraut
251de13afd Improved wording, from Albert REINER <areiner@tph.tuwien.ac.at>. 2001-02-03 19:09:46 +00:00
Peter Eisentraut
7c164dca0b Update, polish, consistencify preface/intro sections. 2001-02-03 19:03:27 +00:00
Bruce Momjian
a1c68b4e6b A patch for the GROUP BY/HAVING example. p.date should be s.date.
Robert B. Easter
2001-02-01 19:13:47 +00:00
Bruce Momjian
8255fc1716 Update HISTORY/release with current changes. 2001-01-29 18:58:45 +00:00
Bruce Momjian
4ad180691f Update FAQ. 2001-01-29 01:23:36 +00:00
Bruce Momjian
be88b0d888 Update FAQ. 2001-01-28 17:43:54 +00:00
Bruce Momjian
08dcf0a680 Update FAQ. 2001-01-28 17:42:12 +00:00
Bruce Momjian
ab71c20fdf Update FAQ. 2001-01-28 17:39:44 +00:00
Bruce Momjian
677fe55c12 Update FAQ. 2001-01-28 15:18:45 +00:00
Bruce Momjian
b72ca55ed5 Update FAQ. 2001-01-27 20:19:34 +00:00
Peter Eisentraut
94bf45265f Make into appendix, correct some items. 2001-01-27 11:12:53 +00:00
Peter Eisentraut
dc7a0009f0 Add permission check for CHECKPOINT. 2001-01-27 10:19:52 +00:00
Bruce Momjian
76beb79d27 in the tutorial, chapter 2., "Relational Data Model Formalities"
(sql490.htm), there is

"set of all k-tuples v1, v2, ... vk, such that v1 [isin] D1, v1 [isin] D1"

i assume it should be
"set of all k-tuples v1, v2, ... vk, such that v1 [isin] D1, v2 [isin] D2"

Divide by Zero
2001-01-27 05:07:28 +00:00
Bruce Momjian
a60537240f Update FAQ. 2001-01-27 04:38:54 +00:00
Bruce Momjian
2696cf0412 Update FAQ. 2001-01-27 04:35:16 +00:00
Peter Eisentraut
1c63587f24 Clean up markup, add description of contrib/array operators by Joel Burton
<jburton@scw.org>.
2001-01-26 23:40:39 +00:00
Peter Eisentraut
61737a7b47 Add some links from data type chapter to section on literal constants. 2001-01-26 22:04:22 +00:00
Peter Eisentraut
7b9dc71405 WAL documentation, from Oliver Elphick and Vadim Mikheev. 2001-01-24 23:15:19 +00:00