Commit Graph

4222 Commits

Author SHA1 Message Date
Bruce Momjian 06e3ec7a54 Implement compiler #error if spinlock code not found, add configure flag
to bypass the error, --without-spinlocks.
2003-09-12 16:10:27 +00:00
Bruce Momjian 9182481bea Remove WIN32_CONSOLE support, at the request of the author. 2003-09-12 02:40:10 +00:00
Tom Lane e90b841915 More cleanup of Diagnostics sections. 2003-09-12 00:12:47 +00:00
Tom Lane fbb39c059e Small typo. 2003-09-11 23:15:51 +00:00
Bruce Momjian 2a5b6a7c9b This patch fixes a few missed GUC variables that were still upper case,
makes a few more small improvements to runtime.sgml, and makes some SGML
conventions more consistent.

Neil Conway
2003-09-11 21:42:20 +00:00
Bruce Momjian 188eda0df2 Consistenly lowercase GUC variable names, in docs and error messages. 2003-09-11 18:30:39 +00:00
Bruce Momjian 8e27be4310 This patch makes a few minor improvements to the docs: make the
<varname> conventions more consistent, and improve the ANALYZE ref page.

Neil Conway
2003-09-11 17:31:45 +00:00
Bruce Momjian 64a7b58aa0 This patch makes a number of improvements to the runtime config
documentation.

Neil Conway
2003-09-11 17:27:38 +00:00
Bruce Momjian ab19254618 Mention that pg_type_is_visible is used for domains as well.
Christopher Kings-Lynne
2003-09-11 17:26:20 +00:00
Bruce Momjian d768cb267b seemed like a typo in one of the appendix tables
Robert Treat
2003-09-11 16:22:42 +00:00
Bruce Momjian 2b56a9646a Add:
> * Issue NOTICE if foreign key data type doesn't match primary key
2003-09-10 20:17:21 +00:00
Bruce Momjian e303be78e8 Add:
> * Have EXPLAIN ANALYZE highlight poor optimizer estimates
2003-09-10 20:14:42 +00:00
Bruce Momjian 73cfa77edd This patch fixes a trivial typo in the CREATE FUNCTION ref page.
Neil Conway
2003-09-10 20:13:45 +00:00
Bruce Momjian 22b305ad4a Add:
> * Have pg_dump -c clear the database using dependency information
2003-09-10 00:03:23 +00:00
Bruce Momjian 3610f083c1 Improve wording of increasing page size. 2003-09-09 22:43:06 +00:00
Tom Lane d4019b7cd3 Remove a bunch of content-free Diagnostics sections, as per previous
discussion.  (Still have some work to do editing the remainder.)
2003-09-09 18:28:53 +00:00
Bruce Momjian 1815f6179d Update max tasble size to 32TB. 2003-09-09 18:25:44 +00:00
Michael Meskes 2fab616866 Fixed a few bugs that came up on pgsql-interfaces. 2003-09-09 10:54:44 +00:00
Tom Lane fd65be4a78 Fix a couple minor typos. 2003-09-08 23:17:15 +00:00
Peter Eisentraut 6de93c0529 Update preface.
Use question marks rather than brackets to delimit optional elements in
Tcl synopses.

Fix stylesheet misfeature leading to excessively long cross-reference text
when linking to a different "part".

Remove <body> attributes -- CSS stylesheets should handle that.

Improve bibliography formatting.

