Commit Graph

5240 Commits

Author SHA1 Message Date
Neil Conway
76e70108e7 Fix typo in an entry in the 7.4 release notes. 2004-05-22 09:48:15 +00:00
Tom Lane
63bd0db121 Integrate src/timezone library for all platforms. There is more we can
and should do now that we control our own destiny for timezone handling,
but this commit gets the bulk of the picayune diffs in place.
Magnus Hagander and Tom Lane.
2004-05-21 05:08:06 +00:00
Bruce Momjian
40296aa2ec Remove pyton, spell check fix:
> * Support composite types as table columns
286,289d286
< * Python
< 	o Allow users to register their own types with pg_
< 	o Allow SELECT to return a dictionary of dictionaries
< 	o Allow COPY BINARY FROM
456d452
< * Support composite types as table columns
2004-05-20 16:36:14 +00:00
Bruce Momjian
8027065660 Updates from Tom:
< Bracketed items "[]" have more detailed.
> Bracketed items "[]" have more detail.
35,36d34
< * Remove unreferenced table files and temp tables during database vacuum
<   or postmaster startup (Bruce)
68c66
< * Allow pg_dump to dump sequences using NO_MAXVALUE and NO_MINVALUE
> * -Allow pg_dump to dump sequences using NO_MAXVALUE and NO_MINVALUE
70c68
< * Prevent whole-row references from leaking memory, e.g. SELECT COUNT(tab.*)
> * -Prevent whole-row references from leaking memory, e.g. SELECT COUNT(tab.*)
76c74
< * Make LENGTH() of CHAR() not count trailing spaces
> * -Make LENGTH() of CHAR() not count trailing spaces
145c143
< * Allow SELECT * FROM tab WHERE int2col = 4 to use int2col index, int8,
> * -Allow SELECT * FROM tab WHERE int2col = 4 to use int2col index, int8,
179c177
< * Allow more ISOLATION LEVELS to be accepted, but issue a warning for them
> * -Allow more ISOLATION LEVELS to be accepted
186c184
< * Add GUC setting to make created tables default to WITHOUT OIDS
> * -Add GUC setting to make created tables default to WITHOUT OIDS
265d262
< * Allow fastpast to pass values in portable format
271c268
< * Move psql backslash database information into the backend, use nmumonic
> * Move psql backslash database information into the backend, use nmeumonic
275,283d271
< * JDBC
< 	o Comprehensive test suite. This may be available already.
< 	o JDBC-standard BLOB support
< 	o Error Codes (pending backend implementation)
< 	o Support both 'make' and 'ant'
< 	o Fix LargeObject API to handle OIDs as unsigned ints
< 	o Use cursors implicitly to avoid large results (see setCursorName())
< 	o Add LISTEN/NOTIFY support to the JDBC driver (Barry)
<
332c320
< * Have pg_dump -c clear the database using dependency information
> * -Have pg_dump -c clear the database using dependency information
367,368c355,356
< * Cache last known per-tuple offsets to speed long tuple access
< * Automatically place fixed-width, NOT NULL columns first in a table
> * Cache last known per-tuple offsets to speed long tuple access, adjusting
>   for NULLs and TOAST values
467c455,456
< * Change representation of whole-tuple parameters to functions
> * -Change representation of whole-tuple parameters to functions
> * Support composite types as table columns
478,479d466
< * Allow the regression tests to start postmaster with -i so the tests
<   can be run on systems that don't support unix-domain sockets
2004-05-20 15:57:26 +00:00
Bruce Momjian
bb206b6dce Update SCO FAQ.
Larry Rosenman
2004-05-20 04:19:26 +00:00
Bruce Momjian
3e485d0ea1 Add:
> * Investigate SMP context switching issues
2004-05-20 04:10:44 +00:00
Bruce Momjian
4714dcb06c Remove item:
< * Allow col IS TRUE/FALSE use an index like col = TRUE/FALSE
2004-05-20 03:27:16 +00:00
Bruce Momjian
5f55347e33 Add:
> 	o Add default clustering to system tables
2004-05-20 02:58:18 +00:00
Bruce Momjian
f92630bdca Add:
> 	o Add ALTER DOMAIN TYPE
2004-05-20 02:07:50 +00:00
Bruce Momjian
0ca0099139 Add:
> * Allow col IS TRUE/FALSE use an index like col = TRUE/FALSE
2004-05-20 02:01:00 +00:00
Bruce Momjian
d5003e5221 Document &< and &> properly.
William White <bwhite@frognet.net>
2004-05-19 23:56:38 +00:00
Bruce Momjian
24a1fafc8d Clearify CHECK handling of unknown test values.
Karl O. Pinc
2004-05-19 23:10:43 +00:00
Bruce Momjian
952c772158 Done:
> * -Make pg_restore continue after errors, so it acts more like pg_dump scripts
2004-05-19 21:09:53 +00:00
Bruce Momjian
4c82cb9d40 Trim down relocatable docs, per Peter. 2004-05-18 21:46:25 +00:00
Bruce Momjian
dcf459e662 Add some documentation on relocatable installs. 2004-05-18 20:34:01 +00:00
Bruce Momjian
da401bd314 Add:
> * Allow binaries to be statically linked so they are more easily relocated
2004-05-18 16:06:08 +00:00
Bruce Momjian
e30efa0da1 Update Russian FAQ.
Viktor Vislobokov
2004-05-18 13:18:30 +00:00
Bruce Momjian
d14db1321b Add documentation that installations are relocatable unless configure
locations are overridden.
2004-05-17 16:06:25 +00:00
Bruce Momjian
2657c24b6d Reformat sgml doc paragraph. 2004-05-17 15:00:50 +00:00
Neil Conway
8295c27c89 Add documentation for the new "dollar quoting" feature, and update existing
examples to use dollar quoting when appropriate. Original patch from David
Fetter, additional work and editorializing by Neil Conway.
2004-05-16 23:22:08 +00:00
Neil Conway
2871f60f23 Change ln(), log(), power(), and sqrt() to emit the correct SQLSTATE
error codes for certain error conditions, as specified by SQL2003.
2004-05-16 23:18:55 +00:00
Bruce Momjian
335cf9ae7f Restore one mention of logrotate, per Peter. 2004-05-16 19:34:46 +00:00
Neil Conway
0079547bcb Implement the width_bucket() function, per SQL2003. This commit only adds
a variant of the function for the 'numeric' datatype; it would be possible
to add additional variants for other datatypes, but I haven't done so yet.

This commit includes regression tests and minimal documentation; if we
want developers to actually use this function in applications, we'll
probably need to document what it does more fully.
2004-05-14 21:42:30 +00:00
Bruce Momjian
19a495caaa Properly document rotatelogs, and add mention of it to pg_ctl manual page. 2004-05-14 20:01:19 +00:00
Neil Conway
0cb27df5c6 Improve documentation for SQLSTATE error codes, per recent thread on
-patches.
2004-05-14 18:04:02 +00:00
Bruce Momjian
3bfd4d9284 Remove:
< 	o Add PL/PHP (Joe)
2004-05-12 04:10:41 +00:00
Bruce Momjian
270c9aa34a Add DELETE:
> * Add MERGE command that does UPDATE/DELETE, or on failure, INSERT (rules, triggers?)
2004-05-11 20:23:05 +00:00
Bruce Momjian
f739deb50f Add mention of rules/triggers:
> * Add MERGE command that does UPDATE, or on failure, INSERT (rules, triggers?)
2004-05-11 13:44:05 +00:00
Tom Lane
2f63232d30 Promote row expressions to full-fledged citizens of the expression syntax,
rather than allowing them only in a few special cases as before.  In
particular you can now pass a ROW() construct to a function that accepts
a rowtype parameter.  Internal generation of RowExprs fixes a number of
corner cases that used to not work very well, such as referencing the
whole-row result of a JOIN or subquery.  This represents a further step in
the work I started a month or so back to make rowtype values into
first-class citizens.
2004-05-10 22:44:49 +00:00
Neil Conway
9a939886ac Fix typo. 2004-05-10 21:08:28 +00:00
Bruce Momjian
b071a40068 Add:
> * Add MERGE command that does UPDATE, or on failure, INSERT
2004-05-10 03:58:19 +00:00
Bruce Momjian
1fe11fad54 Fix typo. 2004-05-08 02:13:31 +00:00
Bruce Momjian
97c7cb0930 Uppercase keyword for ecpg. 2004-05-07 02:40:43 +00:00
Bruce Momjian
4d46274b33 Done:
> 	o -ALTER TABLE ADD COLUMN column SERIAL doesn't create sequence because
2004-05-06 19:32:09 +00:00
Bruce Momjian
22a2c4b576 Erase MD5 user passwords when a user is renamed because the username is
used as salt for the MD5 password.
2004-05-06 16:59:16 +00:00
Bruce Momjian
d8f6973df3 Update todo/faq timestamps 2004-05-06 16:49:13 +00:00
Bruce Momjian
a4ab5bae42 Done:
o -ALTER TABLE ADD COLUMN does not honor DEFAULT and non-CHECK CONSTRAINT
        o -ALTER TABLE ADD COLUMN column DEFAULT should fill existing
          rows with DEFAULT value
        o -Allow ALTER TABLE to modify column lengths and change to binary
          compatible types

Remove:

        o Allow columns to be reordered using ALTER ... POSITION i col1 [,col2];
          have SELECT * and INSERT honor such ordering
2004-05-05 14:36:20 +00:00
Neil Conway
3b8151a5ee Fix a typo in the documentation. 2004-05-05 09:33:38 +00:00
Tom Lane
077db40fa1 ALTER TABLE rewrite. New cool stuff:
* ALTER ... ADD COLUMN with defaults and NOT NULL constraints works per SQL
spec.  A default is implemented by rewriting the table with the new value
stored in each row.

* ALTER COLUMN TYPE.  You can change a column's datatype to anything you
want, so long as you can specify how to convert the old value.  Rewrites
the table.  (Possible future improvement: optimize no-op conversions such
as varchar(N) to varchar(N+1).)

* Multiple ALTER actions in a single ALTER TABLE command.  You can perform
any number of column additions, type changes, and constraint additions with
only one pass over the table contents.

Basic documentation provided in ALTER TABLE ref page, but some more docs
work is needed.

