Commit Graph

5830 Commits

Author SHA1 Message Date
Bruce Momjian
0f011f6daa Update text for RESET CONNECTION:
<   all temporary tables, removal of any NOTIFYs, cursors, prepared
<   queries(?), currval()s, etc.  This could be used for connection pooling.
<   We could also change RESET ALL to have this functionality.
>   temporary tables, removing any NOTIFYs, cursors, open transactions,
>   prepared queries, currval()s, etc.  This could be used  for connection
>   pooling.  We could also change RESET ALL to have this functionality.
>   The difficult of this features is allowing RESET ALL to not affect
>   changes made by the interface driver for its internal use.  One idea is
>   for this to be a protocol-only feature.  Another approach is to notify
>   the protocol when a RESET CONNECTION command is used.
2005-06-07 01:59:39 +00:00
Bruce Momjian
d714560658 Add rtee box index discussion. 2005-06-06 22:12:00 +00:00
Bruce Momjian
5859215015 Add:
> * Fix incorrect rtree results due to wrong assumptions about "over"
>   operator semantics [rtree]
2005-06-06 22:03:44 +00:00
Bruce Momjian
928b06a6cc Update Hungarian FAQ and add an HTML version.
Laszlo Hornyak
2005-06-06 16:30:42 +00:00
Tom Lane
128c25b52f Trivial markup improvement. 2005-06-06 16:29:01 +00:00
Tom Lane
9ab4d98168 Remove planner's private fields from Query struct, and put them into
a new PlannerInfo struct, which is passed around instead of the bare
Query in all the planning code.  This commit is essentially just a
code-beautification exercise, but it does open the door to making
larger changes to the planner data structures without having to muck
with the widely-known Query struct.
2005-06-05 22:32:58 +00:00
Bruce Momjian
22dbd54047 Add description for backend termination:
<   cleaned up properly.  A new signal is needed for safe termination.
>   cleaned up properly.  A new signal is needed for safe termination
>   because backends must first do a query cancel, then exit once they
>   have run the query cancel cleanup routine.
2005-06-05 03:39:54 +00:00
Bruce Momjian
bebe7c5600 Here's a patch to do the following:
1. Rename spi_return_next to return_next.
2. Add a new test for return_next.
3. Update the expected output.
4. Update the documentation.

Abhijit Menon-Sen
2005-06-05 03:16:42 +00:00
Bruce Momjian
82468b428b Add 2phase TODO.detail. 2005-06-05 00:46:13 +00:00
Bruce Momjian
ec480a5277 Add TODO.detail for 2phase commit:
> * Add two-phase commit [2phase]
2005-06-05 00:45:22 +00:00
Bruce Momjian
efe0d0808b Add TODO.detail.
<   logs
>   logs [pitr]
130c130
< * Allow a warm standby system to also allow read-only queries
> * Allow a warm standby system to also allow read-only queries [pitr]
2005-06-05 00:28:36 +00:00
Bruce Momjian
8805c835c8 Remove duplicate emails. 2005-06-05 00:22:35 +00:00
Bruce Momjian
3a272cf032 Add TODO.detail for timezone:
<   information, either zone name or offset from UTC
>   information, either zone name or offset from UTC [timezone]
2005-06-05 00:20:02 +00:00
Bruce Momjian
32f4ae568c Add TODO.detail of standard timezone data type. 2005-06-05 00:18:42 +00:00
Bruce Momjian
f54f142a61 Add pg_upgrade TODO.detail. 2005-06-04 23:33:17 +00:00
Bruce Momjian
581a8c9f6d Add TODO.detail:
> * Allow major upgrades without dump/reload, perhaps using pg_upgrade
>   [pg_upgrade]
2005-06-04 23:32:34 +00:00
Bruce Momjian
d95fad64d4 Add pg_dump TODO.detail for multiple -t / -n flags. 2005-06-04 23:07:15 +00:00
Bruce Momjian
249880ffae Add pg_dump to TODO.detail. 2005-06-04 23:06:29 +00:00
Bruce Momjian
72c53ac3a7 Allow kerberos name and username case sensitivity to be specified from
postgresql.conf.

