Commit Graph

4612 Commits

Author SHA1 Message Date
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
Bruce Momjian
b8369db5fc Mostly done:
< * Allow better handling of numeric constants, type conversion [typeconv]
2004-02-12 18:05:51 +00:00
Bruce Momjian
f66f437fac File not needed:
< * Add replication of distributed databases [replication]
> * Add replication of distributed databases
2004-02-12 18:01:20 +00:00
Bruce Momjian
b23d694544 Remove:
< 	o http://gborg.postgresql.org/project/pgreplication/projdisplay.php
2004-02-12 17:59:50 +00:00
Bruce Momjian
db55d7a212 Merge files:
< * Allow persistent backends [persistent]
> * Allow persistent backends [pool]
397c397
<   connection pooling
>   connection pooling [pool]
2004-02-12 17:51:03 +00:00
Bruce Momjian
b4c0b196fb Not needed:
<   float4, numeric/decimal too [optimizer]
>   float4, numeric/decimal too
422c422
< * Missing optimizer selectivities for date, r-tree, etc. [optimizer]
> * Missing optimizer selectivities for date, r-tree, etc
2004-02-12 17:38:50 +00:00
Bruce Momjian
b3fbb4b801 Not needed:
< * Delay fsync() when other backends are about to commit too [fsync]
> * Delay fsync() when other backends are about to commit too
2004-02-12 17:32:38 +00:00
Bruce Momjian
ebf4bb7f2e Not needed:
< * Add MATCH PARTIAL referential integrity [foreign]
> * Add MATCH PARTIAL referential integrity
2004-02-12 17:31:09 +00:00
Bruce Momjian
de4b486eed Remove crossdb content. 2004-02-12 17:23:30 +00:00
Bruce Momjian
fbfc9dc20b Add, dblink doesn't do this:
> * Allow cross-db queries with transaction sematics
2004-02-12 17:22:39 +00:00
Bruce Momjian
329207e817 Done, mostly by dblink, I think:
< * Allow queries across multiple databases [crossdb]
2004-02-12 17:21:41 +00:00
Bruce Momjian
209e866a5a Fix typo:
On Mon, 2004-01-26 at 21:28, Peter Eisentraut wrote:
> Christophe Combelles wrote:
> > At the bottom of this doc file :
> > file:///usr/share/doc/postgresql-doc/html/tutorial-createdb.html
> > "and it also happens that that user always has permission"
> >                       ---- x2
> The first "that" serves as a conjuction, the second one serves as an
> article.  Looks correct to me.

A better workaround for the sentence would be something like:

        "and it also happens that the user always has permission"

Looks easier to read, I think.

