Commit Graph

2308 Commits

Author SHA1 Message Date
Bruce Momjian 3bca6ca61c This patch updates doc/src/sgml/runtime.sgml to refer to "MacOS X", not
"OS/X".

Neil Conway
2002-12-09 21:03:30 +00:00
Bruce Momjian 3af3f79e69 In the examples, I missed changing a few 'column' and 'table' mentions
to domain when copying alter table docs.
--
Rod Taylor <rbt@rbt.ca>
2002-12-06 16:40:13 +00:00
Bruce Momjian e87e82d2b7 Attached are two small patches to expose md5 as a user function -- including
documentation and regression test mods. It seemed small and unobtrusive enough
to not require a specific proposal on the hackers list -- but if not, let me
know and I'll make a pitch. Otherwise, if there are no objections please apply.

Joe Conway
2002-12-06 05:20:28 +00:00
Bruce Momjian 88ae9cd411 Mention of DEFAULT_STATISTICS_TARGET default.
Jeff Davis
2002-12-06 05:18:57 +00:00
Bruce Momjian da1738a178 This patch improves the documentation for SERIAL columns a little bit.
Neil Conway
2002-12-06 05:17:42 +00:00
Bruce Momjian 982b26c0a9 RANDOM_PAGE_COST clarification of docs.
Joseph Shraibman
2002-12-06 05:17:03 +00:00
Bruce Momjian f679690621 Mark ALTER DOMAIN as supported, fix typo in header. 2002-12-06 05:07:16 +00:00
Bruce Momjian 05a6b37912 Re-addd Rod's ALTER DOMAIN patch. 2002-12-06 05:00:34 +00:00
Bruce Momjian 78705d0a19 Add file. 2002-12-06 04:40:58 +00:00
Bruce Momjian 6e9adbe191 Add SGML file. 2002-12-06 04:40:36 +00:00
Bruce Momjian 5b4c16e099 Back out ALTER DOMAIN patch until missing file appears. 2002-12-06 03:43:35 +00:00
Bruce Momjian 853153ca6d ALTER DOMAIN .. SET / DROP NOT NULL
ALTER DOMAIN .. SET / DROP DEFAULT
ALTER DOMAIN .. ADD / DROP CONSTRAINT

New files:
- doc/src/sgml/ref/alter_domain.sgml

Rod Taylor
2002-12-06 03:28:34 +00:00
Bruce Momjian d851f002a4 With a recent commit truncate is transaction safe in 7.4.
Rod Taylor
2002-12-06 03:15:07 +00:00
Bruce Momjian 0f3b83edfa Improvements from Neil Conway. 2002-12-05 05:47:44 +00:00
Bruce Momjian 23e88e25d6 Document get/set bit/byte functions. 2002-12-05 04:38:30 +00:00
Bruce Momjian ec1bee1478 Update docs mention of query string for debug_ commands, from Joseph
Shraibman.
2002-12-04 21:43:07 +00:00
Bruce Momjian f988edb4e1 Add OpenBSD local indent credentials, from William Ahern. 2002-12-03 21:50:44 +00:00
Tom Lane 829cedc8cf Make install and clean targets behave more normally. 2002-11-30 00:22:39 +00:00
Bruce Momjian 75d1ed3392 Recreate HISTORY file to match release.sgml changes. Stamp 7.3 final in
configure/configure.in.
2002-11-26 22:04:03 +00:00
Bruce Momjian 80e6d99731 Add -cmdTuples to tcl interface. 2002-11-26 21:38:49 +00:00
Bruce Momjian 22a717a18e Update build rules for /HISTORY. 2002-11-26 19:22:16 +00:00
Bruce Momjian 6bfc09baf4 7.4devel now supports SQL:1999's "enhanced trigger capability" (which
is just FOR EACH STATEMENT triggers, AFAICS); this patch updates the
SQL conformance docs to note that.

Neil Conway
2002-11-24 03:15:55 +00:00
Bruce Momjian a2b4a7071d This minor patch corrects an error in the function docs: it's
"version()", not "version".

Neil Conway
2002-11-23 04:04:43 +00:00
Bruce Momjian 1b7f3cc02d This patch implements FOR EACH STATEMENT triggers, per my email to
-hackers a couple days ago.