---------------------------------------------------------------------------


Here's an updated version of the patch, with the following changes:

1) No longer uses "service name" as "application version". It's instead
hardcoded as "postgres". It could be argued that this part should be
backpatched to 8.0, but it doesn't make a big difference until you can
start changing it with GUC / connection parameters. This change only
affects kerberos 5, not 4.

2) Now downcases kerberos usernames when the client is running on win32.

3) Adds guc option for "krb_caseins_users" to make the server ignore
case mismatch which is required by some KDCs such as Active Directory.
Off by default, per discussion with Tom. This change only affects
kerberos 5, not 4.

4) Updated so it doesn't conflict with the rendevouz/bonjour patch
already in ;-)

Magnus Hagander
2005-06-04 20:42:43 +00:00
Bruce Momjian
3360bc1351 Add:
> * Allow pg_ctl to work properly with configuration files located outside
>   the PGDATA directory
>
>   pg_ctl can not read the pid file because it isn't located in the
>   config directory but in the PGDATA directory.  The solution is to
>   allow pg_ctl to read and understand postgresql.conf to find the
>   data_directory value.
>
2005-06-04 18:12:38 +00:00
Bruce Momjian
487990e1f1 Add description:
>
>   O_DIRECT doesn't have the same media write guarantees as fsync, so it
>   is in addition to the fsync method, not in place of it.
>
2005-06-04 16:53:48 +00:00
Bruce Momjian
a76606454c Update Chinese FAQ to fix XHTML format.
Weiping (Laser)
2005-06-04 03:28:57 +00:00
Bruce Momjian
7e209f6ce3 Put back WAL TODO.detail entries. 2005-06-03 21:46:02 +00:00
Bruce Momjian
bace84cca1 Remove because it is partly done and we might not want to go farther:
< * -Compress WAL entries [wal]
2005-06-03 21:42:21 +00:00
Bruce Momjian
1bdec3424b Update Russian FAQ.
Viktor Vislobokov
2005-06-03 18:17:07 +00:00
Bruce Momjian
97e455c9b9 Trim TODO.detail for wal completed items. 2005-06-03 17:14:17 +00:00
Bruce Momjian
2a61c090a9 Done:
> * -Compress WAL entries [wal]
2005-06-03 16:38:02 +00:00
Bruce Momjian
a14fb14f7f Done:
> * -Change WAL to use 32-bit CRC, for performance reasons
2005-06-03 16:36:50 +00:00
Bruce Momjian
c196c7ae8b Completed:
< 	o Allow COPY to understand \x as a hex byte
> 	o -Allow COPY to understand \x as a hex byte
2005-06-02 01:27:58 +00:00
Bruce Momjian
b51366396b Add support for \x hex strings in psql variables. 2005-06-02 01:23:48 +00:00
Bruce Momjian
65537ac1b4 Add support for \x hex escapes in backend strings. Octal was already
supported.  This follows the C standard escapes.
2005-06-02 01:23:08 +00:00
Bruce Momjian
202e6e73e6 Add support for \x hex escapes in COPY.
Sergey Ten
2005-06-02 01:21:22 +00:00
Bruce Momjian
5b3625f1b7 Tab cleanup for SGML.
Robert Treat
2005-05-31 14:48:47 +00:00
Tom Lane
978129f28e Document get_call_result_type() and friends; mark TypeGetTupleDesc()
and RelationNameGetTupleDesc() as deprecated; remove uses of the
latter in the contrib library.  Along the way, clean up crosstab()
code and documentation a little.
2005-05-30 23:09:07 +00:00
Bruce Momjian
b215fae891 Move to ALTER section:
< * Prevent child tables from altering constraints like CHECK that were
<   inherited from the parent table
470a469,471
>
> 	o Prevent child tables from altering constraints like CHECK that were
> 	  inherited from the parent table
2005-05-30 21:12:23 +00:00
Bruce Momjian
09439e212e Add:
> * Prevent child tables from altering constraints like CHECK that were
>   inherited from the parent table
2005-05-30 21:08:27 +00:00
Bruce Momjian
a54c21a59c Wording improvement (may -> can) 2005-05-30 19:32:44 +00:00
Bruce Momjian
a2cce84349 Update psql docs for recent octal-only string behavior. 2005-05-30 15:24:23 +00:00
Bruce Momjian
6616e23264 Add missing <P>. 2005-05-30 13:11:06 +00:00
Bruce Momjian
ecd70d7526 Add reference to libpq environment variables for client applications. 2005-05-29 03:32:18 +00:00
Bruce Momjian
70f320495f Remove:
<
< * Add XML output to pg_dump and COPY
<
<   We already allow XML to be stored in the database, and XPath queries
<   can be used on that data using /contrib/xml2. It also supports XSLT
<   transformations.
2005-05-28 04:12:13 +00:00
Bruce Momjian
dd67cf365a Update Farsi FAQ.
Mahmoud Taghizadeh
2005-05-27 22:09:42 +00:00
Bruce Momjian
42319310dc Add:
> * Consider sorting hash buckets so entries can be found using a binary
>   search, rather than a linear scan
> * In hash indexes, consider storing the hash value with or instead
>   of the key itself
2005-05-27 22:07:26 +00:00
Bruce Momjian
770156e157 Add:
> * Add the features of packages
> 	o  Make private objects accessable only to objects in the same schema
> 	o  Allow current_schema.objname to access current schema objects
> 	o  Add session variables
> 	o  Allow nested schemas
2005-05-27 22:01:18 +00:00
Tom Lane
357ea45b57 Document that utility commands such as DROP FUNCTION allow argument names
and modes to be included when naming an existing function.
2005-05-26 20:05:03 +00:00
Bruce Momjian
dabde323b2 Back out SQLSTATE and SQLERRM support. 2005-05-26 04:08:32 +00:00
Bruce Momjian
38af680ad5 Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values on
error.