Original patch from Rod Taylor, additional work from Tom Lane.
2004-05-05 04:48:48 +00:00
Neil Conway
4ef8b2f901 Fix obscure typo in 7.4.0 release notes. 2004-05-03 08:47:54 +00:00
Bruce Momjian
7ebd5dafd8 Assign item:
< 	o Add ALTER TABLE table SET WITHOUT CLUSTER
> 	o Add ALTER TABLE table SET WITHOUT CLUSTER (Christopher)
2004-05-02 12:27:45 +00:00
Bruce Momjian
846cd0f1c2 Update TODO item:
o Add ALTER TABLE table SET WITHOUT CLUSTER
2004-05-02 12:27:00 +00:00
Bruce Momjian
1a273556a3 Update Japanese FAQ.
Jun Kuwamura
2004-05-01 01:27:03 +00:00
Tom Lane
f378288e3b Minor copy-editing. 2004-04-29 04:37:09 +00:00
Bruce Momjian
a3b0c90e24 Fix typo:
<   columns and indexes with many duplicate keys
2004-04-28 16:35:36 +00:00
Neil Conway
a3015829ee Fix typo in libpq docs. 2004-04-24 22:58:40 +00:00
Neil Conway
f0c3a09ab3 Document that PQoidValue(), PQcmdTuples(), and PQoidStatus() now work
when the command that generated the PGresult was an EXECUTE of an
appropriate prepared statement.
2004-04-24 22:53:44 +00:00
Bruce Momjian
f5dd5bf297 Add mention to run thread test program if user is experiencing problems
with threaded applications.
2004-04-24 00:14:28 +00:00
Neil Conway
fc7fd50182 Add ceiling() as an alias for ceil(), and power() as an alias for pow().
Regression tests and documentation have both been updated.

SQL2003 requires that both ceiling() and ceil() be present, so I have
documented both spellings. SQL2003 doesn't mention pow() as far as I
can see, so I decided to replace pow() with power() in the documentation:
there is little reason to encourage the continued usage of a function
that isn't compliant with the standard, given a standard-compliant
alternative.

RELEASE NOTES: should state that pow() is considered deprecated
(although I don't see the need to ever remove it.)
2004-04-23 20:32:20 +00:00
Neil Conway
0fa2afa93a Make psql's \d+ command indicate whether the table in question
contains OIDs. Also, minor documentation improvements to the
psql reference page.
2004-04-22 17:38:16 +00:00
Bruce Momjian
65b020bd61 Fix filename mention in psqlrc.sample file. 2004-04-22 14:33:49 +00:00
Tom Lane
19f1649bed Put information about tag in Outputs section, where it belongs. 2004-04-22 11:46:22 +00:00
Peter Eisentraut
c16fa67c87 Fix typo 2004-04-22 08:36:48 +00:00
Neil Conway
2ff4e44043 Improvements to the backup & restore documentation. 2004-04-22 07:02:36 +00:00
Bruce Momjian
e3391133ae Update EXECUTE docs to mention tag matches prepared statement.
Update log_statement to more clearly state it doesn't filter based on
the statement type of the prepared statement.
2004-04-22 04:18:41 +00:00
Bruce Momjian
be6bbcef56 Add global psql config file, psql.rc.sample. 2004-04-22 01:53:37 +00:00
Neil Conway
4906841901 Minor improvement to CREATE AGGREGATE docs: add an xref to the docs for
builtin aggregate functions.
2004-04-21 21:52:41 +00:00
Peter Eisentraut
aeee856564 New link for Solaris IPC article 2004-04-21 13:18:28 +00:00
Bruce Momjian
49d3d9cf40 Change COPY CSV keyword to be:
FORCE QUOTE to force quotes
	FORCE NOT NULL to quote null input values
2004-04-21 00:34:18 +00:00
Bruce Momjian
2d1221bf89 Done:
< * Add NO WAIT option to various SQL commands
> * -Add NO WAIT LOCKs
2004-04-20 20:16:30 +00:00
Bruce Momjian
6022a7d72f Add doc mention that:
process directly.  Some parameters can only be set at server start;
    any changes to their entries in the configuration file will be ignored
    until the server is restarted.
2004-04-20 16:56:19 +00:00
Bruce Momjian
cfb8d57ba1 Add:
> * Allow AFTER triggers on system tables
2004-04-20 14:03:30 +00:00
Bruce Momjian
8149029162 Improve IS NULL partial index wording. 2004-04-20 12:53:28 +00:00
Bruce Momjian
8b10da1056 Done:
> * -Exit postmaster if postgresql.conf can not be opened
2004-04-20 04:26:27 +00:00
Bruce Momjian
bb18b47390 Document partial indexes for IS NULL lookups. 2004-04-20 04:25:47 +00:00
Bruce Momjian
2f2a3439a5 Remove additional tcl doc mention. 2004-04-20 01:14:55 +00:00
Bruce Momjian
c310d28766 Remove TCL docs. 2004-04-20 01:11:49 +00:00
Bruce Momjian
6ef77149f7 > >> My question is whether postgres can index null values, and if not, do I
> >> have to accept a full table scan when locating records.
> >
> > It indexes them, but "is null" is not an indexable operator, so you
> > can't directly solve the above with a 3-column index.  What you can do
> > instead is use a partial index, for instance
> >
> > create index i on CUSTOMER.WCCustOrderStatusLog (WCOrderStatusID)
> > where Acknowledged is null and Processing is null;
>
> That's a very nifty trick and exactly the sort of answer I was after!

Add CREATE INDEX doc mention of using partial indexes for IS NULL
indexing;  idea from Tom.
2004-04-20 01:00:26 +00:00
Bruce Momjian
d1b3915ce1 In reading the 7.4.2 docs, the sql reference page for PREPARE doesn't
reference DEALLOCATE in any way. It points to EXECUTE, but not to
DEALLOCATE. Suggested fix:

... This also means that a single  prepared statement cannot be used by
multiple simultaneous database clients; however, each client can create
their own prepared statement  to use. The prepared statement can be
manually cleaned up using the DEALLOCATE command.

James Robinson
2004-04-19 23:36:48 +00:00
Bruce Momjian
862b20b382 Complete TODO item:
o -Allow dump/load of CSV format

This adds new keywords to COPY and \copy:

        CSV - enable CSV mode (comma separated variable)
        QUOTE - specify quote character
        ESCAPE - specify escape character
        FORCE - force quoting of specified column
	LITERAL - suppress null comparison for columns

Doc changes included.  Regression updates coming from Andrew.
2004-04-19 17:22:31 +00:00
Bruce Momjian
83ab1c0475 Done:
> 	o -Allow dump/load of CSV format
2004-04-19 17:03:13 +00:00
Bruce Momjian
7931a8fdd1 Fix typo:
< * -Allow psql \du to show groups, and add \dg for groups
> * -Allow psql \du to show users, and add \dg for groups
2004-04-19 15:37:56 +00:00
Bruce Momjian
77c7e8bcb8 Clarify meaning of second DateStyle value. 2004-04-15 04:46:18 +00:00
Bruce Momjian
18229e080c Update name:
< * Alvaro Herrera <alvherre@dcc.uchile.cl>
> * Alvaro is Alvaro Herrera <alvherre@dcc.uchile.cl>
2004-04-14 19:15:27 +00:00
Bruce Momjian
76e953bd70 Update owners of items:
< * Add the concept of dataspaces/tablespaces [tablespaces]
> * Add the concept of dataspaces/tablespaces [tablespaces] (Gavin)
167c167
< * Allow savepoints / nested transactions [transactions] (Bruce)
> * Allow savepoints / nested transactions [transactions] (Alvaro)
240c240
< 	o Allow Java server-side programming [java]
> 	o Allow Java server-side programming [java] (Dave)
496a497
> * Alvaro Herrera <alvherre@dcc.uchile.cl>
2004-04-14 18:33:03 +00:00
Bruce Momjian
abdabeb995 Change psql \copy stdin/stdout to read from command input/output.
Add pstdin/pstdout to read from psql's stdin/stdout.

BACKWARD INCOMPATIBLE CHANGE
2004-04-12 15:58:52 +00:00
Bruce Momjian
7b3189c185 > > This update fixes a few small typos in names,
> > pronouns and formatting in the Russian FAQ.

Serguei Mokhov
2004-04-12 03:22:20 +00:00
Bruce Momjian
1934055cbe Please find a small patch to fix the brain damage "century" and
"millennium" date part implementation in postgresql, both in the code
and the documentation, so that it conforms to the official definition.
If you do not agree with the official definition, please send your
complaint to "pope@vatican.org". I'm not responsible for them;-)

With the previous version, the centuries and millenniums had a wrong
number and started the wrong year. Moreover century number 0, which does
not exist in reality, lasted 200 years. Also, millennium number 0 lasted
2000 years.

If you want postgresql to have it's own definition of "century" and
"millennium" that does not conform to the one of the society, just give
them another name. I would suggest "pgCENTURY" and "pgMILLENNIUM";-)

IMO, if someone may use the options, it means that postgresql is used for
historical data, so it make sense to have an historical definition. Also,
I just want to divide the year by 100 or 1000, I can do that quite easily.

BACKWARD INCOMPATIBLE CHANGE

Fabien Coelho - coelho@cri.ensmp.fr
2004-04-10 18:02:59 +00:00
Bruce Momjian
296f485492 Remove libpgeasy and odbc doc reference in filelist.sgml --- removed to
gborg.
2004-04-09 18:03:13 +00:00
Bruce Momjian
14bd7a0181 Add SQL 2003 standards. 2004-04-07 23:32:30 +00:00
Bruce Momjian
9fa14b1ea0 Remove bad URL. 2004-04-07 22:02:03 +00:00
Bruce Momjian
d17c92b24f Update:
< * Allow LOCALE on a per-column basis, default to ASCII
> * Allow locale to be set at database creation
> * Allow locale on a per-column basis, default to ASCII
> * Optimize locale to have minimal performance impact when not used (Peter E)
105d106
< * Optimize locale to have minimal performance impact when not used (Peter E)
111d111
< * Allow locale to be set at database creation
2004-04-07 19:14:21 +00:00
Bruce Momjian
75688a27d2 Add:
> * Allow locale to be set at database creation
2004-04-07 18:34:44 +00:00
Bruce Momjian
f1d0269861 Done:
> * -Allow logging of only data definition(DDL), or DDL and modification statements

Add:
> * Add a session mode to warn about non-standard SQL usage
2004-04-07 17:04:45 +00:00
Bruce Momjian
58a1cb1024 Update FAQ_DEV. 2004-04-07 14:23:32 +00:00
Bruce Momjian
6a25c6e1d1 > >>1. change the type of "log_statement" option from boolean to string,
> >>with allowed values of "all, mod, ddl, none" with default "none".

OK, here is a patch that implements #1.  Here is sample output:

        test=> set client_min_messages = 'log';
        SET
        test=> set log_statement = 'mod';
        SET
        test=> select 1;
         ?column?
        ----------
                1
        (1 row)

        test=> update test set x=1;
        LOG:  statement: update test set x=1;
        ERROR:  relation "test" does not exist
        test=> update test set x=1;
        LOG:  statement: update test set x=1;
        ERROR:  relation "test" does not exist
        test=> copy test from '/tmp/x';
        LOG:  statement: copy test from '/tmp/x';
        ERROR:  relation "test" does not exist
        test=> copy test to  '/tmp/x';
        ERROR:  relation "test" does not exist
        test=> prepare xx as select 1;
        PREPARE
        test=> prepare xx as update x set y=1;
        LOG:  statement: prepare xx as update x set y=1;
        ERROR:  relation "x" does not exist
        test=> explain analyze select 1;;
                                             QUERY PLAN
        ------------------------------------------------------------------------------------
         Result  (cost=0.00..0.01 rows=1 width=0) (actual time=0.006..0.007 rows=1 loops=1)
         Total runtime: 0.046 ms
        (2 rows)

        test=> explain analyze update test set x=1;
        LOG:  statement: explain analyze update test set x=1;
        ERROR:  relation "test" does not exist
        test=> explain update test set x=1;
        ERROR:  relation "test" does not exist