Notes/caveats:

        - added regression tests for the new functionality, all
          regression tests pass on my machine

        - added pg_dump support

        - updated PL/PgSQL to support per-statement triggers; didn't
          look at the other procedural languages.

        - there's (even) more code duplication in trigger.c than there
          was previously. Any suggestions on how to refactor the
          ExecXXXTriggers() functions to reuse more code would be
          welcome -- I took a brief look at it, but couldn't see an
          easy way to do it (there are several subtly-different
          versions of the code in question)

        - updated the documentation. I also took the liberty of
          removing a big chunk of duplicated syntax documentation in
          the Programmer's Guide on triggers, and moving that
          information to the CREATE TRIGGER reference page.

        - I also included some spelling fixes and similar small
          cleanups I noticed while making the changes. If you'd like
          me to split those into a separate patch, let me know.

Neil Conway
2002-11-23 03:59:09 +00:00
Tom Lane 9416f3839d Update ports list from recent regression-test-database entries. 2002-11-23 03:50:34 +00:00
Tom Lane 349d529abf Release note improvements (Neil, Tom) 2002-11-23 02:41:03 +00:00
Peter Eisentraut ed24f28538 Fixups for man pages 2002-11-21 23:34:43 +00:00
Tom Lane 75394d3f5b Fix breakage in new-in-7.3 timetz_zone() function: was giving random
results due to doing arithmetic on uninitialized values.  Add some
documentation about the AT TIME ZONE construct.  Update some other
date/time documentation that seemed out of date for 7.3.
2002-11-21 23:31:20 +00:00
Bruce Momjian 71f411dd03 Add mention of kern.ipc.shm_use_phys for locking shared memory. 2002-11-21 18:19:51 +00:00
Tom Lane 8362be35e8 Code review for superuser_reserved_connections patch. Don't try to do
database access outside a transaction; revert bogus performance improvement
in SIBackendInit(); improve comments; add documentation (this part courtesy
Neil Conway).
2002-11-21 06:36:08 +00:00
Tom Lane 6c1d4662af Finish implementation of hashed aggregation. Add enable_hashagg GUC
parameter to allow it to be forced off for comparison purposes.
Add ORDER BY clauses to a bunch of regression test queries that will
otherwise produce randomly-ordered output in the new regime.
2002-11-21 00:42:20 +00:00
Bruce Momjian 2676e11fdf Update ports list. 2002-11-20 22:01:57 +00:00
Bruce Momjian cd55a2b1be Back out NetBSD/arm32 port. 2002-11-19 17:17:48 +00:00
Bruce Momjian 7b5571e83d Update ports list. 2002-11-19 16:40:05 +00:00
Peter Eisentraut ded8f887aa Fix typo and markup. 2002-11-18 18:10:59 +00:00
Bruce Momjian 075f482024 Update SGML problem in ports. 2002-11-18 17:15:27 +00:00
Bruce Momjian c4501ec551 Remove ALL from CLUSTER ALL. Use just CLUSTER. 2002-11-18 17:12:07 +00:00
Bruce Momjian 72cf681383 Update ports list. 2002-11-18 05:02:08 +00:00
Bruce Momjian 38e6eb197d Re-order REINDEX options in manual for consistency. REINDEX
DATABASE/TABLE/INDEX is the proper order.
2002-11-17 23:43:32 +00:00
Peter Eisentraut 35223af057 Revise SQL features list. 2002-11-17 13:28:43 +00:00
Bruce Momjian 9249bdaabd SGML markup fixes. 2002-11-15 03:22:30 +00:00
Bruce Momjian da8149032a SGML improvements.
Neil Conway
2002-11-15 03:11:18 +00:00
Bruce Momjian 8bc717cb88 New version attached. The following is implemented:
- CLUSTER ALL clusters all the tables that have some index with
  indisclustered set and the calling user owns.
- CLUSTER tablename clusters the named table, using the index with
  indisclustered set.  If no index has the bit set, throws elog(ERROR).
- The multi-relation version (CLUSTER ALL) uses a multitransaction
  approach, similar to what VACUUM does.

Alvaro Herrera
2002-11-15 03:09:39 +00:00
Bruce Momjian 6b603e67dc Add DOMAIN check constraints.
Rod Taylor
2002-11-15 02:50:21 +00:00
Bruce Momjian 2986aa6a66 Add checkpoint_warning to warn of excessive checkpoints caused by too
few WAL files.
2002-11-15 02:44:57 +00:00
Bruce Momjian c948a3f4b8 Rename hostname_lookup to log_hostname. 2002-11-15 01:57:28 +00:00
Bruce Momjian aead49667b Rename show_source_port to log_source_port. 2002-11-15 01:40:20 +00:00
Bruce Momjian d36aa2e885 Rename:
! #show_parser_stats = false
! #show_planner_stats = false
! #show_executor_stats = false
! #show_statement_stats = false

