Commit Graph

2263 Commits

Author SHA1 Message Date
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
Bruce Momjian
99a1b0d630 Update port list. 2002-10-29 02:57:28 +00:00
Bruce Momjian
2e447d21b8 Update port list. 2002-10-29 02:38:37 +00:00
Bruce Momjian
3b2796e6d2 Update port list. 2002-10-29 02:36:55 +00:00
Bruce Momjian
bb5f8918c4 Update ports list. 2002-10-27 23:50:05 +00:00
Bruce Momjian
f3f39d0b9c Update ports. 2002-10-26 20:45:40 +00:00
Bruce Momjian
e3edb8c69b Update ports list. 2002-10-26 20:15:42 +00:00
Bruce Momjian
458222e76f Update port list. 2002-10-26 20:12:25 +00:00
Bruce Momjian
5d42962bd3 Update ports. 2002-10-26 20:04:55 +00:00
Bruce Momjian
0ed0a9ddc0 Update BSD/OS as supported platform. 2002-10-26 02:17:05 +00:00
Tom Lane
6b704bf501 Add note about sort order of character datatypes being locale-dependent,
per suggestion from Nicolaus Erichsen.
2002-10-24 21:19:15 +00:00
Tom Lane
3a0fde3b51 Make link to schema inspection functions more clear. 2002-10-24 21:10:58 +00:00
Peter Eisentraut
266a280584 Add introductory sections explaining what each book is about. Remove Y2K
statement.
2002-10-24 17:48:54 +00:00
Bruce Momjian
3675d064c9 Add mention of postgres signals to reference page
Joseph Shraibman
2002-10-23 23:33:08 +00:00
Bruce Momjian
68c8bce69e Updated German FAQ, from Ian Barwick 2002-10-22 21:44:51 +00:00
Tom Lane
19cc7bcbe5 Specify that we need bison >= 1.50. 2002-10-22 13:46:59 +00:00
Bruce Momjian
f3e1937e5d Move libpgeasy.sgml to gborg. 2002-10-21 23:14:10 +00:00
Bruce Momjian
9761f1a07e Move odbc.sgml to gborg ODBC project. 2002-10-21 23:10:09 +00:00
Bruce Momjian
b6f0c50232 Small update for the removal of some memory leaks in plpython SGML example.
Nigel J. Andrews
2002-10-21 20:34:09 +00:00
Peter Eisentraut
cc4f576957 Improve ECPG documentation. 2002-10-21 18:04:05 +00:00
Tom Lane
210a039d4f Since ANY is a reserved word, better suggest that ANY be quoted when
used for the input type of an aggregate.
2002-10-21 04:33:39 +00:00
Tom Lane
156408e97b Fix documented sizes of geometric types. 2002-10-21 02:12:08 +00:00
Tom Lane
a92df3a208 Fix example of doing a restore. 2002-10-21 02:11:37 +00:00
Bruce Momjian
189c3481c4 Updates from Ian Barwick. 2002-10-21 00:47:44 +00:00
Bruce Momjian
76cadb59fe Remove trailing blanks in cvs.sgml. 2002-10-20 20:58:02 +00:00
Tom Lane
c918be6a17 Update description of numeric constants to match 7.3 reality.
Miscellaneous other copy-editing.
2002-10-20 05:05:46 +00:00
Bruce Momjian
2b2cf392fe Update char/varchar()/text/bytea to mention they have similar performance
characteristics.
2002-10-20 02:58:56 +00:00
Bruce Momjian
c650d52e14 Update Japanese FAQ, from Jun Kuwamura. 2002-10-20 02:37:49 +00:00
Tom Lane
f1c0071d5a Add warning that autocommit=off is not well-supported yet. 2002-10-20 01:43:32 +00:00
Tom Lane
ab901c60c8 Move BeOS and QNX4 to unsupported-platform list, until someone cares
to expend the effort to update them for new semaphore code.
2002-10-20 01:38:18 +00:00
Tom Lane
272bf59d29 Fix inconsistent formatting. 2002-10-19 23:09:20 +00:00
Tom Lane
93dca0d224 Fix incomplete definition of ALTER TABLE ADD/DROP CONSTRAINT syntax.
Add some verbiage about recent tweaks to behavior of ADD and DROP
COLUMN when there are descendant tables.
2002-10-19 22:51:45 +00:00
Tom Lane
c1f91a38e2 Fix rewrite code so that rules are in fact executed in order by name,
rather than being reordered according to INSTEAD attribute for
implementation convenience.
Also, increase compiled-in recursion depth limit from 10 to 100 rewrite
cycles.  10 seems pretty marginal for situations where multiple rules
exist for the same query.  There was a complaint about this recently,
so I'm going to bump it up.  (Perhaps we should make the limit a GUC
parameter, but that's too close to being a new feature to do in beta.)
2002-10-19 19:00:47 +00:00
Tom Lane
44dc9c1faa Fix psql's \copy to accept table names containing schemas, as well as
a column list.  Bring its parsing of quoted names and quoted strings
somewhat up to speed --- I believe it now handles all non-error cases
the same way the backend would, but weird boundary conditions are not
necessarily done the same way.
2002-10-19 00:22:14 +00:00
Tom Lane
fb9bc342ff Improve discussion of FOR UPDATE. 2002-10-18 18:26:22 +00:00
Bruce Momjian
f99e525f0f Update for tables returning function, item 5.3, from Joe Conway. 2002-10-17 23:34:10 +00:00
Peter Eisentraut
841e4b2089 Put the disk information all in one chapter. 2002-10-16 22:06:33 +00:00
Tom Lane
d508b057ac Adjust handling of command status strings in the presence of rules,
as per recent pghackers discussions.  initdb forced due to change in
fields of stored Query nodes.
2002-10-14 22:14:35 +00:00
Bruce Momjian
8fc1f413f4 - Link the entries in the table to the catalog heading
- Wrap them in the <database class="table"> tags, since thats what they
are (no markup rules for this, so it inherits from parent -- no style
change)
- Mention that pg_database, pg_shadow, and pg_group are global, and the
rest are local to the specific DB. (I believe this is correct).

> Works for me, though I suppose we could explain what the exceptions are
> like in general terms.  Perhaps something like
>
> 'Most system catalogs are copied from the template database during
> database creation, and are thereafter database-specific.  A few
> catalogs are physically shared across all databases in an installation;
> these are marked in the descriptions of the individual catalogs.'

Ok, new patch.

Rod Taylor
2002-10-14 04:29:23 +00:00
Bruce Momjian
daaf999fcb Improvements to Ian Barwick patch. 2002-10-14 03:15:33 +00:00
Bruce Momjian
0896707ef6 FAQ updates from Ian Barwick. 2002-10-14 02:50:28 +00:00
Tom Lane
ad4ce7aa5b Make SET really not start a transaction. 2002-10-13 16:55:05 +00:00
Peter Eisentraut
0cd5ce6b11 Compute version number for docs on the fly. 2002-10-12 16:34:28 +00:00
Peter Eisentraut
08028faa22 Handle indentation of verbatim environments in HTML output via CSS. 2002-10-12 16:33:43 +00:00
Peter Eisentraut
af514dca9e Fix linking problem. 2002-10-12 16:31:55 +00:00
Peter Eisentraut
10f41b2b80 Replace &version; by appropriate version. 2002-10-12 16:29:51 +00:00