Bruce Momjian
c151e6374c
Fix markup.
2005-03-13 05:16:33 +00:00
Bruce Momjian
119807e397
More markup changes.
2005-03-13 05:11:49 +00:00
Bruce Momjian
1c0aeec65b
More cleanups.
2005-03-13 04:35:06 +00:00
Bruce Momjian
cbe4b4163e
More improvements.
2005-03-13 04:10:23 +00:00
Bruce Momjian
a717ab6fa6
More additions to the table.
2005-03-13 03:44:51 +00:00
Bruce Momjian
1fa8445233
Keep changing the markup until I like it. :-)
2005-03-13 03:02:08 +00:00
Bruce Momjian
382f24b187
More table markup improvements.
2005-03-13 02:54:34 +00:00
Bruce Momjian
7b7abb7ccb
More table markup fixes.
2005-03-13 02:33:03 +00:00
Bruce Momjian
6109a1ce18
Rework "aliases" column for encodings.
2005-03-13 02:20:50 +00:00
Bruce Momjian
074ba31e41
Fix markup typo.
2005-03-13 02:07:04 +00:00
Bruce Momjian
f949baf9a2
Add missing conversion documentation for certain encodings.
2005-03-13 02:02:44 +00:00
Bruce Momjian
e42e3b6c56
Reorder documented encodings to be alphabetical.
...
Remove warning about pre-7.2 LATIN5 usage.
2005-03-13 01:30:59 +00:00
Bruce Momjian
ee1bd33dd0
Document aliases for our supported encodings.
...
Add a few encodings that were not documented.
2005-03-13 01:26:30 +00:00
Tom Lane
fa5e44017a
Adjust the API for aggregate function calls so that a C-coded function
...
can tell whether it is being used as an aggregate or not. This allows
such a function to avoid re-pallocing a pass-by-reference transition
value; normally it would be unsafe for a function to scribble on an input,
but in the aggregate case it's safe to reuse the old transition value.
Make int8inc() do this. This gets a useful improvement in the speed of
COUNT(*), at least on narrow tables (it seems to be swamped by I/O when
the table rows are wide). Per a discussion in early December with
Neil Conway. I also fixed int_aggregate.c to check this, thereby
turning it into something approaching a supportable technique instead
of being a crude hack.
2005-03-12 20:25:06 +00:00
Bruce Momjian
852ef58da9
Documention all our supported encodings.
2005-03-12 06:28:17 +00:00
Tom Lane
595ed2a855
Make the behavior of HAVING without GROUP BY conform to the SQL spec.
...
Formerly, if such a clause contained no aggregate functions we mistakenly
treated it as equivalent to WHERE. Per spec it must cause the query to
be treated as a grouped query of a single group, the same as appearance
of aggregate functions would do. Also, the HAVING filter must execute
after aggregate function computation even if it itself contains no
aggregate functions.
2005-03-10 23:21:26 +00:00
Bruce Momjian
e3d7de6b99
Rename canonical encodings, per Peter:
...
UNICODE => UTF8
ALT => WIN866
WIN => WIN1251
TCVN => WIN1258
The old codes continue to work.
2005-03-07 04:30:55 +00:00
Tom Lane
1fcfa038ce
Add a note that regression test row ordering differences can be caused
...
by non-default planner parameter settings.
2005-03-07 02:00:28 +00:00
Tom Lane
5d5087363d
Replace the BufMgrLock with separate locks on the lookup hashtable and
...
the freelist, plus per-buffer spinlocks that protect access to individual
shared buffer headers. This requires abandoning a global freelist (since
the freelist is a global contention point), which shoots down ARC and 2Q
as well as plain LRU management. Adopt a clock sweep algorithm instead.
Preliminary results show substantial improvement in multi-backend situations.
2005-03-04 20:21:07 +00:00
Tom Lane
5c2e68ba6b
Fix misspelling of sysctl, per Stefan Hans.
2005-03-02 19:58:54 +00:00
Neil Conway
87aafa1600
SGML improvements to the DML chapter.
2005-03-01 23:45:00 +00:00
Neil Conway
484f0464ff
Implement max() and min() aggregates for array types. Patch from Koju
...
Iijima, reviewed by Neil Conway. Catalog version number bumped,
regression tests updated.
2005-02-28 03:45:24 +00:00
Bruce Momjian
2d22f16132
Rename planner stats detail to avoid label confict.
2005-02-27 01:17:34 +00:00
Bruce Momjian
234d50812c
Add documentation on how statistics are used by the planner.
...
Mark Kirkwood
2005-02-27 00:49:28 +00:00
Bruce Momjian
f55339577b
Adjust OS-specific kernel settings to mention old and new BSD methods of
...
adjusting values:
> But to be on the safe side, it would make sense to do something similar
> to the BSD section, and comment about older distributions maybe needing
> to manipulate /proc/kernel/* directly.
Mark Kirkwood
2005-02-26 23:19:05 +00:00
Bruce Momjian
ffef9a9de4
Clarify PGPASSWORD usage:
...
! authentication. Use of this environment variable is not
! recommended for security reasons (some operating systems
! allow non-root users to see process environment variables via
! <application>ps</>); instead consider using the
! <filename>~/.pgpass</> file (see <xref linkend="libpq-pgpass">).
2005-02-26 18:39:04 +00:00
Tom Lane
891497d3a9
Correct overstatement in locking docs: we said ExclusiveLock is never
...
taken automatically, but this is only true with respect to user tables.
2005-02-26 18:37:17 +00:00
Bruce Momjian
0060023c3d
State PGPASSWORD is "not recommended" rather than "depricated".
2005-02-26 14:21:40 +00:00
Bruce Momjian
93aa22fc8e
Please find enclosed a patch, per Dennis Bj<C3><B6>rklund, that uses -f
...
for input files rather than <. This makes error messages, &c. more
expressive.
David Fetter
2005-02-25 04:56:01 +00:00
Bruce Momjian
e49da4855c
Clarify object ownership language to prevent confusion with database
...
ownership.
2005-02-25 02:34:56 +00:00
Tom Lane
26b9a2860f
Document that only a table's owner may TRUNCATE it. Per Keith Worthington.
2005-02-22 19:06:18 +00:00
Bruce Momjian
78bb800bc2
Update initdb locale/encoding documentation description. Backpatch to
...
8.0.X.
2005-02-22 02:54:19 +00:00
Neil Conway
ccf5db73eb
Fix two typos, per report from Hashem Masoud.
2005-02-21 06:12:14 +00:00
Neil Conway
99bf6a1634
Updates to the bibliography. Patch from Michael Fuhr.
2005-02-21 02:21:03 +00:00
Neil Conway
f18752dab5
Document the "register" and "unregister" pg_ctl subcommands, for use on
...
Windows. Patch from Magnus Hagander.
2005-02-21 02:13:26 +00:00
Tom Lane
60b2444cc3
Add code to prevent transaction ID wraparound by enforcing a safe limit
...
in GetNewTransactionId(). Since the limit value has to be computed
before we run any real transactions, this requires adding code to database
startup to scan pg_database and determine the oldest datfrozenxid.
This can conveniently be combined with the first stage of an attack on
the problem that the 'flat file' copies of pg_shadow and pg_group are
not properly updated during WAL recovery. The code I've added to
startup resides in a new file src/backend/utils/init/flatfiles.c, and
it is responsible for rewriting the flat files as well as initializing
the XID wraparound limit value. This will eventually allow us to get
rid of GetRawDatabaseInfo too, but we'll need an initdb so we can add
a trigger to pg_database.
2005-02-20 02:22:07 +00:00
Bruce Momjian
2abe40aac7
Fix typo in SGML.
2005-02-19 04:39:52 +00:00
Bruce Momjian
eea1ef2c85
Add reference to the NewbieDoc Docbook Guide.
2005-02-19 04:34:17 +00:00
Neil Conway
73f5c9d90e
Minor consistency improvement.
2005-02-14 00:54:26 +00:00
Tom Lane
c6521b1b93
Write some real documentation about the index access method API.
2005-02-13 03:04:15 +00:00
Bruce Momjian
341251f202
Make clearer warning about using 'now' with DEFAULT:
...
SELECT CURRENT_TIMESTAMP;
SELECT now();
SELECT TIMESTAMP 'now'; -- incorrect for use with DEFAULT
2005-02-11 04:31:54 +00:00
Bruce Momjian
056a664fa1
Mention that some psql environment variables come from libpq and note
...
more variables can be found in the libpq manual section.
Mention .pgpass in the psql manual page section dealing with connection
parameters and point to the libpq section for more details.
Backpatch to 8.0.X.
2005-02-11 04:19:05 +00:00
Neil Conway
35878b9bc6
Add some index entries for RAISE and exception handling in PL/PgSQL. Per
...
suggestion from Rainer Brandt.
2005-02-10 06:08:22 +00:00
Neil Conway
cf1f6f98f2
Improvements to documentation of shared memory configuration under
...
FreeBSD. From Mark Kirkwood, editorializing by Neil Conway.
2005-02-10 05:14:58 +00:00
Neil Conway
280cae35aa
Use now() rather than 'now' in an example in the PL/PgSQL docs. From David
...
Fetter and Ben Calvert.
2005-02-10 05:01:07 +00:00
Bruce Momjian
8f5b4c8c8c
Update pginstaller URL to http://www.postgresql.org/ftp/win32/ .
...
Backpatch to 8.0.X.
2005-02-10 04:52:31 +00:00
Neil Conway
c76ff4bc4e
Better late than never: document that the GiST API changed in 8.0 in the
...
"incompatibilities" section of the release notes.
2005-02-06 22:31:50 +00:00
Tom Lane
e507399790
Document array behavior for out-of-range subscripts.
2005-02-06 20:59:30 +00:00
Neil Conway
ad893a361d
Minor SGML improvements.
2005-02-03 07:12:37 +00:00
Bruce Momjian
b3a7e987a1
Improve wording of to_char() change in 8.1:
...
The 8.1 release will remove the <function>to_char()</> function
for intervals.
2005-02-02 18:16:13 +00:00
Neil Conway
73f630500b
Add support for temporary views, including documentation and regression
...
tests. Contributed by Koju Iijima, review from Neil Conway, Gavin Sherry
and Tom Lane.
Also, fix error in description of WITH CHECK OPTION clause in the CREATE
VIEW reference page: it should be "CASCADED", not "CASCADE".
2005-02-02 06:36:02 +00:00
Tom Lane
0c109c7187
Recommend security@postgresql.org as the contact point for security-related bugs.
2005-01-30 21:31:48 +00:00
Tom Lane
64428b8daf
Preliminary release notes for 8.0.1, 7.4.7, 7.3.9, 7.2.7.
2005-01-30 01:26:41 +00:00
Tom Lane
5703a69003
We haven't had a fixed limit on rule recursion depth since 7.3 ...
...
but the documentation still said so.
2005-01-29 23:45:36 +00:00
Tom Lane
750d9171f6
Add documentation for format_type(), which somehow escaped it before.
2005-01-28 23:12:59 +00:00
Tom Lane
a9fec25df8
Add note cautioning that you can't use an encrypting IDENT server
...
with Postgres.
2005-01-28 22:38:37 +00:00
Tom Lane
f07b9689c9
Generalize TRUNCATE to support truncating multiple tables in one
...
command. This is useful because we can allow truncation of tables
referenced by foreign keys, so long as the referencing table is
truncated in the same command.
Alvaro Herrera
2005-01-27 03:19:37 +00:00
Tom Lane
aba691b728
Close all cursors created during a failed subtransaction. This is needed
...
to avoid problems when a cursor depends on objects created or changed in
the same subtransaction. We'd like to do better someday, but this seems
the only workable answer for 8.0.1.
2005-01-26 23:20:21 +00:00
Tom Lane
4de12d4470
Add docs for a couple of formerly-undocumented geometric conversion functions.
2005-01-26 20:42:19 +00:00
Bruce Momjian
d08889aa8b
Add tools/find_gt_lt to find < and > in SGML source.
...
Lowercase some uppercase tags so tools is more reliable at finding
problems.
2005-01-23 00:30:59 +00:00
Bruce Momjian
754b5e1c42
More < and > changes to ampersands.
...
8.0.X and HEAD.
2005-01-22 23:22:19 +00:00
Bruce Momjian
1ced129aa3
More < and > cleanups converted to ampersands.
2005-01-22 22:56:36 +00:00
Bruce Momjian
9e292e3e48
More fixes for => and ->, use proper ampersand markups.
2005-01-22 22:31:52 +00:00
Bruce Momjian
1e5eb160d1
Change -> and <- to use proper ampersand markups.
...
HEAD and 8.0.X.
2005-01-22 22:06:27 +00:00
Tom Lane
0f6be37fcb
Clarify that the --enable-integer-datetimes switch affects the time and
...
interval datatypes as well as timestamp.
2005-01-17 18:47:15 +00:00
Bruce Momjian
be105bd789
Please find enclosed another patch that now (I hope) really is
...
correct. It's in addition to the previous patch.
David Fetter
2005-01-17 17:29:49 +00:00
Neil Conway
8a9cc26ee1
Fix minor thinko in pg_dump documentation of "-n" option.
2005-01-17 04:30:37 +00:00
Bruce Momjian
6ea9da1ee0
Please find enclosed a patch to the pl/perl documents that correctly
...
tells what arguments go to pl/perl triggers.
David Fetter
2005-01-17 03:04:17 +00:00
Peter Eisentraut
637cf69b9d
Update supported platforms list.
2005-01-17 02:29:23 +00:00
Tom Lane
9175d7df66
Some more copy-editing.
2005-01-17 01:29:02 +00:00
Tom Lane
a5645972af
Some minor editing work on the release notes.
2005-01-15 21:11:46 +00:00
Tom Lane
0e3afb3277
Minor improvements in descriptions of recent changes.
2005-01-15 07:53:04 +00:00
Bruce Momjian
67c1fd1efd
Update release notes for 8.0.0 final. Release date set as 2005-01-19!
2005-01-15 05:59:44 +00:00
Tom Lane
893c66de69
Simplify trigger example, per Mark Kirkwood.
2005-01-15 03:38:44 +00:00
Kris Jurka
2c1abfd979
Add index entries for function volatilities.
2005-01-14 21:46:09 +00:00
Tom Lane
a294726bc1
Incorporate examples and doc patches from Mark Kirkwood and David Fetter.
2005-01-14 01:16:52 +00:00
Bruce Momjian
29e58330a6
Change Win32 client configuration files from *.txt to *.conf.
2005-01-14 00:25:56 +00:00
Peter Eisentraut
145cc515f0
Update supported platforms list.
2005-01-13 21:13:33 +00:00
Peter Eisentraut
89b5cbe928
Update supported platforms list.
2005-01-10 09:01:04 +00:00
Tom Lane
ab3bb9cf78
Add some real documentation about TOAST (finally). Combine this with
...
the old 'page' chapter and the recently added 'filelayout' chapter to
make a coherent chapter about PostgreSQL's physical storage layout.
2005-01-10 00:04:43 +00:00
Tom Lane
0471cd5f62
Clarify description of greedy and non-greedy POSIX regular expressions,
...
per discussion in Nov 2004 with Ken Tanzer.
2005-01-09 20:08:50 +00:00
Tom Lane
7da8623a56
Last batch of updates in response to 7.4 interactive docs comments.
2005-01-09 18:58:10 +00:00
Tom Lane
7bbdb078bd
Update discussion of ALTER TABLE ADD COLUMN, per Michael Fuhr.
2005-01-09 17:47:30 +00:00
Tom Lane
b548cde1f5
Some more small improvements in response to 7.4 interactive docs comments.
2005-01-09 05:57:45 +00:00
Tom Lane
b5adf46cbd
Some more small improvements in response to 7.4 interactive docs comments.
2005-01-08 22:13:38 +00:00
Peter Eisentraut
b19011e10c
Update supported platforms list.
2005-01-08 09:54:47 +00:00
Tom Lane
6889537c48
Some small docs improvements motivated by reading the comments for the 7.4
...
7.4 interactive docs.
2005-01-08 05:19:18 +00:00
Tom Lane
cef2cc50b5
Some small docs improvements motivated by reading the comments for the
...
7.4 interactive docs.
2005-01-08 01:44:08 +00:00
Tom Lane
ffce35fe6f
Add a tip showing how functions on composite types can be used to
...
emulate computed fields. I suppose this is why the Berkeley boys made
it work that way in the first place, but the docs never said so anyplace.
2005-01-07 23:08:44 +00:00
Tom Lane
4e64e7f563
Improve discussion of SQL functions taking/returning row types.
2005-01-07 22:40:46 +00:00
Peter Eisentraut
7a986fb4a4
Update supported platforms list
2005-01-07 10:21:02 +00:00
Bruce Momjian
826f732562
Fix ECPGstatus() documentation of parameters.
...
Edmund Bacon
2005-01-07 05:43:28 +00:00
Tom Lane
41ca756386
Spell APPDATA as %APPDATA%, per recommendation from Magnus.
2005-01-06 21:20:44 +00:00
Tom Lane
7507d594d2
Adjust examples to avoid using keywords as identifiers, per Honda Shigehiro.
2005-01-06 20:53:34 +00:00
Tom Lane
a3f98d5795
Adjust lookup of client-side profile files (.pgpass and so on) as per
...
discussion on pgsql-hackers-win32 list. Documentation still needs to
be tweaked --- I'm not sure how to refer to the APPDATA folder in
user documentation.
2005-01-06 18:29:11 +00:00
Peter Eisentraut
f4833cf30c
Update to supported platforms list
2005-01-06 10:12:22 +00:00
Tom Lane
d6294efbec
More minor updates and copy-editing.
2005-01-06 01:49:24 +00:00
Tom Lane
e0b9085074
Re-readjust synopses for CREATE/ALTER USER.
2005-01-06 00:11:14 +00:00
Tom Lane
81c41e3d0e
More minor updates and copy-editing.
2005-01-05 23:42:03 +00:00
Bruce Momjian
a87f494d9c
Fix example, change table name from 'array' to 'array_int'.
2005-01-05 18:03:19 +00:00
Peter Eisentraut
8c6147b911
Revert cosmetic synopsis changes that break psql translations.
2005-01-05 14:22:39 +00:00
Peter Eisentraut
10e5a759aa
Add some post-processing to the man page generation to fix up external/
...
dangling cross-references.
2005-01-04 21:03:30 +00:00
Tom Lane
a7abae4954
Fix subsection ordering (DISTINCT should be described before LIMIT).
2005-01-04 08:59:45 +00:00
Tom Lane
cc093bc3ad
More minor updates and copy-editing.
2005-01-04 03:58:16 +00:00
Tom Lane
4e94ea9fc9
More minor updates and copy-editing.
2005-01-04 00:39:53 +00:00
Bruce Momjian
246be304a5
Add mention of performance impact on LIKE of non-C locales.
2005-01-04 00:05:45 +00:00
PostgreSQL Daemon
2ff501590b
Tag appropriate files for rc3
...
Also performed an initial run through of upgrading our Copyright date to
extend to 2005 ... first run here was very simple ... change everything
where: grep 1996-2004 && the word 'Copyright' ... scanned through the
generated list with 'less' first, and after, to make sure that I only
picked up the right entries ...
2004-12-31 22:04:05 +00:00
Tom Lane
883ac5ca7a
More minor updates and copy-editing.
2004-12-30 21:45:37 +00:00
Tom Lane
c3d583ddce
More updates and copy-editing. Rearrange order of sections a little bit
...
to put more widely useful info before less widely useful info.
2004-12-30 03:13:56 +00:00
Tom Lane
ec0e307596
Convert external-projects to an appendix.
2004-12-29 23:36:47 +00:00
Tom Lane
d9236a69fc
Make libpq default to localhost connections on machines without Unix-domain
...
sockets, rather than failing as it formerly did. Revert the
thereby-obsoleted patch to make psql supply the localhost default.
2004-12-28 23:17:54 +00:00
Tom Lane
797c2b2501
More minor updates and copy-editing.
2004-12-28 22:47:15 +00:00
Tom Lane
7737d01ece
More minor updates and copy-editing.
2004-12-28 19:08:58 +00:00
Tom Lane
31cc047d94
BDST should be "British double SUMMER time", not Standard time.
...
Per John Smith.
2004-12-28 15:25:55 +00:00
Tom Lane
008e9e452f
More minor updates and copy-editing.
2004-12-27 22:30:10 +00:00
Tom Lane
39475990e0
Move info about psql console code page issues out of install-win32.sgml,
...
where it doesn't belong, and put it in the psql reference page.
2004-12-27 20:13:48 +00:00
Tom Lane
370f90970d
Cause pg_hba.conf file inclusion (@file stuff) to behave as documented,
...
that is, files are sought in the same directory as the referencing file.
Also allow absolute paths in @file constructs. Improve documentation
to actually say what is allowed in an included file.
2004-12-27 19:19:24 +00:00
Tom Lane
cdd402f8b3
More minor updates and copy-editing.
2004-12-26 23:06:56 +00:00
Bruce Momjian
e40ae565c2
Improve Win32 install instructions.
2004-12-24 19:20:18 +00:00
Tom Lane
7cc37511a2
Minor updates and copy-editing.
2004-12-24 19:12:37 +00:00
Bruce Momjian
c62465cba3
Back out Win32 changes until Tom is done.
2004-12-24 18:37:26 +00:00
Bruce Momjian
91e081d515
Adjust documention for Win32 installation options.
2004-12-24 18:32:50 +00:00
Bruce Momjian
e4ff7c5e94
Update docs for Win32 installation, per Tom.
2004-12-24 18:11:16 +00:00
Tom Lane
0add759825
More minor updates and copy-editing.
2004-12-23 23:07:38 +00:00
Tom Lane
f8ffb60492
A small pass of docs review and copy-editing.
2004-12-23 05:37:40 +00:00
Bruce Momjian
766b0bbb4d
Add mention that pg_ctl will return an accurate exit code when waiting
...
for startup or shutdown. We have always done this but it wasn't documented.
2004-12-22 02:17:15 +00:00
Bruce Momjian
bbb2e21e14
I was recently surprised to find that EXTRACT's day of the week
...
numbering is different than TO_CHAR's ditto. EXTRACT starts at 0==Sunday
while TO_CHAR starts at 1==Sunday.
A suggestion for two documentation notes is attached as a patch to
current CVS HEAD.
Troels Arvin
2004-12-21 01:02:28 +00:00
Tom Lane
b5ae0d69da
Mark the TimeZone parameter as GUC_REPORT, so that JDBC can find out
...
when it changes. Per request from Kris Jurka.
2004-12-20 18:15:07 +00:00
Tom Lane
59bffa3707
Adjust pg_resetxlog to handle 8.0 WAL file names properly.
2004-12-20 01:42:11 +00:00
Tom Lane
8562b032d8
Fix broken markup.
2004-12-19 22:10:41 +00:00
Tom Lane
afc4ffe3c8
Add note warning that OS X updates usually overwrite /etc/rc.
2004-12-18 18:36:33 +00:00
Bruce Momjian
5dac7c73c7
Changes the doc's to reflect what the user will find as default.
...
Robert Treat
2004-12-18 04:21:43 +00:00
Tom Lane
92c001bbaf
Minor copy-editing in tutorial.
2004-12-17 04:50:32 +00:00
Neil Conway
480777e56c
Allow 'ELSEIF' as an alternative to 'ELSIF' in PL/PgSQL. There have been
...
several reports of users being confused when they attempt to use ELSEIF
and run into trouble due to PL/PgSQL's lax parser. The parser will be
improved for 8.1, but we can fix most of the problem by allowing ELSEIF
for now.
2004-12-17 03:51:36 +00:00
Tom Lane
dfdae5d63c
Hook up the plpython result-object nrows and status methods correctly.
...
Adjust documentation to match current reality.
2004-12-17 02:14:48 +00:00
Peter Eisentraut
8e0598f7b1
Add port report
2004-12-16 11:23:16 +00:00
Peter Eisentraut
70dc2f6abb
Add port reports
2004-12-14 10:24:27 +00:00
Peter Eisentraut
374abf9178
Add more port reports.
2004-12-14 00:36:12 +00:00
Peter Eisentraut
5ec30faee6
Spell checker run
2004-12-13 18:05:10 +00:00
Peter Eisentraut
fd536dd257
Added port reports
2004-12-11 20:54:14 +00:00
Peter Eisentraut
d89042b443
Patch to the pl/perl documents that clarifies the scope of global data and
...
gives an example of storing a code reference
by David Fetter
2004-12-11 20:03:37 +00:00
Peter Eisentraut
607154df90
Added port reports
2004-12-11 19:31:45 +00:00
Peter Eisentraut
f4451a9e59
Added port report
2004-12-11 19:13:32 +00:00
Peter Eisentraut
ed244968c0
Added port report
2004-12-11 19:01:46 +00:00
Peter Eisentraut
e514da649e
Start filling in the supported platforms list with build farm information.
2004-12-06 23:47:08 +00:00
Tom Lane
29a26b25ba
Fix several mistaken xreflabel entries, including those spotted by
...
Michael Fuhr.
2004-12-05 20:05:47 +00:00
Bruce Momjian
2254d4ef1b
Back out ARRAY() patch.
2004-12-03 18:34:31 +00:00
Tom Lane
59ce952a89
Improve description of --disable-rpath workaround for regression test
...
problems.
2004-12-03 17:46:19 +00:00
Bruce Momjian
c1233c849b
>>This patch adds another plpgsql trigger example to the chapter. It uses
...
>>the emp table again, but shows how to audit changes into another table
>>(emp_audit).
Mark Kirkwood
2004-12-03 17:12:09 +00:00
Bruce Momjian
4aa09c5762
Typo fixes.
2004-12-03 06:30:40 +00:00
Bruce Momjian
e5615c42a7
Fix typo.
2004-12-03 06:18:12 +00:00
Bruce Momjian
b5a6e26f3a
Merge pgadmin paragraph.
2004-12-03 06:04:38 +00:00
Bruce Momjian
6b16aaa065
First version of external projects manual section.
2004-12-03 05:50:18 +00:00
Bruce Momjian
e5fddaa819
Remove doc changes that were in process during previous commit.
2004-12-03 01:23:38 +00:00
Bruce Momjian
08e0b34bad
Back out fix for Unicode characters above 0x10000
2004-12-03 01:20:33 +00:00
Bruce Momjian
4af2ea329b
Add documention on ARRAY() function.
...
David Fetter
2004-12-02 21:04:47 +00:00
Bruce Momjian
020cf90900
Add mention of using --disable-rpath with regression test.
2004-12-02 20:35:45 +00:00
Tom Lane
e9c03c3b1b
Disallow the combination VACUUM FULL FREEZE for safety's sake, for the
...
reasons I outlined in pghackers a few days ago.
Also, undo someone's overly optimistic decision to reduce tuple state
checks from if (...) elog() to Asserts. If I trusted this code more,
I might think it was a good idea to disable these checks in production
installations. But I don't.
2004-12-02 19:28:49 +00:00
Bruce Momjian
22c21bab92
Wording improvement.
2004-12-02 17:39:54 +00:00
Bruce Momjian
91cf5ef550
Document that btrim()'s second parameter is optional, and defaults to spaces.
2004-12-02 17:14:54 +00:00
Bruce Momjian
8408f65252
Rework libpq threaded SIGPIPE handling to avoid interference with
...
calling applications. This is done by blocking sigpipe in the libpq
thread and using sigpending/sigwait to possibily discard any sigpipe we
generated.
2004-12-02 15:32:54 +00:00
Neil Conway
64b5789497
This is a little patch to correct the documentation on CVS. The URL for
...
downloading CVS at cyclic.com site is long defunct, and I changed the text
to not overtly recommend CVS 1.10, a now fairly old version.
Jon Jensen
2004-12-02 04:12:12 +00:00
Tom Lane
4828445d3c
Clarify documentation of age() functions.
2004-12-01 19:32:12 +00:00
Tom Lane
5374d097de
Change planner to use the current true disk file size as its estimate of
...
a relation's number of blocks, rather than the possibly-obsolete value
in pg_class.relpages. Scale the value in pg_class.reltuples correspondingly
to arrive at a hopefully more accurate number of rows. When pg_class
contains 0/0, estimate a tuple width from the column datatypes and divide
that into current file size to estimate number of rows. This improved
methodology allows us to jettison the ancient hacks that put bogus default
values into pg_class when a table is first created. Also, per a suggestion
from Simon, make VACUUM (but not VACUUM FULL or ANALYZE) adjust the value
it puts into pg_class.reltuples to try to represent the mean tuple density
instead of the minimal density that actually prevails just after VACUUM.
These changes alter the plans selected for certain regression tests, so
update the expected files accordingly. (I removed join_1.out because
it's not clear if it still applies; we can add back any variant versions
as they are shown to be needed.)
2004-12-01 19:00:56 +00:00
Peter Eisentraut
a420b76ca5
Correctly name the Windows operating systems
2004-11-27 21:56:05 +00:00
Peter Eisentraut
49cbef7947
Update of conformance information to SQL:2003
...
by Troels Arvin, Simon Riggs, Elein Mustain
Make spelling of SQL standard names uniform.
2004-11-27 21:27:08 +00:00
Peter Eisentraut
fab33917f4
Clean files generated by htmlhelp target.
2004-11-23 21:41:24 +00:00
Peter Eisentraut
a4cf1ba6a1
Add htmlhelp stylesheet and build target.
2004-11-23 16:27:59 +00:00
Neil Conway
90f6f4b4b4
Fix typo in release notes. Michael Fuhr.
2004-11-22 07:30:22 +00:00
Tom Lane
de8113fcdb
Update release notes for recent changes; also minor editorialization.
2004-11-22 00:37:59 +00:00
Tom Lane
35f4994133
Fix plperl and pltcl error handling per my previous proposal. SPI
...
operations are now run as subtransactions, so that errors in them
can be reported as ordinary Perl or Tcl errors and caught by the
normal error handling convention of those languages. Also do some
minor code cleanup in pltcl.c: extract a large chunk of duplicated
code in pltcl_SPI_execute and pltcl_SPI_execute_plan into a shared
subroutine.
2004-11-21 21:17:07 +00:00
Tom Lane
19dacd4492
Fix typo, per Bruno Wolff.
2004-11-20 21:44:24 +00:00
Tom Lane
88969ea11a
Fix incorrect documentation of plperl's method for accessing the number
...
of rows processed by a SPI query (David Fetter); also some other minor
editorial cleanup (Tom Lane).
2004-11-19 23:22:54 +00:00
Tom Lane
b9d8ea278b
Some further editorial adjustment of PITR recovery procedure description.
2004-11-17 18:29:02 +00:00
Neil Conway
a51e54cf5b
Document a limitation of COPY's new CSV mode. Doc patch from Andrew
...
Dunstan, editorializing by Neil Conway.
2004-11-17 02:50:06 +00:00
Tom Lane
2bb3bcfcf9
Trivial wording improvement.
2004-11-16 15:00:36 +00:00
Neil Conway
23185085b9
Add index entries for all GUC configuration parameters.
2004-11-16 05:33:14 +00:00
Neil Conway
ec7a6bd9a2
Replace "--" and "---" with "—" as appropriate, for better-looking
...
output.
2004-11-15 06:32:15 +00:00
Neil Conway
db1531f6d8
Fix typo, other minor improvements.
2004-11-15 04:35:57 +00:00
Tom Lane
ea23ec82c2
Remove GUC USERLIMIT variable category, making the affected variables
...
plain SUSET instead. Also delay processing of options received in
client connection request until after we know if the user is a superuser,
so that SUSET values can be set that way by legitimate superusers.
Per recent discussion.
2004-11-14 19:35:35 +00:00
Neil Conway
1c7a47cea4
Improvements to the PITR docs. Initial patch from Gavin Sherry, additional
...
improvements by Neil Conway.
2004-11-14 06:10:12 +00:00
Tom Lane
7f4b5a003b
Add some real documentation about the overall filesystem layout used by
...
a Postgres database. Update page.sgml to match 8.0 tuple header layout.
2004-11-12 21:50:53 +00:00
Neil Conway
b4cd3b3829
Fix a handful of typos in the release notes introduced by Bruce's recent
...
commit. Per Gavin Sherry.
2004-11-11 04:11:07 +00:00
Peter Eisentraut
5bf218d2eb
Add character set declaration to HTML files, so they have a chance to
...
validate and display correctly.
2004-11-10 23:01:47 +00:00
Peter Eisentraut
979a530dde
Fix some spacing problems.
2004-11-10 21:54:23 +00:00
Bruce Momjian
45ecebc415
Add SGML markup to 8.0 release notes.
2004-11-10 21:43:50 +00:00
Bruce Momjian
1688848204
Fix sgml markup tags.
2004-11-10 06:13:12 +00:00
Bruce Momjian
a3704c6cb1
Update release notes to match CVS.
2004-11-10 06:09:59 +00:00
Tom Lane
cd6ecf6829
Recommend that archive_command be coded to not overwrite existing files.
...
Add explicit documentation of the recovery configuration settings. Other
minor improvements in the PITR docs. Simon Riggs, some editorialization
by Tom Lane.
2004-11-08 18:01:28 +00:00
Peter Eisentraut
4b3a2d854c
Use correct function name in example
2004-11-08 15:57:05 +00:00
Peter Eisentraut
a981b02336
Reduce formatting entropy
2004-11-06 14:32:10 +00:00
Tom Lane
98e8b48053
Create 'default_tablespace' GUC variable that supplies a TABLESPACE
...
clause implicitly whenever one is not given explicitly. Remove concept
of a schema having an associated tablespace, and simplify the rules for
selecting a default tablespace for a table or index. It's now just
(a) explicit TABLESPACE clause; (b) default_tablespace if that's not an
empty string; (c) database's default. This will allow pg_dump to use
SET commands instead of tablespace clauses to determine object locations
(but I didn't actually make it do so). All per recent discussions.
2004-11-05 19:17:13 +00:00
Tom Lane
e48b9b5570
Minor documentation updates from Simon Riggs.
2004-11-04 19:08:42 +00:00
Tom Lane
44e8a968e3
Invent a new, more thread-safe version of PQrequestCancel, called PQcancel.
...
Use this new function in psql. Implement query cancellation in psql for
Windows. Code by Magnus Hagander, documentation and minor editorialization
by Tom Lane.
2004-10-30 23:11:27 +00:00
Tom Lane
80559fa9e9
I found a corner case in which it is possible for RI_FKey_check's call
...
of HeapTupleSatisfiesItself() to trigger a hint-bit update on the tuple:
if the row was updated or deleted by a subtransaction of my own transaction
that was later rolled back. This cannot occur in pre-8.0 of course, so
the hint-bit patch applied a couple weeks ago is OK for existing releases.
But for 8.0 it seems we had better fix things so that RI_FKey_check can
pass the correct buffer number to HeapTupleSatisfiesItself. Accordingly,
add fields to the TriggerData struct to carry the buffer ID(s) for the
old and new tuple(s). There are other possible solutions but this one
seems cleanest; it will allow other AFTER-trigger functions to safely
do tqual.c calls if they want to. Put new fields at end of struct so
that there is no API breakage.
2004-10-30 20:53:06 +00:00
Tom Lane
7d38e59448
Fix broken example for PREPARE.
2004-10-29 19:40:33 +00:00
Neil Conway
51967daa06
Improvements to the CREATE DATABASE reference page's description of the
...
TABLESPACE clause.
2004-10-29 03:17:22 +00:00
Neil Conway
ade8f5c8d4
Minor improvements to the tablespace documentation.
2004-10-29 02:11:18 +00:00
Tom Lane
3d2849820b
Document IS DISTINCT FROM in a more obvious place, and add some more
...
index entries for IS-foo constructs.
2004-10-26 22:16:12 +00:00
Neil Conway
1d6b096941
Update copyright information in documentation. Also, add a note
...
to RELEASE_CHANGES so that this is not forgotten in the future.
2004-10-25 06:40:39 +00:00