Pavel Stehule
2005-05-26 00:16:31 +00:00
Neil Conway
13b729ca52 Editing for the new "Encryption Options" section of the manual. 2005-05-25 02:56:15 +00:00
Neil Conway
1b41965d5d Remove some verbiage describing how min() and max() are slow when applied
to the entire table: as of current sources, they are no longer slow
provided there is an index on the column.
2005-05-23 01:50:01 +00:00
Neil Conway
dd2894dfd6 Consistently do not include a terminating period in single-sentence
function descriptions in func.sgml; other minor SGML tweaks.
2005-05-23 01:29:54 +00:00
Bruce Momjian
c61207b091 INT4 is probably enough:
< * Allow INET + INT4/INT8 to increment the host part of the address, or
> * Allow INET + INT4 to increment the host part of the address, or
2005-05-21 21:31:26 +00:00
Bruce Momjian
2e9c04eedb Mention overflow:
<   throw an error
>   throw an error on overflow
2005-05-21 03:12:44 +00:00
Bruce Momjian
6dab58a643 Add:
> * Allow INET + INT4/INT8 to increment the host part of the address, or
>   throw an error
2005-05-21 03:11:27 +00:00
Bruce Momjian
e954cd2bc2 Remove 2-phase description, because it isn't accurate anymore:
<
<   This will involve adding a way to respond to commit failure by either
<   taking the server into offline/readonly mode or notifying the
<   administrator
2005-05-20 19:18:15 +00:00
Bruce Momjian
6e85414647 Update Japanese FAQ.
Jun Kuwamura
2005-05-20 15:53:06 +00:00
Bruce Momjian
6dc7760ac3 Add support for wal_fsync_writethrough for Darwin, and restructure the
code to better handle writethrough.

Chris Campbell
2005-05-20 14:53:26 +00:00
Neil Conway
e9b33ed6cd Fix typo in ECPG docs, per Andreas Seltenreich. 2005-05-20 12:36:48 +00:00
Neil Conway
4de23092d0 Add some links to the CREATE FUNCTION reference page when describing
function definition for particular PLs. Original patch from David
Fetter, editorializing by Neil Conway.
2005-05-20 01:52:25 +00:00
Neil Conway
ee85870e23 Make the CREATE RULE syntax description in rules.sgml more consistent
with the syntax description in the CREATE RULE reference page. From
Kris Jurka.
2005-05-20 01:37:08 +00:00
Neil Conway
f3567eeaf2 Implement md5(bytea), update regression tests and documentation. Patch
from Abhijit Menon-Sen, minor editorialization from Neil Conway. Also,
improve md5(text) to allocate a constant-sized buffer on the stack
rather than via palloc.

