Commit Graph

5323 Commits

Author SHA1 Message Date
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
Bruce Momjian cd5c7e7cbd Add:
> * Allow psql \pset boolean variables to set to fixed values, rather than toggle
2004-12-19 04:36:27 +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
Bruce Momjian 50b1651df7 Many thanks to Joachim Wieland for a big list of corrections / updates.
Ian Barwick
2004-12-18 04:18:21 +00:00
Bruce Momjian 2f7faa5473 Update from Ian Barwick 2004-12-18 04:13:20 +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
Bruce Momjian 24658a2d53 Add Win32:
>         o Disallow encodings like UTF8 which which PostgreSQL supports
>           but the operating system does not (already disallowed by
> 	  pginstaller)
2004-12-17 00:04:30 +00:00
Peter Eisentraut 8e0598f7b1 Add port report 2004-12-16 11:23:16 +00:00
Bruce Momjian 50f1daeaaa Add French IRC channel. 2004-12-16 01:08:23 +00:00
Bruce Momjian d78fc95bda Add Spanish IRC channel to FAQ. 2004-12-16 00:01:33 +00:00
Bruce Momjian e61648d835 Update IRC mention. 2004-12-15 03:11:26 +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
Bruce Momjian 3ff0418293 Remove:
< 	o Allow the shared memory address to be configured via GUC
2004-12-13 18:40:30 +00:00
Peter Eisentraut 5ec30faee6 Spell checker run 2004-12-13 18:05:10 +00:00
Bruce Momjian cc4f22c167 Done:
< 	o Remove per-backend parameter file and move into shared memory

