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

4946 Commits

Author SHA1 Message Date
f79fbb2bec Add PQserverVersion() to libpq to provide more-convenient access to
the server version number.  This commit also removes bogus DOS line
endings from libpqddll.def.

Greg Sabino Mullane
2004-08-11 18:06:01 +00:00
f7667e4cfa Update DELETE FROM:
< * Allow DELETE to handle table aliases for self-joins
> * Allow an alias to be provided for the target table in UPDATE/DELETE
276,279c276,282
<   There is no way to create a table alias for the deleted table for use
<   in the DELETE WHERE clause.  The agreed approach is to allow a USING
<   clause to specify additional tables.  UPDATE already has an optional
<   FROM clause for this purpose.
>   This is not SQL-spec but many DBMSs allow it.
>
> * Allow additional tables to be specified in DELETE for joins
>
>   UPDATE already allows this (UPDATE...FROM) but we need similar
>   functionality in DELETE.  It's been agreed that the keyword should
>   be USING, to avoid anything as confusing as DELETE FROM a FROM b.
2004-08-10 17:30:47 +00:00
2c29664b6b Update DELETE FROM TODO info. 2004-08-10 16:29:43 +00:00
fdcad61fd5 Add:
* Add COMMENT ON for all cluster global objects (users, groups,
  databases and tablespaces)
2004-08-10 01:38:59 +00:00
97b1ac1aef Update documentation to reflect the fact that we now know exactly what
time zone names we support.
2004-08-10 00:55:08 +00:00
1ad8aedb5f Removed, shared table:
< * Add COMMENT for tablespaces
2004-08-09 22:48:01 +00:00
8196e1f85a Add:
> * Add COMMENT for tablespaces
2004-08-09 22:39:18 +00:00
1109959907 Remove no-longer-relevant information about trying to force your OS
to support PST8PDT time zone for the regression tests.
2004-08-09 05:34:39 +00:00
82fde1aaa8 Add note pointing out the difference in semantics between Oracle and
plpgsql EXCEPTION blocks.
2004-08-08 22:40:46 +00:00
35a5fb6863 Move expanded discussion of inheritance's limitations out of tutorial
and into ddl.sgml.  Rewrite for more completeness and (hopefully)
clarity.
2004-08-08 21:33:11 +00:00
33bf242a8a Make listen_addresses be a comma-separated list instead of a space-separated
list.  More consistent with our other list-containing GUC variables.
2004-08-08 20:17:36 +00:00
dc199eafa7 Document background writer control parameters, do some editorial work
on other recent changes in runtime parameter list.
2004-08-08 19:42:57 +00:00
881ea47d24 Another array syntax change (whitespace) clarification -- this time in
the release notes.
2004-08-08 06:03:36 +00:00
4187adc631 Minor clarification of documentation regarding trailing whitespace. 2004-08-08 05:55:55 +00:00
da8325fa5c Updated release notes for recent array syntax changes. 2004-08-08 05:46:40 +00:00
cb50ee286d Tighened up syntax checking of array input processing considerably. Junk that
was previously allowed in odd places with odd results now causes an ERROR.
Also changed behavior with respect to whitespace -- trailing whitespace is
now ignored as well as leading whitespace (which has always been ignored).

Documentation updated to reflect change in whitespace handling. Also some
refactoring to what I believe is a more sensible order of several paragraphs.
2004-08-08 05:01:55 +00:00
8e953e6fbb Update admin guide's discussion of WAL to match present reality. 2004-08-08 04:34:43 +00:00
6c3561b9e4 Minor editorialization on example --- I think that the use of dollar
quoting in this case is just needless obscurantism.
2004-08-08 02:05:32 +00:00
ff9d69d931 This patch adds SQL2003 to the set of standards with which PostgreSQL
is attempting to comply.

David Fetter
2004-08-08 01:52:14 +00:00
2539edc53f This adds a caveat to the inheritance part of the tutorial.
David Fetter
2004-08-08 01:51:05 +00:00
0236b5e07e This patch adds an example to the CREATE DOMAIN docs.
David Fetter
2004-08-08 01:49:30 +00:00
ff8d68df5c Included is an example of using savepoints in a non-trivial example.
Giving examples in the SQL command reference is hard because we don't
have conditionals at the SQL level.