Enver ALTIN (a.k.a. skyblue)
2004-02-12 16:38:04 +00:00
Bruce Momjian
43d37a81dd Add:
<
> * Allow substring/replace() to get/set bit values
2004-02-12 16:05:15 +00:00
Bruce Momjian
76f02b51b6 Remove URL for specific pljava implementation:
< 	o Allow Java server-side programming, http://pljava.sourceforge.net
< 	  [java]
> 	o Allow Java server-side programming [java]
2004-02-12 14:41:13 +00:00
Bruce Momjian
3b6bf0c07d Add:
> 	o Disallow dropping of an inherited constraint
2004-02-11 22:04:35 +00:00
Bruce Momjian
ac4ad7bf2c Does not apply anymore:
< * Make blind writes go through the file descriptor cache
2004-02-11 17:04:04 +00:00
Neil Conway
e29d8f3c34 SGML markup improvements. 2004-02-10 20:51:39 +00:00
Bruce Momjian
fd44e2fb14 Add URL for most current version. 2004-02-10 15:16:36 +00:00
Bruce Momjian
04e82e5008 Add mention of the developer's FAQ. 2004-02-08 03:16:31 +00:00
Bruce Momjian
9534fd73d8 Add mention of PostgreSQL as a community project. 2004-02-08 03:09:12 +00:00
Bruce Momjian
9f361350d7 Add PITR web page:
< * Point-in-time data recovery using backup and write-ahead log
< * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/win32.html
> * Point-in-time data recovery using backup and write-ahead log,
>   http://momjian.postgresql.org/main/writings/pgsql/project/pitr.html
> * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/project/win32.html
2004-02-08 01:17:09 +00:00
Joe Conway
687d7cf355 Documentation for generate_series() functions committed a few days ago. 2004-02-05 22:54:36 +00:00
Tom Lane
391c3811a2 Rename SortMem and VacuumMem to work_mem and maintenance_work_mem.
Make btree index creation and initial validation of foreign-key constraints
use maintenance_work_mem rather than work_mem as their memory limit.
Add some code to guc.c to allow these variables to be referenced by their
old names in SHOW and SET commands, for backwards compatibility.
2004-02-03 17:34:04 +00:00
Bruce Momjian
39d715bee6 Add:
> * Make pg_restore continue after errors, so it acts more like pg_dump scripts
2004-02-03 16:53:56 +00:00
Tom Lane
e1826d037a Update char_length() example for new semantics. 2004-02-01 06:55:07 +00:00
Tom Lane
f27976c85b Make length() disregard trailing spaces in char(n) values, per discussion
some time ago and recent patch from Gavin Sherry.  Update documentation
to point out that trailing spaces are insignificant in char(n).
2004-02-01 06:27:48 +00:00
Bruce Momjian
777babeced Add:
<
> * Allow libpq to return information about prepared queries
2004-01-30 11:11:07 +00:00
Neil Conway
45842e6c52 Improve the documentation of the 'join_collapse_limit' GUC var. Thanks to
Tom Lane for some editorial suggestions.
2004-01-27 16:51:43 +00:00
Bruce Momjian
af29187f2e Add Name:
> * -Add checks for fclose() failure (Tom)
2004-01-26 22:38:42 +00:00
Bruce Momjian
ee96c82cc2 Done:
> * -Add checks for fclose() failure (Tom)
2004-01-26 22:38:10 +00:00
Neil Conway
e0707cbae9 The attached patch clarifies (or, rather, makes explicit) to readers how
to handle memory management for char pointers returned by libpq functions.
Original patch by Gavin Sherry, some tweaking and consistency improvements
by Neil Conway.
2004-01-26 22:13:21 +00:00
Bruce Momjian
7a14a72e08 Added:
> * Dump large object comments in custom dump format
2004-01-26 18:32:08 +00:00
Neil Conway
f30d39e706 Add usage examples for PREPARE and EXECUTE. Original patch from Gavin
Sherry, editorializing by Neil Conway.
2004-01-26 17:26:31 +00:00
Bruce Momjian
ee2f149d30 Clarify that the 'user' column still applies for 'trust'. 2004-01-26 05:35:15 +00:00
Bruce Momjian
3761f968c8 Update datestamp. 2004-01-26 05:33:24 +00:00
Bruce Momjian
34f0a8e72d *** empty log message *** 2004-01-25 04:56:25 +00:00
Bruce Momjian
ccf3a0440a Add Joe to TODO:
> * Joe is Joe Conway <mail@joeconway.com>
2004-01-25 04:50:16 +00:00
Bruce Momjian
acfa013e81 Fix typo I mistakenly added. 2004-01-25 03:30:00 +00:00
Bruce Momjian
afe7b7b60e Update null storage description. 2004-01-25 02:28:43 +00:00
Bruce Momjian
8303a3d1ea Mention that log_statement only prints query on PREPARE, not EXECUTE,
and PL/pgSQL only prints queries on first function call.
2004-01-25 00:36:18 +00:00
Tom Lane
9d8888079d Support named parameters in information_schema.parameters,
per Dennis Bjorklund.  I did not force initdb for this, but
you'd need to do one to get the improved view.
2004-01-24 23:45:13 +00:00
Tom Lane
c8bcd5ca92 Fix problems with dropped columns in pltcl triggers, per report from Patrick Samson. 2004-01-24 23:06:29 +00:00
Tom Lane
0152f14812 Example of a function taking a composite type should show how to call it. 2004-01-24 22:05:08 +00:00
Tom Lane
3969f2924b Revise GEQO planner to make use of some heuristic knowledge about SQL, namely
that it's good to join where there are join clauses rather than where there
are not.  Also enable it to generate bushy plans at need, so that it doesn't
fail in the presence of multiple IN clauses containing sub-joins.  These
changes appear to improve the behavior enough that we can substantially reduce
the default pool size and generations count, thereby decreasing the runtime,
and yet get as good or better plans as we were getting in 7.4.  Consequently,
adjust the default GEQO parameters.  I also modified the way geqo_effort is
used so that it affects both population size and number of generations;
it's now useful as a single control to adjust the GEQO runtime-vs-plan-quality
tradeoff.  Bump geqo_threshold to 12, since even with these changes GEQO
seems to be slower than the regular planner at 11 relations.
2004-01-23 23:54:21 +00:00
Bruce Momjian
81c554bbe8 Add:
> * Improve CREATE SCHEMA regression test
2004-01-23 15:13:30 +00:00
Bruce Momjian
8e32f78b1d Add MySQL mention of licensing difference. 2004-01-23 14:41:57 +00:00
Bruce Momjian
d84db7d56d Add:
> * Allow column-level privileges
2004-01-23 05:05:34 +00:00
Neil Conway
58ae3cf12c Minor improvements to the trigger documentation, and a few SGML fixes. 2004-01-22 19:50:21 +00:00
Tom Lane
672a807028 Repair error apparently introduced in the initial coding of GUC: the
default value for geqo_effort is supposed to be 40, not 1.  The actual
'genetic' component of the GEQO algorithm has been practically disabled
since 7.1 because of this mistake.  Improve documentation while at it.
2004-01-21 23:33:34 +00:00
Tom Lane
04cc4e18dd Implement '\copy from -' to support reading copy data from the same
source the \copy came from.  Also, fix prompting logic so that initial
and per-line prompts appear for all cases of reading from an interactive
terminal.  Patch by Mark Feit, with some kibitzing by Tom Lane.
2004-01-20 23:48:56 +00:00
Tom Lane
0f8a313508 Remove no-longer-relevant note about forcing the type of an integer
constant.  Per Kris Jurka.
2004-01-20 22:46:06 +00:00
Tom Lane
18f7a8e262 This is a patch to support readline prompts which contain non-printing
characters, as for fancy colorized prompts.  This was nearly a direct
lift from bash-2.05b's lib/readline/display.c, per guidance from Chet Ramey.