It checks PREPARE and EXECUTE ANALYZE too.  The log_statement values are
'none', 'mod', 'ddl', and 'all'.  For 'all', it prints before the query
is parsed, and for ddl/mod, it does it right after parsing using the
node tag (or command tag for CREATE/ALTER/DROP), so any non-parse errors
will print after the log line.
2004-04-07 05:05:50 +00:00
Bruce Momjian
6165bbab8c Remove 'syslog' GUC variable, and add more logical 'log_destination'
variable to control logoutput location on Unix and Win32.

Magnus Hagander
2004-04-05 03:02:11 +00:00
Tom Lane
375369acd1 Replace TupleTableSlot convention for whole-row variables and function
results with tuples as ordinary varlena Datums.  This commit does not
in itself do much for us, except eliminate the horrid memory leak
associated with evaluation of whole-row variables.  However, it lays the
groundwork for allowing composite types as table columns, and perhaps
some other useful features as well.  Per my proposal of a few days ago.
2004-04-01 21:28:47 +00:00
Bruce Momjian
076055ed10 Add description of log_statement_stats's function (total statement stats
rather than per-stage stats).
2004-03-31 19:59:22 +00:00
Bruce Momjian
a302b8e150 Back out tutorial changes:
---------------------------------------------------------------------------

1.  In keeping with the recent discussion that there should be more
said about views, stored procedures, and triggers, in the tutorial, I
have added a bit of verbiage to that end.

2.  Some formatting changes to the datetime discussion, as well as
addition of a citation of a relevant book on calendars.

Christopher Browne
2004-03-31 16:20:53 +00:00
Bruce Momjian
7d15b90e5b Add psql backslash command discussion. 2004-03-31 01:05:54 +00:00
Bruce Momjian
b5db560c7a Add:
* Move psql backslash database information into the backend, use
nmumonic commands? [psql]
2004-03-31 01:04:49 +00:00
Bruce Momjian
07ff3afa2a Remove:
* Prevent unneeded quoting in psql \d output using fmtId()
2004-03-31 01:01:38 +00:00
Bruce Momjian
7b43450931 Fix markup errors from recent patch. 2004-03-30 22:08:50 +00:00
Bruce Momjian
aaad011940 1. In keeping with the recent discussion that there should be more
said about views, stored procedures, and triggers, in the tutorial, I
have added a bit of verbiage to that end.

2.  Some formatting changes to the datetime discussion, as well as
addition of a citation of a relevant book on calendars.

Christopher Browne
2004-03-30 21:58:20 +00:00
Bruce Momjian
cf9c2be7e8 Add:
> * Add GUC variable to allow output of interval values in ISO8601 format
2004-03-30 21:51:41 +00:00
Bruce Momjian
45edc20283 Add mention of how to use \df to find functions using/returning specific
data types.
2004-03-30 15:54:33 +00:00
Bruce Momjian
fd071bd478 Fix to_char for 1 BC. Previously it returned 1 AD.
Fix to_char(year) for BC dates.  Previously it returned one less than
the current year.

Add documentation mentioning that there is no 0 AD.
2004-03-30 15:53:18 +00:00
Bruce Momjian
80683f2a07 Update FAQ from Robert Treat 2004-03-29 05:07:20 +00:00
Neil Conway
1090aa8cc7 More cross-reference work, other minor SGML fixes and improvements. 2004-03-26 03:18:28 +00:00
Tom Lane
7a944e41b4 Convert some GUC variable references to links. 2004-03-25 18:57:57 +00:00
Tom Lane
8899a2aba9 Replace max_expr_depth parameter with a max_stack_depth parameter that
is measured in kilobytes and checked against actual physical execution
stack depth, as per my proposal of 30-Dec.  This gives us a fairly
bulletproof defense against crashing due to runaway recursive functions.
2004-03-24 22:40:29 +00:00
Bruce Momjian
a09b9a36d3 Add:
* Have pg_dump use multi-statement transactions for INSERT dumps
2004-03-24 18:15:56 +00:00
Neil Conway
ce5273757b Make a cross-reference in the ALTER TABLE ref page into a <xref>. 2004-03-24 09:49:20 +00:00
Neil Conway
d6bc5944a0 Fix a minor typo in the log_line_prefix docs and make a couple other
tiny improvements.
2004-03-24 03:48:41 +00:00
Bruce Momjian
6daf396879 Add thread locking to SSL and Kerberos connections.
I have removed the docs mentioning that SSL and Kerberos are not
thread-safe.

Manfred Spraul
2004-03-24 03:45:00 +00:00
Bruce Momjian
fcfa2c790a Document fallback to tcp/ip localhost connection from psql on ports
without unix domain sockets (win32).
2004-03-24 03:27:46 +00:00
Tom Lane
1c4da387ad PQresult should be PGresult. 2004-03-23 23:37:17 +00:00
Tom Lane
8ed89773c5 Fix small typo. 2004-03-23 22:57:09 +00:00
Tom Lane
121cf2b904 Repair misleading description of MOVE's command tag result. 2004-03-23 22:39:22 +00:00
Tom Lane
f862c42009 Use dollar-quoting for function bodies, unless disabled with
--disable-dollar-quoting.

Andrew Dunstan
2004-03-23 22:06:08 +00:00
Tom Lane
24614a9880 Upgrade ALTER TABLE DROP COLUMN so that it can drop an OID column, and
remove separate implementation of ALTER TABLE SET WITHOUT OIDS in favor
of doing a regular DROP.  Also, cause CREATE TABLE to account completely
correctly for the inheritance status of the OID column.  This fixes
problems with dropping OID columns that have dependencies, as noted by
Christopher Kings-Lynne, as well as making sure that you can't drop an
OID column that was inherited from a parent.
2004-03-23 19:35:17 +00:00
Neil Conway
446b5476e5 Minor SGML improvements. 2004-03-23 13:21:41 +00:00
Neil Conway
9f894981da Fix typo in postmaster reference page: from Tom. 2004-03-23 06:09:00 +00:00
Neil Conway
fd4f3b3b62 Improve the locale and character set docs, add some <xref>s pointing
to the character set docs where appropriate, and improve the postmaster
reference page. Character set cross-refs suggested by Gavin Kistner.
2004-03-23 02:47:35 +00:00
Tom Lane
2e45c143ef Replace the virtual_host and tcpip_socket parameters with a unified
listen_addresses parameter, as per recent discussion.  The default behavior
is now to listen on localhost, which eliminates the need for the -i
postmaster switch in many scenarios.

Andrew Dunstan
2004-03-23 01:23:48 +00:00
Tom Lane
3b7ca96c2c Clean up rather poor description of the difference between INHERITS and
LIKE.  Per gripe from Patrick Samson.
2004-03-22 16:18:50 +00:00
Bruce Momjian
3ceda5eab3 I just noticed that \dp outputs "Table" to indicate relations (tables,
sequences and views).  This patch allows it to handle views and
sequences.

Euler Taveira de Oliveira
2004-03-22 03:38:24 +00:00
Tom Lane
f938c2b91b Revise syntax-error reporting behavior to give pleasant results for
errors in internally-generated queries, such as those submitted by
plpgsql functions.  Per recent discussions with Fabien Coelho.
2004-03-21 22:29:11 +00:00
Tom Lane
6c7e6d2baa Add a usage example for has_function_privilege(). 2004-03-19 19:13:26 +00:00
Bruce Momjian
3700335baf Done:
> * -Order duplicate index entries on creation by tid for faster heap lookups
2004-03-17 22:30:10 +00:00
Bruce Momjian
8c702ea7ac Modify:
< * Order duplicate index entries by tid for faster heap lookups
> * Order duplicate index entries on creation by tid for faster heap lookups
2004-03-17 17:40:44 +00:00
Bruce Momjian
d245b6bd9f Document SPI_push() and SPI_pop(). 2004-03-17 01:05:10 +00:00
Bruce Momjian
2c7e473434 Add:
> * Allow pg_dumpall to use non-text output formats
>
2004-03-16 16:13:38 +00:00
Bruce Momjian
e2d8c1b2bb log_statement was not removed by the previous patch. It only updated
its description.
2004-03-15 17:57:51 +00:00
Bruce Momjian
221c0adaa8 Update random regression test text to be clearer. 2004-03-15 16:11:42 +00:00
Bruce Momjian
48c9fbd35c Update random test description because it fails less frequently now. 2004-03-15 16:06:43 +00:00
Bruce Momjian
d6b57925ca Remove GUC log_statement, log_pid, log_timestamp, log_source_port.
Functionality superceeded by log_line_prefix.

Andrew Dunstan
2004-03-15 15:56:28 +00:00
Bruce Momjian
98bb1d2085 Fix typo. 2004-03-15 14:21:30 +00:00
Bruce Momjian
10afaf472a Mention Linux syslog will sync lines to disk, and describe how to
disable it.
2004-03-15 14:15:45 +00:00
Bruce Momjian
afaf252cee Done:
> * -Issue NOTICE if foreign key data requires costly test to match primary key
2004-03-13 23:17:39 +00:00
Bruce Momjian
e3d6ee6c28 Update FAQ with current release version. 2004-03-12 13:51:57 +00:00
Bruce Momjian
fab1a5950b Update Russian FAQ, Viktor Vislobokov 2004-03-12 13:51:33 +00:00
Neil Conway
be7976d5a2 Fix a typo in the documentation for geqo_effort. 2004-03-12 00:56:00 +00:00
Neil Conway
fe9c4420e4 Improve documentation for the newly-added NOWAIT clause of LOCK TABLE. 2004-03-12 00:52:23 +00:00
Neil Conway
bfd6f52b0e Allow 'Infinity' and '-Infinity' as input to the float4 and float8
types. Update the regression tests and the documentation to reflect
this. Remove the UNSAFE_FLOATS #ifdef.