Catalog version bumped.
2005-05-20 01:29:56 +00:00
Tom Lane
a9c4c9cd52 Extend the pg_locks system view so that it can fully display all lock
types, as per recent discussion.
2005-05-17 21:46:11 +00:00
Bruce Momjian
5185cc8eae Update:
< * All ability to monitor the use of temporary sort files
> * Add ability to monitor the use of temporary sort files
2005-05-17 04:18:20 +00:00
Bruce Momjian
5e1bfa82dd Convert Chinese FAQ to valid XHTML, finally. 2005-05-17 04:17:47 +00:00
Bruce Momjian
472f9be471 Fix Chinese markup some more. 2005-05-17 03:40:35 +00:00
Neil Conway
eda6dd32d1 GiST improvements:
- make sure we always invoke user-supplied GiST methods in a short-lived
  memory context. This means the backend isn't exposed to any memory leaks
  that be in those methods (in fact, it is probably a net loss for most
  GiST methods to bother manually freeing memory now). This also means
  we can do away with a lot of ugly manual memory management in the
  GiST code itself.

- keep the current page of a GiST index scan pinned, rather than doing a
  ReadBuffer() for each tuple produced by the scan. Since ReadBuffer() is
  expensive, this is a perf. win

- implement dead tuple killing for GiST indexes (which is easy to do, now
  that we keep a pin on the current scan page). Now all the builtin indexes
  implement dead tuple killing.

- cleanup a lot of ugly code in GiST
2005-05-17 00:59:30 +00:00
Bruce Momjian
818bfda1e2 Fix markup:
< 	* Add internationalized message strings
> 	o Add internationalized message strings
2005-05-17 00:51:58 +00:00
Bruce Momjian
ce1b3065c3 Update italics. 2005-05-17 00:51:10 +00:00
Bruce Momjian
e90df66269 Update italics on web site. 2005-05-17 00:24:22 +00:00
Bruce Momjian
343af94255 Update italics on web site. 2005-05-16 23:35:42 +00:00
Bruce Momjian
c31a05e819 Update Chinese FAQ to validate properly. 2005-05-16 22:27:54 +00:00
Bruce Momjian
e336635c5b Update Chinese FAQ to xhtml. 2005-05-16 02:50:20 +00:00
Bruce Momjian
c9a382b2ed Rename Rendezvous to Bonjour to match OS/X renaming. 2005-05-15 00:26:19 +00:00
Bruce Momjian
1ea069b1f6 Re-order items, add mention of how to propose working on a TODO item. 2005-05-14 16:26:17 +00:00
Tom Lane
5e6bbc21f4 Add missing quote, per Dave Page. 2005-05-13 16:48:14 +00:00
Tom Lane
f81a77d5ef Update createuser examples to match the current program behavior,
and add an example showing assignment of a password.  Per suggestion
from Jari Aalto (via Martin Pitt).
2005-05-13 16:31:43 +00:00
Tom Lane
3a3804da80 Fix broken markup. 2005-05-13 15:21:59 +00:00
Bruce Momjian
9029129bf3 Update chinese encoding specification. 2005-05-13 13:47:18 +00:00
Bruce Momjian
7b3bf60277 Update FAQ URLs.
Robert Treat
2005-05-11 16:13:20 +00:00
Bruce Momjian
b1c42137a3 Document where to download free Microsoft and Borland development tools. 2005-05-11 16:02:12 +00:00
Bruce Momjian
1931e259a0 Document that bcc compiles now need the -N flag, backpatch to 8.0.X. 2005-05-11 15:10:20 +00:00
Bruce Momjian
8ccb5245a9 Update Chinese FAQ, per Magnus. 2005-05-11 14:56:50 +00:00
Neil Conway
a535a1522f Fix newly introduced spelling error. 2005-05-11 13:58:50 +00:00
Bruce Momjian
147144c6ca Add mention that not all functions are listed.
Update Chinese FAQ for HTML.
2005-05-11 13:36:14 +00:00
Bruce Momjian
ff868d8161 Add Chinese FAQ.
laser@pgsqldb.com
2005-05-11 02:11:05 +00:00
Bruce Momjian
35e1651508 Back out check for unreferenced files.
Heikki Linnakangas
2005-05-10 22:27:30 +00:00
Bruce Momjian
075ec42cf8 Item removed from CVS:
< * -Check for unreferenced table files created by transactions that were
> * Check for unreferenced table files created by transactions that were
2005-05-10 22:26:56 +00:00
Bruce Momjian
29873379de Add:
> * Fix sgmltools so PDFs can be generated with bookmarks
2005-05-10 03:21:58 +00:00
Bruce Momjian
b51f82465a Add:
> * Allow postgresql.conf values to be set so they can not be changed by
>   the user
2005-05-10 03:21:00 +00:00
Bruce Momjian
d3b62275e6 Done:
< * Add session start time and last statement time to pg_stat_activity
> * -Add session start time and last statement time to pg_stat_activity
134c134
< * Add the client IP address and port to pg_stat_activity
> * -Add the client IP address and port to pg_stat_activity
2005-05-10 02:16:15 +00:00
Bruce Momjian
6080da501c Rename encryption section. 2005-05-09 17:26:22 +00:00
Bruce Momjian
0b95390a25 Remove encryption FAQ item now that we have a doc section. 2005-05-09 17:15:15 +00:00
Bruce Momjian
89517a2b45 Improve wording of new documentation section on encryption, and move it
a few sections up.
2005-05-09 17:13:04 +00:00
Neil Conway
4744c1a0a1 Complete the following TODO items:
* Add session start time to pg_stat_activity
* Add the client IP address and port to pg_stat_activity