Reece Hart
2004-01-20 19:49:34 +00:00
Tom Lane
bd046b99f0 Remove JDBC from the build system and documentation, too. 2004-01-19 21:20:06 +00:00
Tom Lane
163edee632 Improve discussion of consistent-snapshot backup technique. Haphazard
editing of this text had left nearly contradictory statements in
adjacent paragraphs ...
2004-01-19 20:12:30 +00:00
Peter Eisentraut
b89744198e Some refinement of XSLT processing: The result now looks just about as good
as the result of the SGML-based tool chain.
2004-01-15 23:51:32 +00:00
Peter Eisentraut
e27d500235 Make rule and stylesheet to try out XSLT for DocBook processing 2004-01-13 18:45:19 +00:00
Peter Eisentraut
1fee65f479 Put See Also links back in alphabetical order. 2004-01-11 09:24:17 +00:00
Neil Conway
024f3fa52f Minor documentation improvements. 2004-01-11 05:46:58 +00:00
Neil Conway
e97b8f2da9 Add CREATE TRIGGER, CREATE INDEX, and CREATE SEQUENCE to the list of
expressions supported by CREATE SCHEMA.

Also added the beginning of some regression tests for CREATE SCHEMA;
plenty more work is needed here.
2004-01-11 04:58:17 +00:00
Neil Conway
98dcf085e3 Implement "WITH / WITHOID OIDS" clause for CREATE TABLE AS. This is
intended to allow application authors to insulate themselves from
changes to the default value of 'default_with_oids' in future releases
of PostgreSQL.

This patch also fixes a bug in the earlier implementation of the
'default_with_oids' GUC variable: code in gram.y should not examine
the value of GUC variables directly due to synchronization issues.
2004-01-10 23:28:45 +00:00
Bruce Momjian
a620a760ed Allow BEGIN WORK to specify transaction isolation level, like START
TRANSACTION.
2004-01-10 02:21:08 +00:00
Bruce Momjian
cff58dd54e Done:
> * -Have psql '\i ~/<tab><tab>' actually load files it displays from home dir
2004-01-09 21:12:55 +00:00
Bruce Momjian
0150dbdce5 Allow libpq to do thread-safe SIGPIPE handling. This allows it to
ignore SIGPIPE from send() in libpq, but terminate on any other SIGPIPE,
unless the user installs their own signal handler.

This is a minor fix because the only time you get SIGPIPE from libpq's
send() is when the backend dies.
2004-01-09 02:02:43 +00:00
Bruce Momjian
acc57543de German FAQ update.
Ian Barwick
2004-01-09 01:51:31 +00:00
Bruce Momjian
8c3f859ecf Update Russian FAQ.
Viktor Vislobokov
2004-01-08 16:01:58 +00:00
Bruce Momjian
7f5e12a84c Not done, per Tom:
> 	o Allow parameters to be specified by name and type during definition
2004-01-07 17:54:19 +00:00
Bruce Momjian
a95df8f2bf Completed, I am pretty sure:
> 	o -Allow parameters to be specified by name and type during definition
2004-01-07 04:32:56 +00:00
Tom Lane
a77e32d7c5 Apply the core parts of Dennis Bjorklund's patch to allow function
parameters to be declared with names.  pg_proc has a column to store
names, and CREATE FUNCTION can insert data into it, but that's all as
yet.  I need to do more work on the pg_dump and plpgsql portions of the
patch before committing those, but I thought I'd get the bulky changes
in before the tree drifts under me.
initdb forced due to pg_proc change.
2004-01-06 23:55:19 +00:00
Bruce Momjian
89aafae009 Favor Freenode rather than EFnet in IRC listing. Freenode is more popular. 2004-01-06 21:44:07 +00:00