This is only half the story: we still unconditionally reject
floating point operations that result in +/- infinity. See
recent thread on -hackers for more information.
2004-03-12 00:25:43 +00:00
Bruce Momjian
0f8c4bc4a2 Document the SSL and Kerberos are not thread-safe. 2004-03-11 02:39:10 +00:00
Tatsuo Ishii
0b86ade1c2 Add NOWAIT option to LOCK command 2004-03-11 01:47:41 +00:00
Neil Conway
ae22a6c185 Fix a typo. 2004-03-10 20:10:26 +00:00
Neil Conway
f28d5614ce Tweak some text to avoid using <command>SET</command> as a verb, per
suggestion from Peter E.
2004-03-09 23:15:47 +00:00
Bruce Momjian
832e6df893 Remove blank line in Makefile. 2004-03-09 20:10:10 +00:00
Bruce Momjian
66cb7e2e99 Add HISTORY/INSTALL clean target to 7.4.X. 2004-03-09 20:08:10 +00:00
Neil Conway
47110ace3a Add documentation for the recent 'ALSO' patch for CREATE RULE. Along
the way, fix a typo and make a few SGML cleanups.
2004-03-09 19:30:21 +00:00
Neil Conway
80ec228389 Refer to GUC variables using <xref> tags rather than <varname> tags,
where appropriate. Add "id" and "xreflabel" tags to the descriptions
of the GUC variables to facilitate this. Also make a few minor docs
cleanups.
2004-03-09 16:57:47 +00:00
Bruce Momjian
943eae92fb Add ALSO keyword to CREATE RULE.
Fabien COELHO
2004-03-09 05:05:41 +00:00
Bruce Momjian
96ef6682e3 Done:
> * -Allow log lines to include session-level information, like database and user
2004-03-09 04:45:48 +00:00
Bruce Momjian
2d3fe86bc4 Add:
#log_line_prefix = ''         # e.g. '<%u%%%d> '
                              # %u=user name %d=database name
                              # %r=remote host and port
                              # %p=PID %t=timestamp %i=command tag
                              # %c=session id %l=session line number
                              # %s=session start timestamp
                              # %x=stop here in non-session processes
                              # %%='%'

Andrew Dunstan
2004-03-09 04:43:07 +00:00
Bruce Momjian
e0bed412a2 Have SGML make clean remove text files output as well 2004-03-08 23:59:23 +00:00
Bruce Momjian
fb5eb6ac87 Update German FAQ.
Ian Barwick
2004-03-08 17:38:31 +00:00
Tom Lane
0bdce30f6b Some editorial work on 7.4.2 release notes. 2004-03-07 22:07:56 +00:00
Michael Meskes
9e5a091f02 Added multidimensional arrays as todo for ecpg. 2004-03-07 14:35:47 +00:00
Neil Conway
5ae38167cf Improve discussion of using OIDs for identifying rows, fix an instance of
incorrect SGML markup.
2004-03-07 04:31:01 +00:00
Neil Conway
cb659ecb40 Explicitely mention that some GUC variables cannot be changed at
runtime.
2004-03-07 01:02:55 +00:00
Neil Conway
ab8faed00d Editorialization of some text discussing 'IS NULL' vs. '= NULL'. 2004-03-07 01:01:44 +00:00
Bruce Momjian
565b4f2de5 Use lynx -stdin and regenerate HISTORY 2004-03-06 02:52:46 +00:00
Tom Lane
96c229dd7a Improve documentation of virtual_host parameter: old text failed to
indicate that you could specify multiple listen addresses.
2004-03-05 23:16:17 +00:00
Bruce Momjian
ff47b8518e First update of release notes for 7.4.2. Still needs work. 2004-03-05 19:51:56 +00:00
Bruce Momjian
39042637dd Oops, '-' doesn't work for my lynx either.
Change back to /dev/stdin, even though it isn't portable.  Let's wait for
someone to complain they don't have /dev/stdin.
2004-03-05 19:50:55 +00:00
Bruce Momjian
8fc7522cad Use '-' for stdin on lynx, my lynx version doesn't support -stdin. 2004-03-05 19:48:03 +00:00
Bruce Momjian
aef037723f Update Polish FAQ, from Marcin Mazurek. 2004-03-05 19:29:23 +00:00
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
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
Bruce Momjian
bf2a591ffc Done:
> * -Have psql \dn show only visible temp schemas using current_schemas()
2004-01-06 20:01:13 +00:00
Neil Conway
bc028beb16 Make the 'wal_debug' GUC variable a boolean (rather than an integer), and
hide it behind #ifdef WAL_DEBUG blocks.
2004-01-06 17:26:23 +00:00
Neil Conway
71998c1e51 Remove an old and out-of-date SGML comment from this file: we already
have WAL, outer joins, and TOAST.
2004-01-05 20:39:23 +00:00
Neil Conway
af7a21cb99 Fix (yet another) instance of incorrect markup for a GUC variable. 2004-01-05 20:37:51 +00:00
Bruce Momjian
bf488a6842 Update for 7.4.1 as newest version. 2004-01-05 00:54:24 +00:00
Peter Eisentraut
a7b30b9c48 Correct gettext URL. 2004-01-04 16:43:52 +00:00
Tom Lane
5e54515167 Recommend SHOW, instead of pg_controldata, for checking LC_COLLATE and
LC_CTYPE settings of a database.
2003-12-30 23:36:19 +00:00
Tom Lane
debeb47c92 Be a little more consistent about which terms are uppercased in
index entries.
2003-12-26 21:30:48 +00:00
Michael Meskes
99827af7e0 Fixed docs to clearly note that ecpg is originally a C precompiler and C++ stuff is not 100%. 2003-12-26 20:00:00 +00:00
Bruce Momjian
1c757c49fa > > I have no idea if this in Oracle or not. But it's something I
> > needed, and other people in the past asked about it too.
>
> It is in Oracle, but you aren't exactly on the spot.  It should be
>
> IYYY - 4 digits  ('2003')
> IYY  - 3 digits  ('003')
> IY   - 2 digits  ('03')
> I    - 1 digit   ('3')

Here is an updated patch that does that.

Kurt Roeckx
2003-12-25 03:36:24 +00:00
Bruce Momjian
a922472a2a Supress non-temp schemas from psql \dn display. 2003-12-23 23:13:14 +00:00
Tom Lane
9adaf64da3 Mop-up for HAS_TEST_AND_SET refactoring. Un-break two or three platforms
that were broken, try to make layout of s_lock.h entries consistent,
use HAVE_SPINLOCKS in preference to HAS_TEST_AND_SET everywhere outside
s_lock.h itself.
2003-12-23 18:13:17 +00:00
Bruce Momjian
86d34e4123 Clarification:
< * Have psql \dn show only visible schemas using current_schemas()
> * Have psql \dn show only visible temp schemas using current_schemas()
2003-12-22 16:30:27 +00:00
Tom Lane
5015cf01eb Fix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch. 2003-12-21 18:06:15 +00:00
Bruce Momjian
550d347811 Update 7.4.1 release notes in preparation for release. 2003-12-21 05:23:36 +00:00
Bruce Momjian
0ea4f9c859 Back out:
>  Attached is a patch that addressed all the discussed issues
>  that did not break backward compatability, including the
>  ability to output ISO-8601 compliant intervals by setting
>  datestyle to iso8601basic.
2003-12-21 04:34:36 +00:00
Bruce Momjian
1ee0ddf91d Another markup fix for recent patch. 2003-12-20 16:06:54 +00:00
Bruce Momjian
4e005c9095 Fix broken markup. 2003-12-20 15:59:25 +00:00
Bruce Momjian
54c8e821b8 In my mind there were two categories of open issues
a) ones that are 100% backward (such as the comment about
     outputting this format)
and
  b) ones that aren't (such as deprecating the current
     postgresql shorthand of
         '1Y1M'::interval = 1 year 1 minute
     in favor of the ISO-8601
         'P1Y1M'::interval = 1 year 1 month.

Attached is a patch that addressed all the discussed issues that
did not break backward compatability, including the ability to
output ISO-8601 compliant intervals by setting datestyle to
iso8601basic.

Interval values can now be written as  ISO 8601 time intervals, using
the "Format with time-unit designators". This format always starts with
the character 'P', followed  by a string of values followed
by single character time-unit designators. A 'T' separates the date and
time parts of the interval.

Ron Mayer
2003-12-20 15:32:55 +00:00
Peter Eisentraut
cb95ec2f7a 7.4.1 release note improvements 2003-12-19 20:06:20 +00:00
Bruce Momjian
e9aec81792 Please find enclosed a patch exemplifying typical use of the ARE
Class-Shorthand Escapes<C2><AE>.  I believe it will help intrepid regex
users. :)

David Fetter
2003-12-18 03:59:07 +00:00
Bruce Momjian
0d5fce355b Restore information schema upgrade instructions of Peter. 2003-12-17 07:07:00 +00:00
Peter Eisentraut
4b1a35b3c2 Add example for converting epoch back to timestamp. 2003-12-16 15:27:58 +00:00
Peter Eisentraut
f57832f646 Repair name. 2003-12-16 09:47:55 +00:00
Bruce Momjian
3bc199cd6c Add mention of non-standard extension:
< 	o Make SET CONNECTION thread-aware
> 	o Make SET CONNECTION thread-aware, non-standard?
2003-12-16 01:35:40 +00:00
Bruce Momjian
028c41e29b Add for ecpg:
> 	o Make SET CONNECTION thread-aware
2003-12-16 01:08:40 +00:00
Bruce Momjian
39d66b5494 Mention ecpg SET CONNECTION is not thread-aware. 2003-12-16 01:06:39 +00:00
Peter Eisentraut
a6dbd64947 Override some of the changes in DocBook DSSSL stylesheets 1.78 to restore
previous behavior of <literal>, <envar>, <acronym>, and others.
2003-12-15 23:58:12 +00:00
Bruce Momjian
34cb0f7b46 Update HISTORY and release notes for 7.4.1. 2003-12-15 22:24:59 +00:00
Neil Conway
6efdd4186c Fix two typos in the documentation for PREPARE. 2003-12-14 00:55:46 +00:00
Neil Conway
81e9455150 This patch fixes a few more uppercase GUC vars. I also removed an
example from the RESET reference page because it seemed completely
redundant.
2003-12-14 00:15:03 +00:00
Neil Conway
0b52062265 This patch makes some improvements and adds some additional detail
to the documentation on routine database maintainence activities.
I also corrected a bunch of SGML markup.
2003-12-14 00:10:32 +00:00
Neil Conway
e24018728c This patch makes some SGML markup more consistent and makes a small
improvement to the SSL auth docs.
2003-12-14 00:05:29 +00:00
Neil Conway
7fb5a9992c This patch makes some SGML markup more consistent and makes a small
improvement to the SSL auth docs.
2003-12-13 23:59:07 +00:00
Bruce Momjian
62f92ff32d SGML doc build instructions --- no more DTDDECL, fix double dash in path name. 2003-12-13 20:09:15 +00:00
Bruce Momjian
306a779671 Add fadvise TODO.detail. 2003-12-13 20:02:16 +00:00
Bruce Momjian
664be84a63 Update TODO.detail syntax:
< * Add free-behind capability for large sequential scans (fadvise)
> * Add free-behind capability for large sequential scans [fadvise]
2003-12-13 20:02:01 +00:00
Bruce Momjian
9878fe2ae5 Add Czech language FAQ's
Pavel Stehule
2003-12-13 16:56:00 +00:00
Peter Eisentraut
42610b1b8a Fix for vpath build 2003-12-11 22:10:51 +00:00
Peter Eisentraut
d87e109b88 Make some wording consistent with DROP OPERATOR description. 2003-12-11 20:13:53 +00:00
Peter Eisentraut
60425f39c3 Fix instructions how to shut down postmaster. 2003-12-11 19:56:54 +00:00
Bruce Momjian
de097903ad Done:
< * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT | LANGUAGE ]
> * -COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT | LANGUAGE ]
263c263
< * Allow pg_dump to dump CREATE CONVERSION (Christopher)
> * -Allow pg_dump to dump CREATE CONVERSION (Christopher)
2003-12-08 13:04:14 +00:00
Bruce Momjian
f8495a6b63 Done:
> * -Use dependency information to dump data in proper order
2003-12-07 00:54:05 +00:00
Joe Conway
f0943278c1 Documentation update for previously committed changes: read-only GUC variables
and pg_settings view.
2003-12-06 23:10:23 +00:00
Tom Lane
005a1217fb Massive overhaul of pg_dump: make use of dependency information from
pg_depend to determine a safe dump order.  Defaults and check constraints
can be emitted either as part of a table or domain definition, or
separately if that's needed to break a dependency loop.  Lots of old
half-baked code for controlling dump order removed.
2003-12-06 03:00:16 +00:00
Peter Eisentraut
59b1a23028 Markup improvements 2003-12-04 21:24:56 +00:00
Tom Lane
0fd336c61d Update release notes for 7.3.5. 2003-12-02 16:14:12 +00:00
Tom Lane
145d9fa46c Code and docs review for numeric-factorial patch. 2003-12-02 00:26:59 +00:00
Bruce Momjian
8f61184db7 Hi, this doco patch is a quick one to add explicit mention of the need
for the AT clause in threaded ECPG applications.