Add for Win32:
> 	o Allow the shared memory address to be configured via GUC
2004-12-13 18:00:51 +00:00
Bruce Momjian e13c5cd33b Add:
>
> * Allow the size of the buffer cache used by temporary objects to be
>   specified as a GUC variable
>
>   Larger local buffer cache sizes requires more efficient handling of
>   local cache lookups.
2004-12-13 14:21:32 +00:00
Bruce Momjian cbc1886b30 Update FAQ.
Euler Taveira de Oliveira
2004-12-13 03:37:09 +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
Bruce Momjian 4abfc20f09 Reorder IRC examples. 2004-12-10 18:01:59 +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 510a47a91e Properl format HTML in developer's FAQ. 2004-12-04 04:12:11 +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 cf52f83aa6 Add:
> * ANALYZE should record a pg_statistic entry for an all-NULL column
2004-12-03 17:07:50 +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 28c8c99ac6 Add:
> * Fix priority ordering of read and write light-weight locks (Neil)
2004-12-03 02:24:01 +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 9b711e766e Add:
<
> 	o Fix problem with shared memory on the Win32 Terminal Server
2004-12-02 23:11:30 +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
Bruce Momjian 576bf2f7db Add for Win32:
> 	o Improve dlerror() reporting string
2004-12-02 19:37:58 +00:00
Bruce Momjian be6e9f6266 Add:
> * Allow a warm standby system to also allow read-only queries
>
>   This is useful for checking PITR recovery.
>
2004-12-02 19:32:57 +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 bbf29949c3 Add:
> * Fix psql's display of schema information (Neil)
2004-12-02 18:13:47 +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 40b6d68951 Update Brazilian FAQ.
Euler Taveira de Oliveira
2004-12-02 15:49:25 +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
Bruce Momjian b383c1db85 Add:
>
> * Allow FOR UPDATE queries to do NOWAIT locks
>
2004-12-02 04:40:37 +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
Bruce Momjian ec2fce1880 Update Japanese FAQ.
Jun Kuwamura
2004-12-02 03:46:47 +00:00
Bruce Momjian eebece7d0d Update French FAQ.
Guillaume LELARGE
2004-12-01 22:17:16 +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
Bruce Momjian b7bcea64ec Add:
> * Allow ecpg to work with MSVC and BCC
2004-12-01 17:39:18 +00:00
Bruce Momjian 7f20a59201 Update with Gavin's additions. 2004-12-01 17:21:58 +00:00
Bruce Momjian 4b9a12b1e9 Remove question mark on COPY CSV fix:
< 	  returns in data?
> 	  returns in data
2004-11-30 22:15:21 +00:00
Bruce Momjian f02a21b19b Update Turkish FAQ.
Devrim GUNDUZ
2004-11-30 19:42:38 +00:00
Bruce Momjian 8b9a9c9a68 Removed:
< * Make log_min_duration_statement output when the duration is reached rather
<   than when the statement completes
<
<   This prints long queries while they are running, making trouble shooting
<   easier.  Also, it eliminates the need for log_statement because it
<   would now be the same as a log_min_duration_statement of zero.
2004-11-30 19:32:24 +00:00
Bruce Momjian ff5b6c98bf Add:
> * Make log_min_duration_statement output when the duration is reached rather
>   than when the statement completes
>
>   This prints long queries while they are running, making trouble shooting
>   easier.  Also, it eliminates the need for log_statement because it
>   would now be the same as a log_min_duration_statement of zero.
2004-11-30 18:20:35 +00:00
Bruce Momjian c3df447a03 Update wording:
< you would like to work on an item, please read the developer's FAQ
> you would like to work on an item, please read the Developer's FAQ
2004-11-30 05:06:33 +00:00
Bruce Momjian 89d922b190 Updated TODO list description:
9c5
< Last updated:		Mon Nov 29 23:33:09 EST 2004
> Last updated:		Tue Nov 30 00:03:37 EST 2004
13a10,16
> #A hyphen, "-", marks changes that will appear in the upcoming 8.1 release.#
>
> Bracketed items, "[]", have more detail.
>
> This list contains all known PostgreSQL bugs and feature requests. If
> you would like to work on an item, please read the developer's FAQ
> first.
2004-11-30 05:03:47 +00:00
Bruce Momjian 0548046e12 Add:
> * Prevent INET cast to CIDR from droping netmask, SELECT '1.1.1.1'::inet::cidr
2004-11-30 04:33:14 +00:00
Bruce Momjian 72cf815c0a Add:
> 	o Allow COPY FROM ... CVS to interpret newlines and carriage
> 	  returns in data?
>
> 	  This would require major refactoring of the copy source code.
2004-11-30 03:53:00 +00:00
Bruce Momjian 844cb60f1a Add:
> * Improve NLS maintenace of libpgport messages linked onto applications
>
2004-11-30 03:27:10 +00:00
Bruce Momjian 71929165e8 Add:
<
> * Allow cross-compiling by generating the zic database on the target system
2004-11-29 03:17:30 +00:00
Bruce Momjian b2fcef64af Update Turkish FAQ.
Devrim GUNDUZ
2004-11-29 03:04:31 +00:00
Bruce Momjian eeed2274e5 Add:
> * Auto-vacuum
> 	o Move into the backend code
> 	o Scan the buffer cache to find free space or use background writer
> 	o Use free-space map information to guide refilling
2004-11-29 02:29:28 +00:00
Bruce Momjian 86c8cc6d22 Typo fixes.
Euler Taveira de Oliveira
2004-11-29 01:58:10 +00:00
Bruce Momjian 3ad9f45c89 Add description:
<   information, either by name or offset from UTC
>   information, either zone name or offset from UTC
>
>   If the TIMESTAMP value is stored with a time zone name, interval
>   computations should adjust based on the time zone rules, e.g. adding
>   24 hours to a timestamp would yield a different result from adding one
>   day.
>
2004-11-28 05:12:19 +00:00
Bruce Momjian 2ba6cbc358 Mega-clarifications from Joachim Wieland. 2004-11-28 04:56:04 +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
Bruce Momjian 77ab4761ad Add web development faq item. 2004-11-27 06:02:53 +00:00
Bruce Momjian df21a52950 Add mention of Cygwin. Update version number. 2004-11-27 05:15:21 +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
Bruce Momjian a3b663dfea Fix typo. 2004-11-20 22:28:39 +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 "&mdash;" 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
Bruce Momjian 3c1a8661eb Remove replicaiton FAQ item. 2004-11-14 21:33:10 +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
Bruce Momjian 3c57e0b93f Update:
< * Eliminate WAL logging for CREATE INDEX/REINDEX/CREATE TABLE AS when
<   not doing WAL archiving
> * Eliminate WAL logging for CREATE TABLE AS when not doing WAL archiving
2004-11-12 23:26:37 +00:00