Add fast-forward links for more convenient navigation.
2003-09-08 23:02:28 +00:00
Bruce Momjian e54965c0f8 Add:
o Allow ALTER TABLE to change constraint deferrability and actions
2003-09-08 22:48:21 +00:00
Tom Lane 4427969315 "statenebt" ? 2003-09-08 22:33:13 +00:00
Tom Lane f176e37975 Document a bunch of formerly-undocumented date/time operators,
including the SQL-spec OVERLAPS construct.
2003-09-08 19:38:02 +00:00
Bruce Momjian 1a9a346793 Update URL. 2003-09-07 22:02:54 +00:00
Bruce Momjian b58bd87f55 Update URL to be momjian.postgresql.org. 2003-09-07 22:01:42 +00:00
Tom Lane 48beecda7c Remove geqo_random_seed parameter. Having geqo reset the global random()
sequence every time it's called is bogus --- it interferes with user
control over the seed, and actually decreases randomness overall
(because a seed based on time(NULL) is pretty predictable).  If you really
want a reproducible result from geqo, do 'set seed = 0' before planning
a query.
2003-09-07 15:26:54 +00:00
Tom Lane 3c9bb8886d Allow IPv4-format entries in pg_hba.conf to match IPv6 connections
that have IPv4-embedded-in-IPv6 addresses.  Per idea of Andreas Pflug.
2003-09-05 20:31:36 +00:00
Bruce Momjian 23d07fa357 Done:
< * Allow psql to do table completion for SELECT * FROM schema_part and
> * -Allow psql to do table completion for SELECT * FROM schema_part and
2003-09-05 19:52:10 +00:00
Bruce Momjian cec1333bba Add WIN32 URL. 2003-09-05 16:43:13 +00:00
Tom Lane ba7ee1db3b Add missing space. 2003-09-05 16:13:38 +00:00
Bruce Momjian b0ba70df83 Update information about Linux's overcommit memory behavior.
Andrew Dunstan
2003-09-05 02:54:09 +00:00
Bruce Momjian 5b49f9025a Add:
> * Maintain a map of recently-expired of pages so vacuum can reclaim
>   free space without a sequential scan
2003-09-05 02:51:55 +00:00
Bruce Momjian 248af40d6d Update as done:
> * -Improve concurrency of hash indexes (Tom)
2003-09-05 02:20:50 +00:00
Bruce Momjian 8ac3510a4c Add:
> 	o Allow ALTER TABLE ... ALTER CONSTRAINT ... RENAME
2003-09-05 01:10:07 +00:00
Bruce Momjian 8af31863e9 Add:
<
> * Print table names with constraint names in error messages, or make constraint
>   names unique within a schema
2003-09-05 00:50:40 +00:00
Bruce Momjian adb13f231b Add:
> * Allow to_char to print localized month names (Karel)
2003-09-03 23:01:47 +00:00
Peter Eisentraut ee4ae6ceb2 Add note that a for loop where the lower bound is greater than the upper
bound is valid but does nothing.

suggested by Richard Huxton <dev@archonet.com>
2003-09-03 22:17:07 +00:00
Peter Eisentraut 29a20145fd Pass session_authorization to the client and make psql update its prompt
accordingly.
2003-09-03 22:05:09 +00:00
Bruce Momjian 4e85f760e6 Done:
* -Have standalone backend read postgresql.conf (Tom)
2003-09-03 21:27:21 +00:00
Bruce Momjian 1129eab9c7 Update German FAQ.
Ian Barwick
2003-09-03 20:28:14 +00:00
Peter Eisentraut 5f65345a57 Do not pass server_encoding to the client.
libpq, talking to an old server, should assume SQL_ASCII as the default
client encoding, because that is what the server will actually use (not
the server encoding).
2003-09-01 23:04:49 +00:00
Peter Eisentraut f10a9033bf Clean up after pygresql removal: adjust/remove documentation and remove
unneeded configure work.
2003-09-01 23:01:49 +00:00
Bruce Momjian 2fb6e84bae Add mention of OID wraparound. 2003-09-01 16:47:58 +00:00
Peter Eisentraut c326d8f4f2 Add/edit index entries. 2003-08-31 17:32:24 +00:00
Peter Eisentraut cf8e916968 Set LC_ALL=C when running collateindex.pl to get predictable sort order. 2003-08-31 17:28:39 +00:00
Bruce Momjian ceacae7734 Fix unixware template --- had spaces around equals. 2003-08-30 03:19:47 +00:00
Tom Lane 7e2a4cfe63 Make documentation of pg_restore's -N, -o, -r switches bear some
slight resemblance to their actual behavior.
2003-08-28 20:44:02 +00:00
Peter Eisentraut 3722226070 Add "override" for make variable JADEFLAGS, since upper directory passes
this variable on the command line.
2003-08-27 22:58:54 +00:00
Peter Eisentraut 535980aa40 Major cleanup of SPI chapter 2003-08-27 22:13:35 +00:00
Bruce Momjian 743f667f00 Update URL for 7.3 changes:
http://developer.postgresql.org/~momjian/upgrade_tips_7.3
2003-08-27 03:35:35 +00:00
Tom Lane 3e51c1553c Add the Brazilian time zone abbreviations BRT, BRST, FNT, FNST.
ACT and ACST were already present.  AMT and AMST conflict with the
existing entries for Armenia; no change there for the moment.
2003-08-25 23:30:27 +00:00
Bruce Momjian 048cb1ce6b Add:
> * Add a libpq function to support Parse/DescribeStatement capability
2003-08-25 04:10:59 +00:00
Bruce Momjian 55b5fc9a9a Add:
* Allow TRUNCATE ... CASCADE/RESTRICT
2003-08-24 22:57:21 +00:00
Peter Eisentraut 693aad413b Change warnings for non-existing or pre-existing cursors to errors. 2003-08-24 21:02:43 +00:00
Peter Eisentraut c3664c0c00 Add macros for error result fields to libpq. 2003-08-24 18:36:38 +00:00
Tom Lane 432fb5b886 Updates for array documentation, from Joe Conway. 2003-08-19 06:06:48 +00:00
Bruce Momjian 141490354e Done:
> * -Add btree index support for reltime, tinterval, regproc (Tom)
2003-08-18 02:52:45 +00:00
Tom Lane c771838106 Somebody forgot to include any actual documentation for ADD_MISSING_FROM. 2003-08-17 22:19:15 +00:00
Tom Lane 4215947986 Update documentation to reflect the fact that ORDER BY, GROUP BY, etc
are now driven by the default btree opclass, rather than assuming that
particular operator names have the needed semantics.
2003-08-17 22:09:00 +00:00
Tom Lane 1b68704482 Fix broken markup. 2003-08-17 22:05:13 +00:00
Bruce Momjian 42588d436d Add:
> * Allow PREPARE of cursors
2003-08-17 05:23:13 +00:00
Bruce Momjian a9f9a97906 I almost forgot mark in docs "to_char(interval)" as deprecated function.
This useless routine will removed in 7.5. It's already discussed (see
hackers list archive).