Philip Yarra
2003-12-01 22:36:40 +00:00
Bruce Momjian
9be15f4d52 Update for patches applied:
< * Change factorial to return a numeric
> * -Change factorial to return a numeric (Gavin)
258c258
< * Allow psql \du to show groups, and add \dg for groups
> * -Allow psql \du to show groups, and add \dg for groups
2003-12-01 22:22:44 +00:00
Bruce Momjian
8bb60b6423 attached is a patch that adds display of the groups a user belongs to to
\du and a \dg command to psql. It's against 7.4beta5.

Markus Bertheau <twanger@bluetwanger.de>
2003-12-01 22:21:54 +00:00
Bruce Momjian
7ce9b7c0d8 This patch adds a new GUC var, "default_with_oids", which follows the
proposal for eventually deprecating OIDs on user tables that I posted
earlier to pgsql-hackers. pg_dump now always specifies WITH OIDS or
WITHOUT OIDS when dumping a table. The documentation has been updated.

Neil Conway
2003-12-01 22:08:02 +00:00
Bruce Momjian
e2ac58c7bd Remove mention of factorial as casting example. New example needed. 2003-12-01 21:53:15 +00:00
Tom Lane
af03663878 Minor wordsmithing in datetime docs to try to address gripes raised by
cnliou.
2003-12-01 20:34:53 +00:00
Tom Lane
3e5da0a8da Fix typos noted by Halley Pacheco de Oliveira. 2003-12-01 17:58:27 +00:00
Joe Conway
b8f40ced2f Make PQescapeBytea and byteaout consistent with each other, and
octal escape all octets outside the range 0x20 to 0x7e. This fixes
the problem pointed out by Sergey Yatskevich here:
http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php
2003-11-30 20:55:09 +00:00
Bruce Momjian
32abf0e781 Bump all version numbers and version stamps mentioned in RELEASE_CHANGES. 2003-11-30 06:09:54 +00:00
Bruce Momjian
09ab9b5915 Remove INTO recommendation for plpgsql language. 2003-11-30 05:45:22 +00:00
Bruce Momjian
744ea255b0 Add:
> * Have pg_ctl look at PGHOST in case it is a socket directory
2003-11-30 05:29:26 +00:00
Bruce Momjian
24a1a6a5d9 Fix URL. 2003-11-30 04:56:47 +00:00
Bruce Momjian
db032b2719 *** empty log message *** 2003-11-30 04:54:07 +00:00
Bruce Momjian
1a7c373d18 There is an unused variable in an example function in the PL/PgSQL
documentation; this patch removes it.

Neil Conway
2003-11-30 04:47:37 +00:00
Bruce Momjian
035fbb6491 Add:
> * Make LENGTH() of CHAR() not count trailing spaces
>
2003-11-30 04:44:38 +00:00
Bruce Momjian
9fd239bcb4 Remove win32-only mention for pgadmin. 2003-11-30 04:35:53 +00:00
Bruce Momjian
a6fd22a57a *** empty log message *** 2003-11-30 04:34:14 +00:00
Bruce Momjian
9d4e426626 Update wording:
< * Allow clients to query WITH HOLD cursors and prepared statements
> * Allow clients to query a list of WITH HOLD cursors and prepared statements
2003-11-30 04:07:04 +00:00
Bruce Momjian
73a51c3993 Updates:
<   manuals (Rory)
>   manuals
496c496
< * Jan is Jan Wieck <JanWieck@Yahoo.com> of PeerDirect Corp.
> * Jan is Jan Wieck <JanWieck@Yahoo.com> of Afilias, Inc.
2003-11-30 03:41:10 +00:00
PostgreSQL Daemon
55b113257c make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
PostgreSQL Daemon
969685ad44 $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
Bruce Momjian
5495e607d0 Attached is a patch to correct white space issues in FAQ_MSWIN.
Daniel Convissor
2003-11-28 20:22:18 +00:00
Bruce Momjian
d5f6cfc72e Update Russian FAQ, both branches.
Viktor Vislobokov
2003-11-28 20:20:33 +00:00
Bruce Momjian
3c0ddc5845 Update most recent version to 7.4. 2003-11-28 20:09:30 +00:00
Peter Eisentraut
dd01cfe1c4 Remove possibility to specify an installation root after --with-krbx and
--with-openssl options.  This creates too much risk to pick up the wrong
directory accidentally (for example when there are lib64 directories), and
does not really help much with contemporary installation layouts.
2003-11-27 19:44:56 +00:00
Peter Eisentraut
185430aef9 Add NetBSD Sparc as supported. 2003-11-26 15:56:48 +00:00
Peter Eisentraut
38ba28e5c1 Fix language. 2003-11-25 19:27:18 +00:00
Peter Eisentraut
cf87eb4726 Upgrade to DocBook V4.2 SGML. 2003-11-24 19:08:02 +00:00
Peter Eisentraut
e7cc995a98 Fix markup. 2003-11-24 16:56:00 +00:00
Peter Eisentraut
b3d72d3ec5 Use --with-docdir to choose installation location of documentation; put
back --infodir, which several automatic build environments expect to exist.
Add --without-docdir to prevent installation of documentation, which is
helpful for things like RPM that have their own method of installing
documentation.
2003-11-24 14:52:58 +00:00
Tom Lane
c52204b224 Repair missed renamings of show_statement_stats and show_executor_stats. 2003-11-24 14:49:51 +00:00
Tom Lane
42ce74bf17 COMMENT ON casts, conversions, languages, operator classes, and
large objects.  Dump all these in pg_dump; also add code to pg_dump
user-defined conversions.  Make psql's large object code rely on
the backend for inserting/deleting LOB comments, instead of trying to
hack pg_description directly.  Documentation and regression tests added.