Original patch from Magnus Hagander, code review by Neil Conway. Catalog
version bumped. This patch sends the client IP address and port number in
every statistics message; that's not ideal, but will be fixed up shortly.
2005-05-09 11:31:34 +00:00
Tom Lane
d8c21181ce Update release notes for upcoming re-releases. 2005-05-09 00:09:45 +00:00
Bruce Momjian
99354440b5 Add encryption section to documentation.
Christopher Browne
2005-05-08 03:29:06 +00:00
Bruce Momjian
545828a754 Documentation adjustments.
Vladimir Chukharev
2005-05-08 03:08:05 +00:00
Bruce Momjian
8a9e32912e Add description:
<   Currently locale can only be set during initdb.
>   Currently locale can only be set during initdb.  No global tables have
>   locale-aware columns.  However, the database template used during
>   database creation might have locale-aware indexes.  The indexes would
>   need to be reindexed to match the new locale.
2005-05-07 15:45:23 +00:00
Bruce Momjian
f65803a2c3 Done:
> 	o -Allow COPY to optionally include column headings in the first line
2005-05-07 04:38:08 +00:00
Bruce Momjian
5894e7e36e Add items:
> * Prevent to_char() on interval from returning meaningless values
>
>   For example, to_char('1 month', 'mon') is meaningless.  Basically,
>   most date-related parameters to to_char() are meaningless for
>   intervals because interval is not anchored to a date.
>
> * Allow to_char() on interval values to accumulate the highest unit
>   requested
>
> 	o to_char(INTERVAL '1 hour 5 minutes', 'MI') => 65
> 	o to_char(INTERVAL '43 hours 20 minutes', 'MI' ) => 2600
> 	o to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20
> 	o to_char(INTERVAL '3 years 5 months','MM') => 41
>
>   Some special format flag would be required to request such
>   accumulation.  Such functionality could also be added to EXTRACT.
>   Prevent accumulation that crosses the month/day boundary because of
>   the uneven number of days in a month.
>
2005-05-07 04:24:34 +00:00
Bruce Momjian
b63990c6a8 Add COPY WITH CVS HEADER to allow a heading line as the first line in
COPY.

Andrew Dunstan
2005-05-07 02:22:49 +00:00