Commit Graph

4580 Commits

Author SHA1 Message Date
Bruce Momjian 1973971821 Per a brief conversation with Tom, I've created a patch for adding
support for 'week' within the date_trunc function.

Within the patch I added a couple of test cases and associated target
output, and changed the documentation to add 'week' appropriately.

Robert Creager
2004-03-05 02:41:14 +00:00
Bruce Momjian 033e37bed1 Fix for underscore in ID sgml markup. 2004-03-05 01:00:45 +00:00
Bruce Momjian 65a0db19f4 Add new SPI functions for use by PL/Java:
+extern Oid SPI_getargtypeid(void *plan, int argIndex);
	+extern int SPI_getargcount(void *plan);
	+extern bool SPI_is_cursor_plan(void *plan);

Thomas Hallgren
2004-03-05 00:47:01 +00:00
Neil Conway 2146bfc869 Emit a warning when an empty string is input to the oid, float4, and
float8 types. This begins the deprecation of this feature: in 7.6,
this input will be rejected.

Also added a new error code for warnings about deprecated features,
and updated the regression tests.
2004-03-04 21:47:18 +00:00
Dennis Bjorklund 0b1f7cccd7 The trim function doc did not say that the second argument could be
be omitted. This patch fixes that. It also fixes a bug where the
type text was not wrapped as <type>text</type>.
2004-03-04 20:09:29 +00:00
Bruce Momjian f503b6a821 Better document INSTEAD behavior for rules. 2004-03-04 14:32:12 +00:00
Neil Conway c934cf1e96 Add a few more cross-references where appropriate, add more text about
the FROM clause and an example to the UPDATE reference page, and make
a few other SGML tweaks.
2004-03-03 22:22:24 +00:00
Bruce Momjian 6008fca4d9 Remove Jan:
< 	o Add PL/PHP (Joe, Jan)
> 	o Add PL/PHP (Joe)
2004-03-03 14:26:48 +00:00
Bruce Momjian 58c69eab00 Add:
> 	o Add way to remove cluster specification on a table
2004-03-03 05:16:53 +00:00
Bruce Momjian 49032ca765 Update Turkish FAQ, Devrim GUNDUZ 2004-03-02 15:46:22 +00:00
Tom Lane 340d44686b Update release notes for 7.3.6. 2004-03-02 00:38:46 +00:00
Tom Lane 3811d7a08f Replace unportable use of /dev/stdin with lynx's -stdin switch. 2004-03-02 00:03:02 +00:00
Neil Conway 1a6a27650d Add a few more xrefs, where they seemed appropriate: for example, refer
to the discussion of planner statistics in the documentation for the
default_statistics_target GUC var.
2004-03-01 17:58:39 +00:00
Neil Conway 4a43b24cec Enable some additional warnings when running openjade and onsgmls. 2004-03-01 16:08:58 +00:00
Neil Conway e3f27c1847 Fix a typo in a recent commit to func.sgml that apparently broke the doc
build for some versions of OpenJade (unfortunately, my local version of
OpenJade didn't report the error...) -- thanks to Andrew Dunstan for
the report.
2004-02-29 15:45:53 +00:00
Neil Conway fd015c5c99 Fix a bunch (~88) typos that the OpenJade tools don't warn about by
default: some SGML tags weren't properly terminated.
2004-02-29 15:36:46 +00:00
Neil Conway f46a80c362 Fix a few omissions in the initcap() documentation & source code
comments, make some unrelated improvements to the functions
documentation, and perform some minor consistency cleanup
elsewhere. Original initcap() change from Dennis B., additional
changes by Neil C.
2004-02-27 03:59:23 +00:00
Bruce Momjian 2f17547c67 Update plpython docs to mention shared libs are possible in 2.3 or
later.
2004-02-27 01:23:18 +00:00
Bruce Momjian 23168fb3bf Update the pl/python shared build docs to match the recent version of
python.
2004-02-26 02:09:40 +00:00
Tom Lane f83356c7f5 Do a direct probe during postmaster startup to determine the maximum
number of openable files and the number already opened.  This eliminates
depending on sysconf(_SC_OPEN_MAX), and allows much saner behavior on
platforms where open-file slots are used up by semaphores.
2004-02-23 20:45:59 +00:00
Neil Conway 45f5eba90b Document the family() function (added during the 7.4 dev cycle but not
documented), and fix a typo.
2004-02-22 04:14:06 +00:00
Bruce Momjian 0d02533943 Add:
> * Have psql show more information about sequences
2004-02-20 20:37:11 +00:00
Bruce Momjian e53c56d34a Add:
> * Allow external interfaces to extend the GUC variable set
2004-02-20 18:45:35 +00:00
Bruce Momjian 5e4b9d1ef0 Add to PL/java description. 2004-02-20 18:31:03 +00:00
Bruce Momjian 2e3d5f1160 Update:
< * Add GUC variable to prevent waiting on locks
> * Add NO WAIT option to various SQL commands
2004-02-18 21:42:22 +00:00
Neil Conway afcc6fbb60 Remove a caveat from the "backup" documentation: pg_dump now does a
better job of handling dependencies between database objects.
2004-02-17 23:56:07 +00:00
Bruce Momjian 0128c17c93 Done:
> * -Change CVS ID to PostgreSQL
2004-02-17 15:46:44 +00:00
Bruce Momjian e170701712 Add:
> 	o Allow the schema of objects to be changed
2004-02-17 15:37:48 +00:00
Neil Conway 9c8d5f0be1 Add a few more <xref> tags to the SGML docs, where appropriate. Original
patch from Michael Glaesemann, additional changes by Neil Conway.
2004-02-17 09:07:16 +00:00
Tom Lane d46b1f904e Minor editorializing on cost-based vacuum description. 2004-02-17 07:36:47 +00:00
Neil Conway ee33fe889e Significant improvements to the documentation for the new cost-based
vacuum delay feature, including updating the docs for Tom's recent
improvements. There is still more work to be done here: for example,
adding some more information on the practical use of cost-based
vacuum delay to the "maintenance" section would probably be a good
idea.
2004-02-17 06:28:05 +00:00
Neil Conway 11acc1ffd6 Fix a minor SGML markup infelicity in recently-applied log_disconnections
patch.
2004-02-17 05:45:17 +00:00
Bruce Momjian c53611e3e7 This patch brings up to date what I did last year (now unfortunately
bitrotted) to allow the logging of the end of a session, enabled by
the config setting "log_disconnections".

Andrew Dunstan
2004-02-17 03:54:57 +00:00
Neil Conway 6dfb2b2517 Minor SGML markup improvements. 2004-02-17 02:53:03 +00:00
Tom Lane f0c9397f80 First steps towards statistics on expressional (nee functional) indexes.
This commit teaches ANALYZE to store such stats in pg_statistic, but
nothing is done yet about teaching the planner to use 'em.
Also, repair longstanding oversight in separate ANALYZE command: it
updated the pg_class.relpages and reltuples counts for the table proper,
but not for indexes.
2004-02-15 21:01:39 +00:00
Neil Conway effd0dea7e Minor documentation tweak. 2004-02-15 06:27:37 +00:00
Jan Wieck f884090371 Documentation for vacuum_cost config options.
Jan
2004-02-13 12:25:09 +00:00
Bruce Momjian 1a4652333b Mention psql variable names are case-sensitive. 2004-02-13 05:10:02 +00:00
Bruce Momjian 72509752df Fix typo:
< * Allow cross-db queries with transaction sematics
> * Allow cross-db queries with transaction semantics
2004-02-13 04:47:13 +00:00
Bruce Momjian 1decc208ac Tom Lane wrote:
> momjian@svr1.postgresql.org (Bruce Momjian) writes:
>>      someone asked me about the FK deadlock fix, mentioned in the 7.3.3
>>      release notes as 3rd change:
>>      http://www.postgresql.org/docs/current/static/release-7-3-3.html
>>      Actually, that fix was available with 7.4, not 7.3. Don't know if we can
>>      retroactively change the release-notes though.
>
> This is completely erroneous, please undo it.
>
> 2003-05-21 14:14  tgl
>
>       * src/: backend/utils/adt/ri_triggers.c,
>       test/regress/expected/foreign_key.out (REL7_3_STABLE): Back-patch
>       Jan's fix to avoid primary key lookup (and lock) if foreign key
>       does not change on UPDATE.

Oh ... didn't know that you did a backpatch. Sorry


Jan
2004-02-13 04:40:06 +00:00
Bruce Momjian 1e376bfb5e Add:
> * Use nested transactions to prevent syntax errors from aborting a transaction
2004-02-13 04:36:02 +00:00
Bruce Momjian 65010e34e0 Add:
> * Allow temporary views on non-temporary tables
2004-02-13 02:30:53 +00:00
Tom Lane 69946411d3 Add hooks for type-specific calculation of ANALYZE statistics. Idea and
coding by Mark Cave-Ayland, some kibitzing by Tom Lane.  initdb forced
due to new column in pg_type.
2004-02-12 23:41:04 +00:00
Bruce Momjian d27471fe0a Add from Joe Conway:
> 	o Modify array literal representation to handle array index lower bound
> 	  of other than one
>
183d185
<
2004-02-12 23:27:52 +00:00
Bruce Momjian e850e30fc8 Jan:
someone asked me about the FK deadlock fix, mentioned in the 7.3.3
release notes as 3rd change:

     http://www.postgresql.org/docs/current/static/release-7-3-3.html

Actually, that fix was available with 7.4, not 7.3. Don't know if we can
retroactively change the release-notes though.
2004-02-12 20:17:34 +00:00
Bruce Momjian 4a1c29f87e Improve \? wording, remove 'internal'. 2004-02-12 19:58:16 +00:00
Bruce Momjian 6a13bdd8f3 Add bitmap discussion to performance TODO.detail. 2004-02-12 18:13:29 +00:00
Bruce Momjian 2b721d3d41 Remove TODO.detail files that contained useless or very old information.
Update TODO accordingly.
2004-02-12 18:11:54 +00:00
Bruce Momjian 5de02e283f Done:
<
<
< Reporting
< =========
<
< * Show location of syntax error in query [yacc]
2004-02-12 18:11:16 +00:00
Bruce Momjian b3efb9f037 File not needed:
.< * Improve speed with indexes (perhaps recreate index instead) [vacuum]
> * Improve speed with indexes (perhaps recreate index instead)
369c369
<   lock and truncate table [vacuum]
>   lock and truncate table
371c371
<   rather than in /contrib [vacuum]
>   rather than in /contrib
2004-02-12 18:09:43 +00:00