Christopher Kings-Lynne, code reviewed by Tom
2003-11-21 22:32:49 +00:00
Bruce Momjian
5b2cbc88bc Mark item as done, update description for 7.5:
< A dash (-) marks changes that will appear in the upcoming 7.4 release.
> A dash (-) marks changes that will appear in the upcoming 7.5 release.
437c437
< * Use background process to write dirty shared buffers to disk
> * -Use background process to write dirty shared buffers to disk
2003-11-19 17:35:40 +00:00
Bruce Momjian
0b0f9c62e8 Remove items completed in 7.4:
< * -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
40d35
< * -Add GUC log_statement_and_duration to print statement and >= min duration
51d45
< * -Allow easy display of usernames in a group
53d46
< * -Add start time to pg_stat_activity
55d47
< * -Have standalone backend read postgresql.conf (Tom)
59d50
< * -Allow CIDR format to be used in pg_hba.conf
74d64
< * -Add IPv6 capability to INET/CIDR types
77d66
< * -Change NUMERIC data type to use base 10,000 internally
82d70
< * -Add GUC variables to control floating number output digits (Pedro Ferreira)
90,92d77
< * -Allow current datestyle to restrict dates;  prevent month/day swapping
<   from making invalid dates valid
< * -Prevent month/day swapping of ISO dates to make invalid dates valid
102d86
< 	o -Allow arrays to be ORDER'ed
104d87
< 	o -Support construction of array result values in expressions (Joe)
128d110
< * -Remove Cyrillic recode support
146,147d127
< * -Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)
<   fails index can't store constant parameters
155d134
< * -Add btree index support for reltime, tinterval, regproc (Tom)
157d135
< * -Certain indexes will not shrink, e.g. indexes on ever-increasing
161d138
< * -Allow LIKE indexing optimization for non-ASCII locales using special index
173d149
< * -Improve concurrency of hash indexes (Tom)
181d156
< * -Allow LIMIT/OFFSET to use expressions (Tom)
187d161
< * -Return proper effected tuple count from complex commands [return]
191d164
< * -Make a transaction-safe TRUNCATE (Rod)
196,197d168
< * -Allow UPDATE to use SET col = DEFAULT
< * -Add config variable to prevent auto-adding missing FROM-clause tables
199d169
< * -Have SELECT '13 minutes'::interval display zero seconds in ISO datestyle
224,225d193
< 	o -Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
< 	o -Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values
237d204
< 	o -Allow CLUSTER to cluster all tables (Alvaro Herrera)
248d214
< 	o -MOVE 0 should not move to end of cursor (Bruce)
252d217
< 	o -Allow cursors outside transactions
264,265d228
< 	o -Allow EXPLAIN EXECUTE to see prepared plans
<  	o -Allow SHOW of some non-modifiable variables, like pg_controldata
280d242
< 	o -Allow array declarations and other data types in PL/PgSQL DECLARE
282,283d243
< 	o -Make PL/PgSQL %TYPE schema-aware
< 	o -Allow PL/PgSQL to support array element assignment (Joe)
294,298d253
< * -Allow psql to show transaction status if backend protocol changes made
< * -Add schema, cast, and conversion backslash commands to psql (Christopher)
< * -Allow pg_dump to dump a specific schema (Neil Conway)
< * -Allow psql to do table completion for SELECT * FROM schema_part and
<   table completion for SELECT * FROM schema_name.
300,302d254
< * -Allow SSL-enabled clients to turn off SSL transfers
< * -Modify pg_get_triggerdef() to take a boolean to pretty-print,
<   and use that as part of pg_dump along with psql
327d278
< 	o -Add SQLSTATE
330d280
< 	o -Make casts work in variable initializations
334,336d283
< 	o -Allow multi-threaded use of SQLCA
< 	o -Understand structure definitions outside a declare section
< 	o -Allow :var[:index] or :var[<integer>] as cvariable for an array var
356d302
< * -Support statement-level triggers (Neil)
460,461d405
< * -Add checkpoint_min_warning postgresql.conf option to warn about checkpoints
<   that are too frequent (Bruce)
472,476d415
< * -Improve Subplan list handling
< * -Allow Subplans to use efficient joins(hash, merge) with upper variable
< * -Add hash for evaluating GROUP BY aggregates (Tom)
< * -Allow merge and hash joins on expressions not just simple variables (Tom)
< * -Make IN/NOT IN have similar performance to EXISTS/NOT EXISTS (Tom)
480d418
< * -Inline simple SQL functions to avoid overhead (Tom)
495d432
< * -Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>
511,512d447
< * -Modify regression tests to prevent failures do to minor numeric rounding
< * -Add OpenBSD's getpeereid() call for local socket authentication
537,542d471
< 	o -Show transaction status in psql
< 	o -Allow binding of query parameters, support for prepared queries
< 	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 -Error codes
544d472
< 	o -Special passing of binary values in platform-neutral format (bytea?)
547d474
< 	o -Report server version number, database encoding, client encoding
2003-11-19 17:34:01 +00:00
Bruce Momjian
022da0ed7a SERIAL no longer creates an index by default, as of 7.3. 2003-11-19 16:50:48 +00:00
Bruce Momjian
6a04c571d4 Change "IN/NOT IN" to "IN / NOT IN" for clarity, both branches. 2003-11-17 04:50:56 +00:00
Bruce Momjian
1acc65787a Add:
> * Add GUC setting to make created tables default to WITHOUT OIDS
2003-11-17 02:05:26 +00:00
Bruce Momjian
572446b518 Fix double dash:
< 	o --Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
> 	o -Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
2003-11-17 02:01:56 +00:00
Tom Lane
1a908a00b0 Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes,
which had been unintentionally broken by recent changes to tighten up the
DateStyle rules for all-numeric date input.  Add documentation and
regression tests for this, too.
2003-11-16 20:29:16 +00:00
Tom Lane
9ad53b0463 Sync HEAD with update committed only in 7.4 branch. 2003-11-16 17:16:47 +00:00
Tom Lane
02cd2b96ac Another try at fixing the Linux overcommit docs, per Andrew Dunstan. 2003-11-16 17:01:50 +00:00
Bruce Momjian
658b58dc16 pgadmin III released. 2003-11-16 04:41:12 +00:00
Tom Lane
edc213515b Update info about SysV configuration procedures on OS X 10.3. 2003-11-16 03:58:10 +00:00
Tom Lane
ffce57de40 Some editorializing on the Linux memory overcommit docs, from Neil Conway. 2003-11-16 03:38:34 +00:00
Tom Lane
51eba617b2 More release-notes copy editing, from Neil Conway. 2003-11-16 03:23:48 +00:00
Tom Lane
3e9a86a38d A little bit more copy-editing... 2003-11-15 20:01:11 +00:00
Tom Lane
c76037aa50 Minor wording improvement suggested by a comment in the interactive docs. 2003-11-15 19:46:31 +00:00
Peter Eisentraut
472d9726dd Correct names of people with funny characters. 2003-11-15 01:16:37 +00:00
Tom Lane
db15b9b6cf Repair error in syntax documentation for CREATE TABLE: one does not put
a comma between multiple column_constraint's for a single column.
Per report from Tomislaw Kitynski.
2003-11-14 22:56:11 +00:00
Bruce Momjian
959c0f7fb7 Add release date for 7.4. 2003-11-14 17:47:04 +00:00
Tom Lane
c38ff52693 Fix misstatement about the required value of SEMVMX. Given our current
usage of PGSemaMagic, the minimum required value is actually 537, but
say 1000 just to use a round number.  255 is *not* good enough.
2003-11-14 15:43:22 +00:00
Bruce Momjian
f655460927 Update bug template to 7.4 --- that was the only one missing. 2003-11-14 03:30:54 +00:00
Peter Eisentraut
c4e3cff48c Beat some sense into the release notes. 2003-11-14 02:06:42 +00:00
Peter Eisentraut
e873207fdd Add final port reports. 2003-11-13 18:01:45 +00:00
Bruce Momjian
74cbe6352d Update MSWIN FAQ
Christopher Kings-Lynne
2003-11-13 03:53:00 +00:00
Bruce Momjian
e82511855a Add to Win32 discussion. 2003-11-13 03:45:33 +00:00
Peter Eisentraut
934c21344c Documentation cleanup 2003-11-12 22:47:47 +00:00
Tom Lane
fa5c8a055a Cross-data-type comparisons are now indexable by btrees, pursuant to my
pghackers proposal of 8-Nov.  All the existing cross-type comparison
operators (int2/int4/int8 and float4/float8) have appropriate support.
The original proposal of storing the right-hand-side datatype as part of
the primary key for pg_amop and pg_amproc got modified a bit in the event;
it is easier to store zero as the 'default' case and only store a nonzero
when the operator is actually cross-type.  Along the way, remove the
long-since-defunct bigbox_ops operator class.
2003-11-12 21:15:59 +00:00
Bruce Momjian
49f98fa833 Here's some improvements. I just ended up referring people to Jason's
website for install as service, because it's a quite a long and complex
process.

Christopher Kings-Lynne
2003-11-12 04:14:30 +00:00
Bruce Momjian
ab6295f204 Add:
> * Ignore temporary tables from other session when processing inheritance
2003-11-12 04:10:43 +00:00
Bruce Momjian
4bcd3b42b9 Here's a patch that adds some text mentioning that
RESTRICT is not deferrable to the create table reference
page.

Stephan Szabo
2003-11-12 04:08:07 +00:00
Bruce Momjian
973e625b3e Update:
> * Add free-behind capability for large sequential scans (fadvise)
2003-11-12 00:25:35 +00:00
Bruce Momjian
5e8a8865e7 Update freenode mention. 2003-11-10 22:47:35 +00:00
Bruce Momjian
f41ecc6d69 Update release notes for polymorphic functions. 2003-11-10 22:27:00 +00:00
Bruce Momjian
79f8f5fc0d Update IRC to mention freenet instead of openprojects. 2003-11-10 21:56:08 +00:00
Bruce Momjian
723825afeb Add:
> * Have psql '\i ~/<tab><tab>' actually load files it displays from home dir
2003-11-09 04:23:50 +00:00
Bruce Momjian
abcc4b9a91 I have attached a more comprehensive MSWIN FAQ patch. Basically, the
instructions were way out of date and incorrect.  Installing Postgres
from Cygwin is easier these days than the FAQ would imply.

This patch already includes Andrew's previous patch.

Christopher Kings-Lynne
2003-11-09 03:47:51 +00:00
Bruce Momjian
db1d3e7bee Add:
> * Have psql \dn show only visible schemas using current_schemas()
2003-11-09 03:41:25 +00:00
Bruce Momjian
14e7a651b4 Add:
> * Use more reliable method for CREATE DATABASE to get a consistent copy of db
>
2003-11-09 00:41:14 +00:00
Peter Eisentraut
b657ded2c5 Adjust file so psql help picks it up properly.
patch by Kris Jurka
2003-11-08 11:06:37 +00:00
Bruce Momjian
ab0e426cdc Typo fix. 2003-11-07 17:02:09 +00:00
Bruce Momjian
cddc7f2746 Add:
> * Allow CREATE TABLE foo (f1 INT CHECK (f1 > 0) CHECK (f1 < 10)) to work
>   by searching for non-conflicting constraint names, and prefix with table name
2003-11-07 15:31:14 +00:00
Tom Lane
e1b47c2dbd Minor copy-editing. 2003-11-06 22:21:47 +00:00
Peter Eisentraut
96889392e9 Implement isolation levels read uncommitted and repeatable read as acting
like the next higher one.
2003-11-06 22:08:15 +00:00
Peter Eisentraut
ee4a0d45fc Check off UnixWare. 2003-11-05 00:10:06 +00:00
Tom Lane
e560dd3537 Minor copy-editing. 2003-11-05 00:05:32 +00:00
Tom Lane
1a61554b59 Some copy-editing for 7.4 release notes. 2003-11-04 20:54:13 +00:00
Tom Lane
64caee7548 Give the full syntax rules for subscripting and field selection in the
proper place, namely the syntax discussion of value expressions.
2003-11-04 19:18:15 +00:00
Peter Eisentraut
c58083a941 Update keywords table. 2003-11-04 12:59:54 +00:00
Peter Eisentraut
af83998729 Remove unused graphics files. 2003-11-04 10:25:07 +00:00
Peter Eisentraut
ee640fdd19 Add report about HP-UX 11.00. 2003-11-04 10:08:54 +00:00
Peter Eisentraut
1d27de4cf4 Random copy-editing. 2003-11-04 09:55:39 +00:00
Tom Lane
bb06cbdb2c Copy-editing. 2003-11-04 00:34:45 +00:00
Tatsuo Ishii
3d22beeb6a fix typo. (role_columns_grants -> role_column_grants) 2003-11-03 12:31:52 +00:00
Tom Lane
eeaf5f04ae Provide a way to run the parallel regression tests with a user-specified
limit on the number of simultaneous connections.  Andrew Dunstan, with
review by Tom Lane.
2003-11-02 21:56:15 +00:00
Peter Eisentraut
4593531205 Fix language. 2003-11-02 12:59:54 +00:00
Peter Eisentraut
841f4a9542 Make spelling consistent. 2003-11-02 12:59:28 +00:00
Peter Eisentraut
0f095fa4d2 pg_dumpall doesn't use psql anymore. 2003-11-02 12:58:39 +00:00
Peter Eisentraut
59550df34d Put --describe-config in the right place. 2003-11-02 12:58:11 +00:00
Peter Eisentraut
1885b26893 Fix name in supported platforms list. 2003-11-02 12:57:48 +00:00
Peter Eisentraut
1af403e42d Complete options help and put it in less random order. 2003-11-02 12:55:24 +00:00
Peter Eisentraut
33ab0d9eee Call domains "domains", not "derived types". 2003-11-02 12:53:57 +00:00
Peter Eisentraut
831af83b91 Update ports list. 2003-11-02 08:54:09 +00:00
Peter Eisentraut
8442a92e5a Spell checking, consistent terminology. 2003-11-01 01:56:29 +00:00
Tom Lane
47309464e4 Rewrite GiST documentation into something actually useful.
Christopher Kings-Lynne
2003-10-31 22:41:21 +00:00
Tom Lane
9bd04c0130 Fix broken markup. 2003-10-31 22:22:10 +00:00
Tom Lane
8545482947 When a superuser does GRANT or REVOKE on an object he doesn't own,
process the command as though it were issued by the object owner.
This prevents creating weird scenarios in which the same privileges
may appear to flow from different sources, and ensures that a superuser
can in fact revoke all privileges if he wants to.  In particular this
means that the regression tests work when run by a superuser other than
the original bootstrap userid.  Per report from Larry Rosenman.
2003-10-31 20:00:49 +00:00
Bruce Momjian
19554ed487 new protocol, faster startup. 2003-10-31 19:51:14 +00:00
Bruce Momjian
df1bb47dc4 Update for polymorphic functions, needs more work. 2003-10-31 19:49:40 +00:00
Bruce Momjian
12f2525b0d MAC OS X => Mac OS X 2003-10-31 19:33:17 +00:00
Bruce Momjian
d908c8e238 Release updates suggested by Tom. 2003-10-31 19:24:17 +00:00
Bruce Momjian
ef1b846daf Remove <note> take, use another paragraph for description. 2003-10-31 04:44:25 +00:00
Bruce Momjian
d6ad5375cb Update with more comments. 2003-10-31 04:30:22 +00:00
Tom Lane
ede9b68e03 Use Tcl ByteArray objects to avoid unwanted character set translation
in libpgtcl's lo_read/lo_write commands.  Also, deal correctly with
failure return from lo_read().  ljb and Tom Lane.
2003-10-31 00:18:55 +00:00
Bruce Momjian
fcfbd434cc Fix markup by using <note> for comments. 2003-10-30 20:49:47 +00:00
Bruce Momjian
d8df98d026 More SGML cleanup. 2003-10-30 20:31:24 +00:00
Bruce Momjian
39b752f6b7 SGML cleanup. 2003-10-30 20:29:35 +00:00
Bruce Momjian
c0d92dc489 Update SGML release notes with Peter's direction. Does not compile
because of section adjustments still needed.
2003-10-30 20:25:36 +00:00
Bruce Momjian
216bc11020 Mark release note comments as new subsections rather than footnotes, per
Peter.