TO:

! #log_parser_stats = false
! #log_planner_stats = false
! #log_executor_stats = false
! #log_statement_stats = false
2002-11-15 00:47:22 +00:00
Bruce Momjian 001d5a7aa5 Rename server_min_messages to log_min_messages. Part of consolidation
of log_ settings.
2002-11-14 23:53:27 +00:00
Bruce Momjian 65fbc29956 Update ports list. 2002-11-14 18:39:43 +00:00
Bruce Momjian af98ed5fda Fix Magnus's name. 2002-11-14 14:53:29 +00:00
Bruce Momjian 06bfabc88e Fix version number for FreeBSD/alpha on ports list. 2002-11-14 14:51:38 +00:00
Bruce Momjian 3be0907de8 Update ports list. 2002-11-14 14:23:59 +00:00
Bruce Momjian 4a57ef6826 Update ports list. 2002-11-14 04:59:15 +00:00
Bruce Momjian db286699c6 Update ports list. 2002-11-14 03:59:46 +00:00
Bruce Momjian 4e5a947d1c Make MOVE/FETCH 0 actually move/fetch 0. Add MOVE LAST to move to end
of cursor.
2002-11-13 00:44:09 +00:00
Bruce Momjian 266c3679f7 Add AIX as supported platform. 2002-11-12 20:19:55 +00:00
Tom Lane f9b5b41ef9 Code review for ON COMMIT patch. Make the actual on-commit action happen
before commit, not after :-( --- the original coding is not only unsafe
if an error occurs while it's processing, but it generates an invalid
sequence of WAL entries.  Resurrect 7.2 logic for deleting items when
no longer needed.  Use an enum instead of random macros.  Editorialize
on names used for routines and constants.  Teach backend/nodes routines
about new field in CreateTable struct.  Add a regression test.
2002-11-11 22:19:25 +00:00
Peter Eisentraut 1b342df00a Merge documentation updates from 7.3 branch. 2002-11-11 20:14:04 +00:00
Peter Eisentraut b327906683 Merge release note updates from 7.3 branch. 2002-11-11 20:06:00 +00:00
Barry Lind 80c980021f Update jdbc doc to reflect correct name of the PGConnection class. 2002-11-11 07:31:28 +00:00
Bruce Momjian 5d283d89cb Update russian FAQ, from Viktor Vislobokov. 2002-11-10 19:48:41 +00:00
Bruce Momjian cfd2728100 This patch makes a minor cleanup to the implementation of PERFORM in
PL/PgSQL. Previously, it had been bundled together with the assign
statement implementation, for some reason that wasn't clear to me
(they certainly don't share any code with one another). So I separated
them and made PERFORM a statement like any other. No changes in
functionality.

Along the way, I added some regression tests for PERFORM, added a
bunch more SGML tags to the PL/PgSQL docs, and removed an obsolete
comment relating to the implementation of RETURN NEXT.

Neil Conway
2002-11-10 00:35:58 +00:00
Bruce Momjian 50e726a2c3 Add documentation for array_upper/lower(). 2002-11-10 00:32:16 +00:00
Bruce Momjian 4ca28eb7c7 I just discovered, that there is missing a const when passing a buffer
to  PQescapeBytea and PQunescapeBytea. I fixed it and tried to create a
usable  diff (I'm not so familar to diff).

Tommi M?kitalo
2002-11-10 00:14:22 +00:00
Bruce Momjian 3eabc4490e Tweak CREATE SEQUENCE grammar to be more SQL1999 standards compliant.
Neil Conway
2002-11-10 00:10:20 +00:00
Bruce Momjian ebb531836a Add code to handle [ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP }]
for temp tables.

Gavin Sherry
2002-11-09 23:56:39 +00:00
Tom Lane f2ef470196 Update discussion of floating-point problems in regression tests. 2002-11-08 20:26:12 +00:00
Bruce Momjian b26dfbb0e3 Here is a patch that does just that, while maintaining the
"traditional" behavior, so the change should be transparent. Use the
command "\pset pager always" to turn it on. Anything else does the
normal toggle between "on" and "off"

Greg Sabino Mullane
2002-11-08 19:12:21 +00:00
Tom Lane d2c744aa56 Add extra_float_digits GUC parameter to allow adjustment of displayed
precision for float4, float8, and geometric types.  Set it in pg_dump
so that float data can be dumped/reloaded exactly (at least on platforms
where the float I/O support is properly implemented).  Initial patch by
Pedro Ferreira, some additional work by Tom Lane.
2002-11-08 17:37:52 +00:00
Bruce Momjian 88f528c3e9 Update libpq PQcmdTuples() and PQcmdStatus() docs, remove const param
doc mention to match code and include files.
2002-11-08 05:03:11 +00:00
Bruce Momjian 02608cbce6 I'm using libpgtcl with PostgreSQL-7.2.3. There is a discrepancy between
the documentation and behavior of "pg_result $res -oid" when $res is not
from an INSERT.  The documentation says it should return an empty
string, but in fact it returns 0. I think it used to return an empty
string around PostgreSQL-7.1.3 when PQoidStatus() was used, but now it
uses PQoidValue() which returns InvalidOid, 0 in this case.

Assuming the current behavior is desired, here is a patch to the
documentation doc/src/sgml/libpgtcl.sgml to match what really happens:


ljb
2002-11-08 04:56:40 +00:00
Bruce Momjian 433d4eb986 Update release docs for 7.3. 2002-11-08 03:44:15 +00:00
Bruce Momjian a8c18b980e Add OS/X kernel tuning section. 2002-11-05 23:16:56 +00:00
Bruce Momjian 6ac7538337 Update FAQ_DEV. 2002-11-05 21:53:24 +00:00
Bruce Momjian d3d54d4b41 Update FAQ_DEV. 2002-11-05 21:49:52 +00:00
Bruce Momjian c4ee9153c4 Update ports list. 2002-11-05 19:01:07 +00:00
Bruce Momjian 44c9a28b7c Update ports list. 2002-11-05 17:31:36 +00:00
Bruce Momjian 1f07f7d88b Update ports list. 2002-11-05 17:11:46 +00:00
Bruce Momjian 44a35e3598 Update ports list. 2002-11-05 17:09:50 +00:00
Tom Lane 5ca2fe3e96 Fix broken markup. 2002-11-05 04:34:51 +00:00
Bruce Momjian 704895a0bd Update ports list. 2002-11-05 03:18:09 +00:00
Bruce Momjian 1a9f24462c Update ports list. 2002-11-04 22:40:43 +00:00
Bruce Momjian 659df79e45 Update FAQ_DEV. 2002-11-03 04:02:32 +00:00
Bruce Momjian d3f9d0ce57 This patch adds a couple of extra index entries and removes some
out-of-date text about multibyte encoding (which is now always
included).

Oliver Elphick
2002-11-03 01:31:32 +00:00
Bruce Momjian ba95f2d6aa This patch adds information to the documentation on .pgpass and creates
additional index entries for it.

Oliver Elphick
2002-11-03 01:30:46 +00:00
Tom Lane 77fcc1cbae Fix some misstatements in WAL parameter discussion. 2002-11-02 22:23:01 +00:00
Tom Lane 5123139210 Remove encoding lookups from grammar stage, push them back to places
where it's safe to do database access.  Along the way, fix core dump
for 'DEFAULT' parameters to CREATE DATABASE.  initdb forced due to
change in pg_proc entry.
2002-11-02 18:41:22 +00:00
Tom Lane 6a7273e14c Fix permissions-checking bugs and namespace-search-path bugs in
CONVERSION code.  Still need to figure out what to do about inappropriate
coding in parsing.
2002-11-02 02:33:03 +00:00
Bruce Momjian caed998b69 Update port list. 2002-11-02 01:29:37 +00:00
Tom Lane 676a7c02d6 Update description of timestamp types for 7.3 implementation. 2002-10-31 22:18:42 +00:00
Bruce Momjian 2c58fcc0aa Add mention of T on .pot files, from pkuczynski@hypode.pl 2002-10-30 05:14:32 +00:00
Bruce Momjian faf285362e Clean up Unixware entry for Larry Rosenman 2002-10-30 03:00:53 +00:00
Bruce Momjian 5bd06b236f Update ports list. 2002-10-29 19:09:41 +00:00
Bruce Momjian db72810361 Update ports list. 2002-10-29 18:59:38 +00:00
Bruce Momjian ee244d6327 Update ports list. 2002-10-29 18:13:28 +00:00
Bruce Momjian 9f8a1215a0 Clean up markup in ports list. 2002-10-29 03:56:51 +00:00
Bruce Momjian 3f6d48a775 Update ports list. 2002-10-29 03:47:41 +00:00
Bruce Momjian ca3396802a Update Giles email address. 2002-10-29 03:29:42 +00:00
Bruce Momjian 79ec810031 Update port list. 2002-10-29 03:07:11 +00:00