Karel Zak
2003-08-17 04:52:41 +00:00
Bruce Momjian 7f5079db98 Add:
> * Fix upper()/lower() to work for multibyte encodings
>
2003-08-17 04:50:57 +00:00
Bruce Momjian 41477b9a83 This patch makes two minor fixes to the docs: (1) fixes a
spelling mistake in the PREPARE ref page (2) Makes some
English more consistent, in the ref pages for some of the
client apps (3) Adds a link to the libpq docs in the
vacuumdb ref page.

Neil Conway
2003-08-17 04:46:59 +00:00
Bruce Momjian e7f266e5fe There is a misstatement in the CLOSE reference page, now that we
have cursors that might outlive their creating transactions. A
patch is attached that fixes this (suggestions on better wording
are welcome).

Neil Conway
2003-08-17 04:46:00 +00:00
Bruce Momjian b433f405c5 Add:
> * Allow pooled connections to query prepared queries
> * Allow pooled connections to close all open WITH HOLD cursors
2003-08-17 04:43:48 +00:00
Bruce Momjian 2326ade600 I just noticed that the sample pg_hba.conf in the docs doesn't contain
any use of CIDR masks - here's a patch that adds  a couple of  sample
lines and associated comments.

Andrew Dunstan
2003-08-17 04:39:11 +00:00
Bruce Momjian f7d9aa8fbf The attached patch adds some clarification to the documentation of the
binary format read/created by COPY BINARY. It also mentions the
contrib/binarycopy module.