Remove "Changes" section and pull all sections below it up one level.

More comment additions.
2003-10-30 19:43:01 +00:00
Bruce Momjian
d807bbe837 Fix markup for new release footnotes. 2003-10-30 03:46:42 +00:00
Bruce Momjian
60b198a768 Update FAQ_DEV: elog => ereport. 2003-10-30 02:40:29 +00:00
Bruce Momjian
d46f9cd3bd Update more release descriptions. 2003-10-29 23:28:59 +00:00
Bruce Momjian
8478bbfd76 Add more footnote comments to the release notes. 2003-10-29 22:54:01 +00:00
Bruce Momjian
1a2be80ee7 Add first release note detail item. 2003-10-29 20:38:19 +00:00
Bruce Momjian
a00d6b23eb Update for 7.4 --- prefer IN to EXISTS. 2003-10-29 20:20:12 +00:00
Bruce Momjian
d890c1d065 Update for OSF 4.0 platform. 2003-10-29 13:42:55 +00:00
Tom Lane
50cb974068 Adjust wording to avoid giving the impression that schema USAGE
privilege hides system catalog entries.
2003-10-28 20:18:09 +00:00
Bruce Momjian
53b714d2a7 Add --describe-config to top of postgres manual page. 2003-10-28 19:39:18 +00:00
Bruce Momjian
6228228009 Document --describe-config. 2003-10-28 15:01:27 +00:00
Bruce Momjian
5db5cbb838 Update Win32 clients. 2003-10-27 15:35:10 +00:00
Bruce Momjian
03a2c3b586 Fix MOVE/FETCH wording. 2003-10-27 02:51:39 +00:00
Bruce Momjian
866c850cf5 Update intel solaris. 2003-10-26 14:31:09 +00:00
Bruce Momjian
8f67daded7 Improve indenting of port entries. 2003-10-26 13:28:46 +00:00
Bruce Momjian
98fa527942 Update Solaris 5.6. 2003-10-26 13:26:41 +00:00
Peter Eisentraut
06495a7324 Correct version numbers. 2003-10-26 11:14:39 +00:00
Bruce Momjian
b3a10a88d7 Update MOVE/FETCH release note mention. 2003-10-26 04:50:16 +00:00
Bruce Momjian
8cdadab4dd Add:
> * Change LIMIT/OFFSET to use int8
2003-10-26 04:43:55 +00:00
Bruce Momjian
eb1c22c39d Add mention of quotes on function body to NOTES section.
Oliver Elphick
2003-10-26 04:34:05 +00:00
Bruce Momjian
2cd5abd4d1 *** empty log message *** 2003-10-26 04:21:43 +00:00
Bruce Momjian
070c33c8e1 Add:
> * Allow more ISOLATION LEVELS to be accepted, but issue a warning for them
2003-10-26 02:57:39 +00:00
Bruce Momjian
cc9c59af24 Update for No&egrave;l K&ouml;the in SGML. 2003-10-26 01:39:43 +00:00
Bruce Momjian
f6332c7354 Mark Linux/ppc as working. 2003-10-26 01:32:36 +00:00
Bruce Momjian
c8013b60cb Mark linux m68k, alpha as working. 2003-10-26 01:19:57 +00:00
Bruce Momjian
bcc6c9da83 Remove very old platforms as unsupported, <=7.0. 2003-10-26 01:17:31 +00:00
Bruce Momjian
454c670cce Mark true64 os version as 5.1. 2003-10-26 01:06:35 +00:00
Bruce Momjian
dc46010e18 Mark true64 alpha port as working. 2003-10-26 01:05:53 +00:00
Bruce Momjian
52008990e9 Fix Hans' name in SGML. 2003-10-26 00:58:31 +00:00
Bruce Momjian
b10cd331fe Update aix port. 2003-10-26 00:31:48 +00:00
Bruce Momjian
1fdbc8cc20 Update linux/mips port.
Add m68k to linux port.
2003-10-26 00:26:13 +00:00
Bruce Momjian
530f997e6e Update linux/mips port. 2003-10-26 00:22:51 +00:00
Bruce Momjian
823240bf64 update linux ports for arm, s390, itanium. 2003-10-26 00:21:04 +00:00
Bruce Momjian
d3423926c8 Update for port freebsd/alpha. 2003-10-26 00:00:40 +00:00
Bruce Momjian
1919b62058 Update Netbsd/i386 port. 2003-10-25 03:23:47 +00:00
Bruce Momjian
561a8ca808 Update ports for Solaris. 2003-10-25 03:17:43 +00:00
Bruce Momjian
e0ca78fb87 Update openbsd port. 2003-10-24 21:09:08 +00:00
Bruce Momjian
863d793fa3 Update for osX 10.3. 2003-10-24 20:44:19 +00:00
Bruce Momjian
7d4844f247 Update ports for freebsd, cygwin. 2003-10-24 20:39:09 +00:00
Bruce Momjian
2a9986f7d5 Update Linux/Sparc 32-bit port. 2003-10-24 16:30:53 +00:00
Bruce Momjian
7672a1056d Update Linux x86 port. 2003-10-24 16:29:00 +00:00
Bruce Momjian
b97e0aa650 Update OSX port. 2003-10-24 15:56:29 +00:00
Bruce Momjian
79c0082d70 Mark BSD/OS as working in 7.4. 2003-10-24 15:31:29 +00:00
Bruce Momjian
739839b7f7 Move pre-7.3 platforms to unsupported. 2003-10-24 15:30:52 +00:00
Bruce Momjian
43b472f83f Move 2phase discussion to 7.5 queue, not TODO.detail. 2003-10-24 03:24:56 +00:00
Bruce Momjian
1c6f65db84 Move 2phase discussion to 7.5 queue, not TODO.detail.
< 	o Queries across databases or servers (two-phase commit) [2phase]
> 	o Queries across databases or servers (two-phase commit)
2003-10-24 03:24:32 +00:00
Bruce Momjian
21b1d41ef3 Add 2-phase TODO.detail. 2003-10-24 03:21:37 +00:00
Bruce Momjian
2a197c7cce Add TODO.detail:
> 	o Queries across databases or servers (two-phase commit) [2phase]
2003-10-24 03:20:36 +00:00
Tom Lane
747df1a35e Remove obsolete information about altering default optimization flags for
gcc.  Per comment from original author, Brian Gallew:
"Ancient history.  Kill it fast."
2003-10-23 13:58:43 +00:00
Tom Lane
cdbf9b328e Move docs about index cost estimation functions and writing a procedural
language handler to the 'Internals' area, per my proposal of yesterday.
Clean up the trigger documentation a bit.  Push SPI chapter to the end
of its part, and reorder the Internals chapters into what seems a more
sensible order (at the moment anyway).
2003-10-22 22:28:10 +00:00
Bruce Momjian
b8400c7f52 Here is a documentation patch that makes zulu, etc. all more consistent. 2003-10-22 18:10:53 +00:00
Bruce Momjian
269df29e8b Release notes updates from Neil Conway. 2003-10-22 17:27:14 +00:00
Bruce Momjian
70f567d571 Add:
> * Allow functions to have a search path specified at creation time
2003-10-22 17:14:39 +00:00
Bruce Momjian
4377a9afc3 Add mention that "today" doesn't work as column default anymore. 2003-10-22 05:09:12 +00:00
Tom Lane
336297e676 Another example-to-documentation difference. Maybe we can find a
better way to keep these in sync...
2003-10-22 03:50:27 +00:00
Tom Lane
2744abb736 Ooops, missed updating this part of the complex-datatype example. 2003-10-21 23:28:42 +00:00
Tom Lane
6fbb14a174 Update the complex-datatype example to V1 function calling conventions,
and add binary send/receive functions.  Fix some other grottiness such
as failure to mark the C functions STRICT.
2003-10-21 22:51:14 +00:00
Tom Lane
6c7c493a09 For some reason, the preface mentions just six of the seven major parts
of the book.  Fix it.
2003-10-21 22:47:54 +00:00
Bruce Momjian
d4273a5205 Remove:
< 	o Allow BINARY option to SELECT, just like DECLARE
2003-10-21 15:51:41 +00:00
Bruce Momjian
d8e3515f63 Update:
< * Allow INET subnet tests to use indexes
> * Allow INET subnet tests using non-constants to be indexed
2003-10-21 15:48:56 +00:00
Bruce Momjian
d58c70c6ae Update per Tom:
< * Allow INET subnet tests using non-constants
> * Allow INET subnet tests to use indexes
101a102
> 	o Allow MIN()/MAX() on arrays
144c145
< * Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)
> * -Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)
166c167
< * Improve handling of index scans for NULL
> * Allow use of indexes to search for NULLs
203a205
> * Add optional textual message to NOTIFY
252c254
< 	o Add SET SCHEMA
> 	o Add SET PATH for schemas
297a300
> * Allow fastpast to pass values in portable format
344a348
> * Allow statement-level triggers to access modified rows
526d529
< 	o Add optional textual message to NOTIFY
530d532
< 	o Allow fastpast to pass values in portable format
533c535
< 	o Special passing of binary values in platform-neutral format (bytea?)
> 	o -Special passing of binary values in platform-neutral format (bytea?)
2003-10-21 02:48:09 +00:00
Bruce Momjian
2f603a8b0c Add release info about dollar signs to migration section:
<listitem><para> Dollar sign (<literal>$</>) is no longer allowed
	in operator names</para></listitem>
     <listitem><para> Dollar sign (<literal>$</>) can be a non-first
	character in identifiers</para></listitem>