Gavin Sherry
2004-08-08 01:48:31 +00:00
9b3caebb0a Update plpgsql documentation for 8.0 (mostly, make use of named
function parameters and dollar quoting in examples; do some polishing
of the existing dollar-quoting docs).  The 'how to port from Oracle'
section is looking pretty respectable these days ...
2004-08-08 00:50:58 +00:00
27fedc8a5e Improve privileges discussion (mostly, mention grant options). 2004-08-07 20:44:50 +00:00
82433e913c Update a couple of example error messages to reflect the fact that we
don't generate constraint names like "$1" anymore.
2004-08-07 19:53:48 +00:00
c71e3de264 Improve markup a little. 2004-08-07 19:14:45 +00:00
c2f14a7cdf Improve tablespace discussion, and bring it up to date with code. 2004-08-07 19:02:43 +00:00
ff2c8950fe Update pitr docs to mention inclusive/exclusive xid specification 2004-08-07 18:07:46 +00:00
752089ea41 Fix markup. 2004-08-07 12:21:25 +00:00
a1c2ed7b02 Mention that transactions can complete in a different numeric order, for
PITR recovery.
2004-08-07 03:21:11 +00:00
8ac6de38f1 Add:
> * Create dump tool for write-ahead logs for use in determining
>   transaction id for point-in-time recovery
2004-08-07 01:58:12 +00:00
f8450bb32a Some editorial work on the 8.0 release notes. Update for recent commits,
improve existing descriptions.
2004-08-06 23:33:48 +00:00
57050f9bdf Modify:
> * Un-comment all variables in postgresql.conf
84,85c84,85
<   By removing comments we prevent the confusion that commenting a line
<   returns a modified value to its default, which it does not.
>   By not showing commented-out variables, we discourage people from
>   thinking that re-commenting a variable returns it to its default.
2004-08-06 17:52:44 +00:00
78877260e6 Add:
> * Track dependencies in function bodies and recompile/invalidate
2004-08-06 15:24:20 +00:00
ab7e8cba58 Add description:
>
>   By removing comments we prevent the confusion that commenting a line
>   returns a modified value to its default, which it does not.
>
2004-08-06 15:12:38 +00:00
e6c7206356 Add:
> * Remove comments on postgresql.conf variables
2004-08-06 15:08:52 +00:00
0307c09cf5 Rename vacuum_cost_naptime to vacuum_cost_delay, with agreement from Jan. 2004-08-06 04:15:09 +00:00
bdf8ef6925 Create a built-in log rotation program, so that we no longer have to
recommend that people go get Apache's rotatelogs program.  Additional
benefits are that configuration is done through GUC, rather than
externally, and that the postmaster can monitor the log rotator and
restart it after failure (though we certainly hope that won't happen
often).
Andreas Pflug, some rework by Tom Lane.
2004-08-05 23:32:13 +00:00
0e13d627be Require that array literals produce "rectangular" arrays, i.e. all the
subarrays of a given dimension have the same number of elements/subarrays.

Also repair a longstanding undocumented (as far as I can see) ability to
explicitly set array bounds in the array literal syntax. It now can
deal properly with negative array indicies. Modify array_out so that
arrays with non-standard lower bounds (i.e. not 1) are output with
the expicit dimension syntax. This fixes a longstanding issue whereby
arrays with non-default lower bounds had them changed to default
after a dump/reload cycle.

Modify regression tests and docs to suit, and add some minimal
documentation regarding the explicit dimension syntax.
2004-08-05 03:30:44 +00:00
a128926e89 Update for 8.0 2004-08-04 22:59:42 +00:00
fcbc438727 Label CVS tip as 8.0devel instead of 7.5devel. Adjust various comments
and documentation to reference 8.0 instead of 7.5.
2004-08-04 21:34:35 +00:00
8515efa128 Add some notes about unimplemented aspects of PITR backup/recovery. 2004-08-04 17:37:09 +00:00
59ff484894 Preliminary documentation for PITR. 2004-08-03 23:42:59 +00:00
58c41712d5 Add functions pg_start_backup, pg_stop_backup to create backup label
and history files as per recent discussion.  While at it, remove
pg_terminate_backend, since we have decided we do not have time during
this release cycle to address the reliability concerns it creates.
Split the 'Miscellaneous Functions' documentation section into
'System Information Functions' and 'System Administration Functions',
which hopefully will draw the eyes of those looking for such things.
2004-08-03 20:32:36 +00:00
635018b77e Move dbsize/oid2name to open items list. 2004-08-03 01:14:57 +00:00
e3b8530cc3 Readd pg_config --pgxs code. 2004-08-02 12:34:14 +00:00
f0efe26402 Support USING INDEX TABLESPACE clause for PRIMARY KEY and UNIQUE
constraints.  Christopher Kings-Lynne.
2004-08-02 04:28:29 +00:00
efcaf1e868 Some mop-up work for savepoints (nested transactions). Store a small
number of active subtransaction XIDs in each backend's PGPROC entry,
and use this to avoid expensive probes into pg_subtrans during
TransactionIdIsInProgress.  Extend EOXactCallback API to allow add-on
modules to get control at subxact start/end.  (This is deliberately
not compatible with the former API, since any uses of that API probably
need manual review anyway.)  Add basic reference documentation for
SAVEPOINT and related commands.  Minor other cleanups to check off some
of the open issues for subtransactions.
Alvaro Herrera and Tom Lane.
2004-08-01 17:32:22 +00:00
9d9cdf82a4 Some name cleanup. 2004-08-01 14:08:08 +00:00
48187a1dea Fix :
< * Magnus is Magnus Haglander (?)
> * Magnus is Magnus Hagander <mha@sollentuna.net>
2004-08-01 13:55:12 +00:00