Lee Kindness.
2003-08-17 04:33:02 +00:00
Bruce Momjian 6499ebb72b Add:
> * Add ALTER DOMAIN, AGGREGATE, CONVERSION, SEQUENCE ... OWNER TO
>
2003-08-17 04:28:15 +00:00
Bruce Momjian 237b4d6845 Add:
> * Add TRUNCATE ... CASCADE
2003-08-17 04:18:01 +00:00
Bruce Momjian 01d0d34694 Add:
> * Add pg_get_acldef(), pg_get_typedefault(), and pg_get_attrdef()
2003-08-17 03:56:16 +00:00
Bruce Momjian 3297804e14 Add mention of sort_mem in the restore docs. 2003-08-17 03:14:26 +00:00
Bruce Momjian bb8586d19d Update for 7.3 tips URL. 2003-08-17 00:41:46 +00:00
Bruce Momjian 226bae27b9 Add mention that Kerberos 4 isn't recommended. 2003-08-16 23:33:49 +00:00
Bruce Momjian 43bb02863f Add disk rotation idea to WAL todo emails. 2003-08-14 23:13:42 +00:00
Tom Lane 0684043e39 Minor copy-editing. 2003-08-14 23:13:27 +00:00
Tom Lane 483363b03d Fix longstanding thinko in SSL protocol documentation: the server's
initial response is 'S', not 'Y', when it is willing to do SSL.
2003-08-14 20:09:31 +00:00
Tom Lane c01641f8ae libpq failed to cope with COPY FROM STDIN if the command was issued
via extended query protocol, because it sends Sync right after Execute
without realizing that the command to be executed is COPY.  There seems
to be no reasonable way for it to realize that, either, so the best fix
seems to be to make the backend ignore Sync during copy-in mode.  Bit of
a wart on the protocol, but little alternative.  Also, libpq must send
another Sync after terminating the COPY, if the command was issued via
Execute.
2003-08-13 18:56:21 +00:00
Tom Lane 0be731ad44 Add PQexecPrepared() and PQsendQueryPrepared() functions, to allow
libpq users to perform Bind/Execute of previously prepared statements.
Per yesterday's discussion, this offers enough performance improvement
to justify bending the 'no new features during beta' rule.
2003-08-13 16:29:03 +00:00
Bruce Momjian c090b053fe I'm quite fond of doing VPATH builds, i.e. building outside the source
tree. This also catches lots of little Makefile bugs, so here's a small
patch for one of them (replacing an explicit reference to thread.c with
a reference to it as the first prerequsite of the rule makes make look
for it in the place where it was found (the source tree) rather than in
the build tree. (using GNU make 3.79.1)

John Gray
2003-08-13 03:12:04 +00:00
Bruce Momjian 730b3a1502 Add:
> * Prevent unneeded quoting in psql \d output using fmtId()
2003-08-11 22:39:48 +00:00
Tom Lane 18c10877a9 Make various links point to specific places instead of entire parts
(doubtless these are hangovers from the old separate-books days).
2003-08-10 01:20:34 +00:00
Tom Lane 0019532f47 Request verbose error message output in bug reports. 2003-08-10 01:19:18 +00:00
Tom Lane 5bfb0540b0 Update docs for 7.4 array features and polymorphic functions.
This is Joe Conway's patch of 7-Aug plus further editorializing
of my own.
2003-08-09 22:50:22 +00:00
Bruce Momjian 9e73ab4965 Add:
> * Allow clients to query WITH HOLD cursors and prepared statements
503d503
<
2003-08-08 20:31:26 +00:00
Bruce Momjian 4ae02fd03e Update:
< 	o -Implement SQLDA
> 	o Implement SQLDA
2003-08-08 18:55:35 +00:00
Bruce Momjian b1504b6085 Update. 2003-08-08 18:36:34 +00:00
Bruce Momjian 6abde4d803 Update as done:
< * Allow easy display of usernames in a group
> * -Allow easy display of usernames in a group
88,89d87
< * -Delay resolution of array expression type so assignment coercion
<   can be performed on empty array expressions (Joe)
94c92,94
< 	o Support construction of array result values in expressions
> 	o -Support construction of array result values in expressions (Joe)
> 	o Delay resolution of array expression type so assignment coercion
> 	  can be performed on empty array expressions (Joe)
148c148
< * Allow LIKE indexing optimization for non-ASCII locales
> * -Allow LIKE indexing optimization for non-ASCII locales using special index
173c173
< * Return proper effected tuple count from complex commands [return]
> * -Return proper effected tuple count from complex commands [return]
236c236
< 	o Allow SHOW of non-modifiable variables, like pg_controldata
>  	o -Allow SHOW of some non-modifiable variables, like pg_controldata
257a258
> 	o Add capability to create and call PROCEDURES
272c273
<
> * Allow psql \du to show groups, and add \dg for groups
424c425
< * Improve Subplan list handling
> * -Improve Subplan list handling
2003-08-08 17:13:02 +00:00
Bruce Momjian d58b01a516 Not needed anymore. 2003-08-08 17:05:11 +00:00
Bruce Momjian e4c38da4de Done:
< 	o Allow array declarations and other data types in PL/PgSQL DECLARE
> 	o -Allow array declarations and other data types in PL/PgSQL DECLARE
254c254
< 	o Allow PL/PgSQL to support array element assignment
> 	o -Allow PL/PgSQL to support array element assignment (Joe)
2003-08-08 16:34:40 +00:00
Bruce Momjian 22bd88ba35 Remove:
< 	o Add PL/PgSQL PROCEDURES that can return multiple values
2003-08-08 16:33:35 +00:00
Bruce Momjian 80ed63952b Update done items:
< * Allow elog() to return error codes, module name, file name, line
<   number, not just messages (Peter E)
< * Add error codes (Peter E)
< * Make error messages more consistent [error]
> * -Allow elog() to return error codes, module name, file name, line
>   number, not just messages (Tom)
> * -Add error codes (Tom)
> * -Make error messages more consistent
40c40
< * Add GUC log_statement_and_duration to print statement and >= min duration
> * -Add GUC log_statement_and_duration to print statement and >= min duration
84c84
< * Allow current datestyle to restrict dates;  prevent month/day swapping
> * -Allow current datestyle to restrict dates;  prevent month/day swapping
86c86
< * Prevent month/day swapping of ISO dates to make invalid dates valid
> * -Prevent month/day swapping of ISO dates to make invalid dates valid
88c88
< * Delay resolution of array expression type so assignment coercion
> * -Delay resolution of array expression type so assignment coercion
93c93
< 	o Allow arrays to be ORDER'ed
> 	o -Allow arrays to be ORDER'ed
116c116
< * Remove Cyrillic recode support
> * -Remove Cyrillic recode support
144c144
< * Certain indexes will not shrink, e.g. indexes on ever-increasing
> * -Certain indexes will not shrink, e.g. indexes on ever-increasing
185c185
< * Have SELECT '13 minutes'::interval display zero seconds in ISO datestyle
> * -Have SELECT '13 minutes'::interval display zero seconds in ISO datestyle
196c196
< 	o -Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
> 	o --Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
221c221
< 	  stored in the backend
> 	  stored in the backend (Gavin)
235c235
< 	o Allow EXPLAIN EXECUTE to see prepared plans
> 	o -Allow EXPLAIN EXECUTE to see prepared plans
241d240
< 	o Add untrusted version of plpython
265c264
< * Allow psql to show transaction status if backend protocol changes made
> * -Allow psql to show transaction status if backend protocol changes made
272,273c271,272
< * Modify pg_get_triggerdef() to take a boolean to pretty-print,
<  and use that as part of pg_dump along with psql
> * -Modify pg_get_triggerdef() to take a boolean to pretty-print,
>   and use that as part of pg_dump along with psql
292c291
< 	o Add SQLSTATE
> 	o -Add SQLSTATE
296c295
< 	o Implement SQLDA (do we really need this?)
> 	o -Implement SQLDA
364d362
< * Allow binding query args over FE/BE protocol
378c376,377
< * Provide automatic running of vacuum in the background (Tom) [vacuum]
> * Provide automatic running of vacuum in the background in backend
>   rather than in /contrib [vacuum]
427c426
< * Allow Subplans to use efficient joins(hash, merge) with upper variable
> * -Allow Subplans to use efficient joins(hash, merge) with upper variable
429c428
< * Allow merge and hash joins on expressions not just simple variables (Tom)
> * -Allow merge and hash joins on expressions not just simple variables (Tom)
474c473
< * Remove memory/file descriptor freeing befor elog(ERROR)  (Bruce)
> * Remove memory/file descriptor freeing before ereport(ERROR)  (Bruce)
489,490c488,489
< 	o Show transaction status in psql
< 	o Allow binding of query parameters, support for prepared queries
> 	o -Show transaction status in psql
> 	o -Allow binding of query parameters, support for prepared queries
492,494c491,493
< 	o Remove hard-coded limits on user/db/password names
< 	o Remove unused elements of startup packet (unused, tty, passlength)
< 	o Fix COPY/fastpath protocol?
> 	o -Remove hard-coded limits on user/db/password names
> 	o -Remove unused elements of startup packet (unused, tty, passlength)
> 	o -Fix COPY/fastpath protocol
496,497c495
< 	o Replication support?
< 	o Error codes
> 	o -Error codes
500d497
< 	o ecpg improvements?
503c500
< 	o Report server version number, database encoding, client encoding
> 	o -Report server version number, database encoding, client encoding
2003-08-08 02:00:20 +00:00
Bruce Momjian 60356aa76d No need for TODO.detail error. 2003-08-08 00:28:26 +00:00
Barry Lind 9c6d5495b9 markup fixes 2003-08-07 05:06:40 +00:00
Bruce Momjian 90562b1135 Noticed broken markup in ecpg.sgml. Attached patch fixes it. Please
apply.

Joe Conway
2003-08-07 04:17:21 +00:00
Barry Lind 1d1df53f82 Applied doc patch for the jdbc docs submitted by Nic Ferrier for functionality
he supplied a few months ago, but didn't get around to docing until now.  And
he also added some doc for calling stored functions in general from jdbc that was missing.

 Modified Files:
 	sgml/jdbc.sgml
2003-08-06 23:50:19 +00:00
Bruce Momjian 3efb2af4b6 Add:
> 	o Add ALTER DATABASE ... OWNER TO newowner
2003-08-06 23:36:02 +00:00
Tom Lane c45b851e37 Fix erroneous direct reference to postgres.tar.gz, per bug report
from Garrick Staples.
2003-08-04 20:52:48 +00:00
Peter Eisentraut 3766e99c41 Add a note that AND and OR are commutative. Apparently, they are not in
certain other products.
2003-08-04 14:00:14 +00:00
Tom Lane 4c3c8c048d Remove --enable-recode feature, since it's been broken by IPv6 changes,
and seems to have too few users to justify maintaining.
2003-08-04 04:03:10 +00:00