2003-10-21 01:25:31 +00:00
Tom Lane
0a4048646b Document all the system views created by initdb (several of these were
never documented anywhere, sigh).  Centralize the detailed documentation
of system views into catalogs.sgml, and provide cross-references.
2003-10-17 22:38:20 +00:00
Tom Lane
e5c2c97892 Add a listing of our SQLSTATE error codes to the documentation.
Link to it from some appropriate places.
2003-10-17 18:57:01 +00:00
Tom Lane
34ed505966 Fix busted markup. 2003-10-17 18:29:55 +00:00
Tom Lane
fe1b5034dd Adjust display of actual runtimes in EXPLAIN output to use three fractional
digits, and label it 'ms' not 'msec', for consistency with psql's \timing
display.  Per recent discussions.
2003-10-17 01:14:26 +00:00
Tom Lane
dec4ed311a Add note deprecating use of consrc. 2003-10-17 00:55:17 +00:00
Peter Eisentraut
44430dbc15 Fix bugs in referential_constraints view. 2003-10-16 23:46:17 +00:00
Bruce Momjian
9ad637f749 Add mention of SIGHUP on the postmaster manual page. 2003-10-16 17:38:01 +00:00
Tom Lane
839cea8814 Minor copy-editing. 2003-10-16 04:52:21 +00:00
Bruce Momjian
a9c1ff66da Add:
> * Allow pg_dump to dump CREATE CONVERSION (Christopher)
2003-10-16 04:12:53 +00:00
Bruce Momjian
60feaa261f Fix SGML markup.
Update HISTORY file.
2003-10-16 04:11:53 +00:00
Bruce Momjian
352f29b17b This patch adds another item to the "migration to 7.4" list in the
HISTORY file, and attributes the shared-buffer-alignment change to
Manfred Spraul.

Neil Conway
2003-10-16 03:55:31 +00:00
Bruce Momjian
62fdc3dd60 I have run pg_autovacuum on AIX, so that can, at least loosely, be
considered "tested."

And I have turned all of the 7.4 HISTORY material into DocBook for
release.sgml

Christopher Browne
2003-10-16 03:47:28 +00:00
Bruce Momjian
386e0f9046 Update max existing db size to 32tb. 2003-10-10 21:27:13 +00:00
Bruce Momjian
870d9641bc Update Russian FAQ.
Viktor Vislobokov
2003-10-10 02:52:12 +00:00
Bruce Momjian
d11998f3d1 Add:
> * Prevent libpq's PQfnumber() from lowercasing the column name
572d572
< * Vadim is Vadim B. Mikheev <vadim4o@email.com> of Sector Data
2003-10-10 02:42:09 +00:00
Bruce Momjian
8087446b14 > That's a fairly useless place to put it, though, since someone would
> only think to look at sort_mem if they already had a clue.  It should
> be mentioned under bulk data load (in performance tips chapter)

Attached is a doc patch that does this. The way I've worded it may not
be the best, though.

Neil Conway
2003-10-10 02:08:42 +00:00
Bruce Momjian
ea079e27b1 Add count(*) TODO detail. 2003-10-10 01:53:06 +00:00
Bruce Momjian
20982a71df Add TODO.detail for count(*):
>   to allow fast COUNT(*) queries with no WHERE clause(?) [count]
2003-10-10 01:52:15 +00:00
Bruce Momjian
de8b3b4913 Add:
> 	o Allow PL/pgSQL to handle %TYPE arrays, e.g. tab.col%TYPE[]
2003-10-09 23:41:22 +00:00
Bruce Momjian
d8581fbb6b Add:
> * Have VACUUM FULL use REINDEX rather than index vacuum
2003-10-09 19:36:27 +00:00
Bruce Momjian
3fce18084b About section 8.5.1.5. ("Special Values"):
I suggest adding LOCALTIMESTAMP and LOCALTIME to the first paragraph.
Maybe it should be phrased as:

  The following SQL-compatible functions can be used to obtain
  current datetime-related values: CURRENT_DATE, CURRENT_TIME,
  CURRENT_TIMESTAMP, LOCALTIME and LOCALTIMESTAMP.
  (See Section 9.8.4.)

Troels Arvin
2003-10-09 19:13:48 +00:00
Bruce Momjian
c7c7861d5e Add mention of logrotate for syslog, from Robert Treat 2003-10-09 19:05:09 +00:00
Bruce Momjian
dfafeb6a89 Update Solaris FAQ to mention -fast. 2003-10-09 17:11:13 +00:00
Bruce Momjian
b510c44202 Update:
> * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT | LANGUAGE ]
>   (Christopher)
2003-10-09 04:29:40 +00:00
Bruce Momjian
c1a0d72da6 Add:
> * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT ] (Christopher)
2003-10-09 03:17:24 +00:00
Bruce Momjian
67afe3d861 Add:
<
346a346
> * Remove CREATE CONSTRAINT TRIGGER
2003-10-08 22:29:58 +00:00
Bruce Momjian
5fc9d0e3f6 Add 2-phase info, add Win32 URL:
< 	o Sample implementation in contrib/rserv
29c28,29
< * Create native Win32 port [win32]
> * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/win32.html
>
367c367,368
< * Two-phase commit to implement distributed transactions
> * Add two-phase commit to all distributed transactions with
>   offline/readonly server status or administrator notification for failure
2003-10-08 21:44:06 +00:00
Bruce Momjian
d5ea0d5ecb Add:
> * Use background process to write dirty shared buffers to disk
2003-10-08 19:33:53 +00:00
Bruce Momjian
b8382c2688 Have log_min_duration_statement = 0 always print duration/statement.
Change log line to be "duration:  ms  query:"

Indent multi-line queries with a tab in the server logs.
2003-10-08 03:49:38 +00:00
Tom Lane
0eceaaf9b7 Modify COPY FROM to match the null-value string against the column value
before it is de-backslashed, not after.  This allows the null string \N
to be reliably distinguished from the data value \N (which must be
represented as \\N).  Per bug report from Manfred Koizar ... but it's
amazing this hasn't been reported before ...
Also, be consistent about encoding conversion for null string: the form
specified in the command is in the server encoding, but what is sent
to/from client must be in client encoding.  This never worked quite
right before either.
2003-10-06 02:38:53 +00:00
Bruce Momjian
8f3b879462 Update MySQL mention. 2003-10-05 14:25:29 +00:00
Bruce Momjian
88605109db Update MySQL mention. 2003-10-05 03:52:08 +00:00
Tom Lane
fa09ee6026 Document the always-true-but-previously-undocumented fact that PQfnumber()
will downcase the supplied field name unless it is double-quoted.  Also,
upgrade the routine's handling of double quotes to match the backend,
in particular support doubled double quotes within quoted identifiers.
Per pgsql-interfaces discussion a couple weeks ago.
2003-10-04 21:05:21 +00:00
Bruce Momjian
ec1fbbb546 Modify:
< * Consider using MVCC to cache count(*) queries with no WHERE clause
> * Use a fixed row count and a +/- count with MVCC visibility rules
>   to allow fast COUNT(*) queries with no WHERE clause(?)
2003-10-04 18:19:57 +00:00
Bruce Momjian
5ba1fab5fa Update INSTALL file for 7.4. 2003-10-04 03:14:13 +00:00
Bruce Momjian
7ca44855fc Update MySQL mention. 2003-10-04 02:37:05 +00:00
Bruce Momjian
5f0eb3fd83 Update MySQL mention. 2003-10-04 01:39:51 +00:00
Peter Eisentraut
9951474c71 Change transaction status indicator in prompt from %T to %x. 2003-10-04 01:04:46 +00:00
Tom Lane
15c194c1d5 Add GUC parameter check_function_bodies to control whether validation
of function bodies is done at CREATE FUNCTION time.  This is normally
true but can be set false to avoid problems with forward references,
wrong schema search path, etc.  This is just the backend patch, still
need to adjust pg_dump to make use of it.
2003-10-03 19:26:49 +00:00
Tom Lane
251033186f Cause PQescapeString to stop processing at a null character, rather
than generating an invalid output string.  Per observation and patch
from Igor Shevchenko.  Further code cleanup and documentation by
Tom Lane.
2003-10-03 18:26:14 +00:00
Tom Lane
6099bc03f3 Adjust documentation examples to match recent error message rewordings.
A couple other minor fixes.
2003-09-30 03:22:33 +00:00
Tom Lane
444af9e0e8 Minor copy-editing. 2003-09-30 01:56:11 +00:00
Tom Lane
f038e08929 Use slightly less broken markup. 2003-09-30 01:26:29 +00:00
Tom Lane
e33f205a94 Adjust btree index build procedure so that the btree metapage looks
invalid (has the wrong magic number) until the build is entirely
complete.  This turns out to cost no additional writes in the normal
case, since we were rewriting the metapage at the end of the process
anyway.  In normal scenarios there's no real gain in security, because
a failed index build would roll back the transaction leaving an unused
index file, but for rebuilding shared system indexes this seems to add
some useful protection.
2003-09-29 23:40:26 +00:00
Bruce Momjian
7bc0678e0b Remove, already done:
< 	o Fixed PL/Tcl's spi_prepare to accept full qualified type names in
< 	  the parameter type list
2003-09-29 21:41:29 +00:00
Bruce Momjian
fb72fc8b80 Add:
> 	o Fixed PL/Tcl's spi_prepare to accept full qualified type names in
> 	  the parameter type list
2003-09-29 21:15:19 +00:00
Bruce Momjian
f3db606592 > >
> >  a) Write documentation how the win32 console needs to be set up so that
> >     psql can handle 8-bit characters.
> >     Where should it be added? The Section "Installation on Windows" in the
> >     Administrator's Guide seems natural to me.
> >
> >  b) Add code to psql that prints a warning on startup of psql when the
> >     console codepage differs from the windows codepage, something like
> >
> >     Warning: Console codepage (850) differs from windows codepage (1252)
> >              8-bit characters will not work correctly. See PostgreSQL
> >              documentation "Installation on Windows" for details.
>
Attached are two patches:

 - installdoc.patch contains an additional paragraph on the win32 console
   codepage for the chapter "Installation on Windows"
   Due to a lack of SGML-tools, I have only edited the text and not tested
   the SGML code - please check it before merging into the CVS branch.

 - psqlcodepage.patch adds the warning about a problematic codepage to psql.


Christoph Dalitz
2003-09-29 18:21:33 +00:00
Bruce Momjian
a17b53753e This patch makes a few incremental improvements to geqo.sgml and
arch-dev.sgml

Neil Conway
2003-09-29 18:18:35 +00:00
Bruce Momjian
b8d7e1e798 Change 7.3.4 release note format to match the rest of the 7.3.x
releases.

Rod Taylor
2003-09-29 18:15:12 +00:00
Bruce Momjian
e7a9ba4872 Add:
> * Have SHOW ALL and pg_settings show descriptions for server-side variables(Joe)
2003-09-29 16:52:14 +00:00
Bruce Momjian
3900f8368d Update docs on function call permissions in view, from Tom. 2003-09-28 01:19:33 +00:00
Bruce Momjian
fae2adecf5 Small SGML cleanup from Jeroen Ruigrok/asmodai 2003-09-27 14:06:21 +00:00
Bruce Momjian
87cbcff9e6 Document that functions are checked independently of the view
permissions.
2003-09-27 00:10:31 +00:00
Bruce Momjian
90322456fe Add "tuning" section to install instructions. 2003-09-26 17:47:44 +00:00