Commit Graph

5851 Commits

Author SHA1 Message Date
Neil Conway
f30c76ce8d Adjust CREATE TRIGGER and ALTER TABLE ... ADD FOREIGN KEY to acquire
ExclusiveLock rather than AccessExclusiveLock. This will allow concurrent
SELECT queries to proceed on the table. Per discussion with Andrew at
SuperNews.
2005-03-23 07:44:57 +00:00
Bruce Momjian
ac323044cf Add:
> 	o Add MOVE to PL/pgSQL
2005-03-23 06:11:57 +00:00
Bruce Momjian
f6c1f990ab Assign:
> 	o Update pg_dump and psql to use the new COPY libpq API (Christopher)
2005-03-23 05:50:58 +00:00
Bruce Momjian
9be9c1fb0c Add:
>
> * Interpret INTERVAL '1:30' MINUTE TO SECOND as '1 minute 30 seconds'
2005-03-23 05:49:22 +00:00
Bruce Momjian
3113d38bec Add INTERVAL items:
> * Add support for ANSI time INTERVAL syntax, INTERVAL '1 2:03:04' DAY TO SECOND
> * Add support for ANSI date INTERVAL syntax, INTERVAL '1-2' YEAR TO MONTH
> * Process mixed ANSI/PG INTERVAL syntax, and round value to requested precision
184a188,189
>   Interpret INTERVAL '1 year' MONTH as CAST (INTERVAL '1 year' AS INTERVAL
>   MONTH), and this should return '12 months'
2005-03-23 05:42:40 +00:00
Bruce Momjian
e96ab26277 Remove duplicate:
< * Allow a warm standby system to also allow read-only queries
2005-03-23 02:50:56 +00:00
Bruce Momjian
b7c2258833 Add:
> * Allow WAL replay of CREATE TABLESPACE to work when the directory
>   structure on the recovery computer is different from the original
2005-03-23 02:49:42 +00:00
Bruce Momjian
0b2adc1e5f Add:
> 	o Update pg_dump and psql to use the new COPY libpq API
2005-03-23 02:41:29 +00:00
Bruce Momjian
09c165e41e Remove:
< 	o Update to use the newer COPY syntax
2005-03-23 02:21:01 +00:00
Bruce Momjian
ee10720834 Add for pg_dump:
> 	o Update to use the newer COPY syntax
2005-03-23 02:14:11 +00:00
Bruce Momjian
aab0159cfb Add:
>
> * Support table partitioning that allows a single table to be stored
>   in subtables that are partitioned based on the primary key or a WHERE
>   clause
2005-03-23 01:25:07 +00:00
Bruce Momjian
4201ba2459 Remove:
<
< 	o Prevent conflicting SET options from being set
<
< 	  This requires a checking function to be called after the server
< 	  configuration file is read.
2005-03-23 00:36:14 +00:00
Tom Lane
ee4ddac137 Convert index-related tuple handling routines from char 'n'/' ' to bool
convention for isnull flags.  Also, remove the useless InsertIndexResult
return struct from index AM aminsert calls --- there is no reason for
the caller to know where in the index the tuple was inserted, and we
were wasting a palloc cycle per insert to deliver this uninteresting
value (plus nontrivial complexity in some AMs).
I forced initdb because of the change in the signature of the aminsert
routines, even though nothing really looks at those pg_proc entries...
2005-03-21 01:24:04 +00:00
Bruce Momjian
1c14db5a77 Done:
> * -Allow the size of the buffer cache used by temporary objects to be
2005-03-20 01:57:11 +00:00
Tom Lane
91728fa26c Add temp_buffers GUC variable to allow users to determine the size
of the local buffer arena for temporary table access.
2005-03-19 23:27:11 +00:00
Bruce Momjian
5955ebe334 Add link to INSERT in docs.
Robert Treat
2005-03-17 20:24:34 +00:00
Bruce Momjian
28d150d8e9 Update file system snapshot docs. 2005-03-17 15:38:46 +00:00
Bruce Momjian
118bf5bc22 Mention tablespaces as a problem for using file system snapshots. 2005-03-17 05:10:11 +00:00
Bruce Momjian
ca2d08579e Document use of rsync for file system backups.
Tino Wildenhain
2005-03-17 05:03:37 +00:00
Bruce Momjian
82c46e5a70 Add mention of compatibility problem with turning off backslash escapes:
<   SQL-spec compliant, so allow such handling to be disabled.
>   SQL-spec compliant, so allow such handling to be disabled.  However,
>   disabling backslashes could break many third-party applications and tools.
2005-03-17 04:42:15 +00:00
Neil Conway
957f51ea6b Add a reference to the documentation on alternate index operator classes in
the locale docs. Patch from Chris KL, editorialization by Neil Conway.
2005-03-17 00:22:24 +00:00
Tom Lane
f97aebd162 Revise TupleTableSlot code to avoid unnecessary construction and disassembly
of tuples when passing data up through multiple plan nodes.  A slot can now
hold either a normal "physical" HeapTuple, or a "virtual" tuple consisting
of Datum/isnull arrays.  Upper plan levels can usually just copy the Datum
arrays, avoiding heap_formtuple() and possible subsequent nocachegetattr()
calls to extract the data again.  This work extends Atsushi Ogawa's earlier
patch, which provided the key idea of adding Datum arrays to TupleTableSlots.
(I believe however that something like this was foreseen way back in Berkeley
days --- see the old comment on ExecProject.)  A test case involving many
levels of join of fairly wide tables (about 80 columns altogether) showed
about 3x overall speedup, though simple queries will probably not be
helped very much.

I have also duplicated some code in heaptuple.c in order to provide versions
of heap_formtuple and friends that use "bool" arrays to indicate null
attributes, instead of the old convention of "char" arrays containing either
'n' or ' '.  This provides a better match to the convention used by
ExecEvalExpr.  While I have not made a concerted effort to get rid of uses
of the old routines, I think they should be deprecated and eventually removed.
2005-03-16 21:38:10 +00:00
Bruce Momjian
86ad33cd48 Update to 8.0.1. 2005-03-15 22:38:23 +00:00
Bruce Momjian
05be5cc4e0 Add:
> * Allow sequential scans to take advantage of other concurrent
>   sequentiqal scans, also called "Synchronised Scanning"
2005-03-15 05:31:27 +00:00
Bruce Momjian
d5bc23878a Update Win32 item:
<         o Disallow encodings like UTF8 which PostgreSQL supports
<           but the operating system does not (already disallowed by
< 	  pginstaller)
>         o Add support for Unicode
< 	  To fix UTF8, the data needs to be converted to UTF16 and then
< 	  the Win32 wcscoll() can be used, and perhaps other functions
> 	  To fix this, the data needs to be converted to/from UTF16/UTF8
>           so the Win32 wcscoll() can be used, and perhaps other functions
< 	  locales but provides no ordering.
<
> 	  locales but provides no ordering or character set classes.
2005-03-15 04:01:21 +00:00
Bruce Momjian
17c8276d24 Clean up win1252 documentation. Mention how we determine the number of
bytes/character for each encoding.
2005-03-15 02:30:33 +00:00
Bruce Momjian
e7fb9f18bf Add support for Win1252 encoding.
Roland Volkmann
2005-03-14 18:31:25 +00:00
Bruce Momjian
2ed560c99f Completed:
> * -Cache last known per-tuple offsets to speed long tuple access
2005-03-14 16:37:02 +00:00
Neil Conway
9abced035d Fix mistakes in SGML markup. From David Fetter. 2005-03-14 06:49:48 +00:00
Tom Lane
251d3f75d0 Note that the -F and -R command line options only affect unaligned
output mode.  This was already stated in other places in the psql
reference page, but not here.
2005-03-14 06:19:01 +00:00
Bruce Momjian
d1022ce3a1 Document client-only encodings. 2005-03-14 03:59:22 +00:00
Bruce Momjian
4973296035 Fix typo on URL. 2005-03-14 03:07:25 +00:00
Bruce Momjian
c1186dd594 Add user:
> * Support triggers on columns (Greg Sabino Mullane)
2005-03-14 03:00:26 +00:00
Bruce Momjian
a03bb609b3 Finalize character set documentation changes. 2005-03-14 02:14:42 +00:00
Neil Conway
c069655441 Allow ALTER FUNCTION to change a function's strictness, volatility, and
whether or not it is a security definer. Changing a function's strictness
is required by SQL2003, and the other capabilities make sense. Also, allow
an optional RESTRICT noise word to be specified, for SQL conformance.

Some trivial regression tests added and the documentation has been
updated.
2005-03-14 00:19:37 +00:00
Bruce Momjian
cbc100af66 Increment all major version numbers in 8.0.X to force recompile of
client aplications so 7.4.X releases can be installed on the same
machine as 8.0.X.
2005-03-13 22:04:29 +00:00
Bruce Momjian
8264cbcb50 Remove CENTER tag. 2005-03-13 19:27:53 +00:00
Neil Conway
ff02d0a052 Make default_with_oids default to false -- user-created tables will now
no longer include OIDs, unless WITH OIDS is specified or the
default_with_oids configuration parameter is enabled. Update the docs
accordingly.
2005-03-13 09:36:31 +00:00
Bruce Momjian
0edc2f14e0 More ordering adjustments. 2005-03-13 05:31:04 +00:00
Bruce Momjian
c151e6374c Fix markup. 2005-03-13 05:16:33 +00:00
Bruce Momjian
119807e397 More markup changes. 2005-03-13 05:11:49 +00:00
Bruce Momjian
1c0aeec65b More cleanups. 2005-03-13 04:35:06 +00:00
Bruce Momjian
cbe4b4163e More improvements. 2005-03-13 04:10:23 +00:00
Bruce Momjian
a717ab6fa6 More additions to the table. 2005-03-13 03:44:51 +00:00
Bruce Momjian
1fa8445233 Keep changing the markup until I like it. :-) 2005-03-13 03:02:08 +00:00
Bruce Momjian
382f24b187 More table markup improvements. 2005-03-13 02:54:34 +00:00
Bruce Momjian
7b7abb7ccb More table markup fixes. 2005-03-13 02:33:03 +00:00
Bruce Momjian
6109a1ce18 Rework "aliases" column for encodings. 2005-03-13 02:20:50 +00:00
Bruce Momjian
074ba31e41 Fix markup typo. 2005-03-13 02:07:04 +00:00
Bruce Momjian
f949baf9a2 Add missing conversion documentation for certain encodings. 2005-03-13 02:02:44 +00:00
Bruce Momjian
e42e3b6c56 Reorder documented encodings to be alphabetical.
Remove warning about pre-7.2 LATIN5 usage.
2005-03-13 01:30:59 +00:00
Bruce Momjian
ee1bd33dd0 Document aliases for our supported encodings.
Add a few encodings that were not documented.
2005-03-13 01:26:30 +00:00
Tom Lane
fa5e44017a Adjust the API for aggregate function calls so that a C-coded function
can tell whether it is being used as an aggregate or not.  This allows
such a function to avoid re-pallocing a pass-by-reference transition
value; normally it would be unsafe for a function to scribble on an input,
but in the aggregate case it's safe to reuse the old transition value.
Make int8inc() do this.  This gets a useful improvement in the speed of
COUNT(*), at least on narrow tables (it seems to be swamped by I/O when
the table rows are wide).  Per a discussion in early December with
Neil Conway.  I also fixed int_aggregate.c to check this, thereby
turning it into something approaching a supportable technique instead
of being a crude hack.
2005-03-12 20:25:06 +00:00
Bruce Momjian
852ef58da9 Documention all our supported encodings. 2005-03-12 06:28:17 +00:00
Bruce Momjian
948c41f404 Done:
< 	o Allow COPY FROM ... CSV to interpret newlines and carriage
> 	o -Allow COPY FROM ... CSV to interpret newlines and carriage
2005-03-12 05:41:38 +00:00
Bruce Momjian
06a61d66f9 Done:
* -Add a warning when the free space map is too small
2005-03-12 05:25:49 +00:00
Bruce Momjian
b9de4a26cf Here's the patch to fix a lot of markup errors in the HTML FAQs. Doesn't
change content (at least not supposed to).

Magnus Hagander
2005-03-11 21:46:54 +00:00
Bruce Momjian
db48396a8a Fix typos.
Hashem Masoud
2005-03-11 13:09:39 +00:00
Bruce Momjian
85ecedf1d8 Fix typos.
Robert Treat
2005-03-11 11:59:16 +00:00
Bruce Momjian
e185618f5d Fix typos.
Robert Treat
2005-03-11 11:43:45 +00:00
Bruce Momjian
7e3a8d9a83 Fix typo. 2005-03-11 11:42:03 +00:00
Bruce Momjian
a258a1bba8 Add:
> * Fix cross-compiling of time zone database via 'zic'
2005-03-11 03:45:25 +00:00
Tom Lane
595ed2a855 Make the behavior of HAVING without GROUP BY conform to the SQL spec.
Formerly, if such a clause contained no aggregate functions we mistakenly
treated it as equivalent to WHERE.  Per spec it must cause the query to
be treated as a grouped query of a single group, the same as appearance
of aggregate functions would do.  Also, the HAVING filter must execute
after aggregate function computation even if it itself contains no
aggregate functions.
2005-03-10 23:21:26 +00:00
Bruce Momjian
e829f82223 Add comma. 2005-03-08 13:27:31 +00:00
Bruce Momjian
3716e12808 Fix markup of URL. 2005-03-08 03:52:57 +00:00
Bruce Momjian
2b26458a91 Add URL for patches queues. 2005-03-08 01:15:33 +00:00
Bruce Momjian
e3d7de6b99 Rename canonical encodings, per Peter:
UNICODE => UTF8
	ALT => WIN866
	WIN => WIN1251
	TCVN => WIN1258

The old codes continue to work.
2005-03-07 04:30:55 +00:00
Tom Lane
1fcfa038ce Add a note that regression test row ordering differences can be caused
by non-default planner parameter settings.
2005-03-07 02:00:28 +00:00
Tom Lane
5d5087363d Replace the BufMgrLock with separate locks on the lookup hashtable and
the freelist, plus per-buffer spinlocks that protect access to individual
shared buffer headers.  This requires abandoning a global freelist (since
the freelist is a global contention point), which shoots down ARC and 2Q
as well as plain LRU management.  Adopt a clock sweep algorithm instead.
Preliminary results show substantial improvement in multi-backend situations.
2005-03-04 20:21:07 +00:00
Tom Lane
5c2e68ba6b Fix misspelling of sysctl, per Stefan Hans. 2005-03-02 19:58:54 +00:00
Neil Conway
87aafa1600 SGML improvements to the DML chapter. 2005-03-01 23:45:00 +00:00
Bruce Momjian
5edb76d4fc Done:
> * -Make src/port/snprintf.c thread-safe
2005-03-01 05:00:20 +00:00
Neil Conway
484f0464ff Implement max() and min() aggregates for array types. Patch from Koju
Iijima, reviewed by Neil Conway. Catalog version number bumped,
regression tests updated.
2005-02-28 03:45:24 +00:00
Bruce Momjian
2d22f16132 Rename planner stats detail to avoid label confict. 2005-02-27 01:17:34 +00:00
Bruce Momjian
234d50812c Add documentation on how statistics are used by the planner.
Mark Kirkwood
2005-02-27 00:49:28 +00:00
Bruce Momjian
f55339577b Adjust OS-specific kernel settings to mention old and new BSD methods of
adjusting values:

> But to be on the safe side, it would make sense to do something similar
> to the BSD section, and comment about older distributions maybe needing
> to manipulate /proc/kernel/* directly.

Mark Kirkwood
2005-02-26 23:19:05 +00:00
Bruce Momjian
ffef9a9de4 Clarify PGPASSWORD usage:
! authentication.  Use of this environment variable is not
! recommended for security reasons (some operating systems
! allow non-root users to see process environment variables via
! <application>ps</>); instead consider using  the
! <filename>~/.pgpass</> file (see <xref linkend="libpq-pgpass">).
2005-02-26 18:39:04 +00:00
Tom Lane
891497d3a9 Correct overstatement in locking docs: we said ExclusiveLock is never
taken automatically, but this is only true with respect to user tables.
2005-02-26 18:37:17 +00:00
Bruce Momjian
0060023c3d State PGPASSWORD is "not recommended" rather than "depricated". 2005-02-26 14:21:40 +00:00
Bruce Momjian
93aa22fc8e Please find enclosed a patch, per Dennis Bj<C3><B6>rklund, that uses -f
for input files rather than <.  This makes error messages, &c. more
expressive.

David Fetter
2005-02-25 04:56:01 +00:00
Bruce Momjian
6b80ca2f06 Fix plpgsql error message for dropped temporary tables. 2005-02-25 04:18:27 +00:00
Bruce Momjian
e49da4855c Clarify object ownership language to prevent confusion with database
ownership.
2005-02-25 02:34:56 +00:00
Bruce Momjian
0c6568424a Updatge wording. 2005-02-25 00:45:30 +00:00
Bruce Momjian
3debf968ef Fix markup. 2005-02-25 00:32:55 +00:00
Bruce Momjian
026a8510a3 Fix HTML markup and add NULL sorting item to existing NULL FAQ item.
Greg Sabino Mullan
2005-02-25 00:32:15 +00:00
Bruce Momjian
d2557833e9 Add:
> * Improve psql's handling of multi-line queries
2005-02-25 00:24:10 +00:00
Bruce Momjian
0b58d30168 Add wording about UTF8:
< 	  like towupper().
> 	  like towupper().  However, UTF8 already works with normal
> 	  locales but provides no ordering.
2005-02-24 23:39:29 +00:00
Bruce Momjian
0ae430a207 Done:
> 	o -Change PL/PgSQL to use palloc() instead of malloc()
2005-02-24 14:14:41 +00:00
Tom Lane
26b9a2860f Document that only a table's owner may TRUNCATE it. Per Keith Worthington. 2005-02-22 19:06:18 +00:00
Bruce Momjian
64011b4dce Add:
> 	* Add internationalized message strings
2005-02-22 04:08:01 +00:00
Bruce Momjian
78bb800bc2 Update initdb locale/encoding documentation description. Backpatch to
8.0.X.
2005-02-22 02:54:19 +00:00
Bruce Momjian
3236250238 Add port mention:
< * Add the client IP address to pg_stat_activity
> * Add the client IP address and port to pg_stat_activity
2005-02-21 18:51:07 +00:00
Bruce Momjian
daab1a7dc0 Update Russian FAQ.
Viktor Vislobokov
2005-02-21 17:33:54 +00:00
Bruce Momjian
ac1cbc8079 Clarify item:
< * Allow server configuration parameters to be remotely modified
> * Allow pg_hba.conf settings to be controlled via SQL
>
>   This would require a new global table that is dumped to flat file for
>   use by the postmaster.  We do a similar thing for pg_shadow currently.
>
2005-02-21 17:30:33 +00:00
Neil Conway
ccf5db73eb Fix two typos, per report from Hashem Masoud. 2005-02-21 06:12:14 +00:00
Bruce Momjian
d5b98e4ce0 Clarify item:
< * Consider use of open/fcntl(O_DIRECT) to minimize OS caching
> * Consider use of open/fcntl(O_DIRECT) to minimize OS caching,
>   especially for WAL writes
2005-02-21 04:58:52 +00:00
Neil Conway
99bf6a1634 Updates to the bibliography. Patch from Michael Fuhr. 2005-02-21 02:21:03 +00:00
Neil Conway
f18752dab5 Document the "register" and "unregister" pg_ctl subcommands, for use on
Windows. Patch from Magnus Hagander.
2005-02-21 02:13:26 +00:00
Tom Lane
60b2444cc3 Add code to prevent transaction ID wraparound by enforcing a safe limit
in GetNewTransactionId().  Since the limit value has to be computed
before we run any real transactions, this requires adding code to database
startup to scan pg_database and determine the oldest datfrozenxid.
This can conveniently be combined with the first stage of an attack on
the problem that the 'flat file' copies of pg_shadow and pg_group are
not properly updated during WAL recovery.  The code I've added to
startup resides in a new file src/backend/utils/init/flatfiles.c, and
it is responsible for rewriting the flat files as well as initializing
the XID wraparound limit value.  This will eventually allow us to get
rid of GetRawDatabaseInfo too, but we'll need an initdb so we can add
a trigger to pg_database.
2005-02-20 02:22:07 +00:00
Bruce Momjian
2abe40aac7 Fix typo in SGML. 2005-02-19 04:39:52 +00:00
Bruce Momjian
eea1ef2c85 Add reference to the NewbieDoc Docbook Guide. 2005-02-19 04:34:17 +00:00
Bruce Momjian
477a64d9c8 Update question text:
<H4><A name="4.20">4.20</A>) Why do I get "missing oid" errors when
    accessing temporary tables in PL/PgSQL functions?</H4>

Merlin Moncure
2005-02-15 04:35:37 +00:00
Bruce Momjian
a284e174a3 Update Momjain book URL. 2005-02-15 04:03:46 +00:00
Bruce Momjian
f58918ecd0 Update URL for Momjian book. 2005-02-15 04:02:25 +00:00
Bruce Momjian
bb8fcd6713 Change wording:
<   The agreed syntax is:
>   The proposed syntax is:
2005-02-15 03:54:19 +00:00
Bruce Momjian
50263789d6 Add mention of syntax for GRANT ALL:
>   The agreed syntax is:
> 	GRANT SELECT ON ALL TABLES IN public TO phpuser;
> 	GRANT SELECT ON NEW TABLES IN public TO phpuser;
>
2005-02-15 03:53:00 +00:00
Bruce Momjian
b39ce1ccec Fix typo:
< 	o Allow COPY FROM ... CVS to interpret newlines and carriage
> 	o Allow COPY FROM ... CSV to interpret newlines and carriage
2005-02-15 03:17:41 +00:00
Bruce Momjian
43410176a8 Add:
> * Add xpath_array() to /contrib/xml2 to return results as an array
2005-02-15 02:27:36 +00:00
Bruce Momjian
b25bb4fd44 Add:
> * Allow the creation of indexes with mixed ascending/descending specifiers
2005-02-14 19:51:17 +00:00
Neil Conway
73f5c9d90e Minor consistency improvement. 2005-02-14 00:54:26 +00:00
Bruce Momjian
f25df821a9 Add:
> * Make src/port/snprintf.c thread-safe
2005-02-14 00:03:57 +00:00
Tom Lane
c6521b1b93 Write some real documentation about the index access method API. 2005-02-13 03:04:15 +00:00
Bruce Momjian
5e73d4361c Clarify:
< * Add IP address to pg_stat_activity
> * Add the client IP address to pg_stat_activity
2005-02-13 00:10:41 +00:00
Bruce Momjian
6370007ce8 Add:
> * Add IP address to pg_stat_activity
2005-02-13 00:09:34 +00:00
Bruce Momjian
49c320b19d Update to Russian FAQ, HEAD and 8.0.X. 2005-02-11 04:53:51 +00:00
Bruce Momjian
341251f202 Make clearer warning about using 'now' with DEFAULT:
SELECT CURRENT_TIMESTAMP;
	SELECT now();
	SELECT TIMESTAMP 'now';  -- incorrect for use with DEFAULT
2005-02-11 04:31:54 +00:00
Bruce Momjian
056a664fa1 Mention that some psql environment variables come from libpq and note
more variables can be found in the libpq manual section.

Mention .pgpass in the psql manual page section dealing with connection
parameters and point to the libpq section for more details.

Backpatch to 8.0.X.
2005-02-11 04:19:05 +00:00
Neil Conway
35878b9bc6 Add some index entries for RAISE and exception handling in PL/PgSQL. Per
suggestion from Rainer Brandt.
2005-02-10 06:08:22 +00:00
Neil Conway
cf1f6f98f2 Improvements to documentation of shared memory configuration under
FreeBSD. From Mark Kirkwood, editorializing by Neil Conway.
2005-02-10 05:14:58 +00:00
Neil Conway
280cae35aa Use now() rather than 'now' in an example in the PL/PgSQL docs. From David
Fetter and Ben Calvert.
2005-02-10 05:01:07 +00:00
Bruce Momjian
8f5b4c8c8c Update pginstaller URL to http://www.postgresql.org/ftp/win32/.
Backpatch to 8.0.X.
2005-02-10 04:52:31 +00:00
Bruce Momjian
38efdc8bc1 Spacing:
< *  Allow the PITR process to be debugged and data examined
> * Allow the PITR process to be debugged and data examined
2005-02-08 03:23:51 +00:00
Bruce Momjian
dc95779679 It seems like most people don't want automatic failover so I am removing
the item:

< 	o Automatic failover
<
< 	  The proper solution to this will probably the use of a master/slave
< 	  replication solution like Sloney and a connection pooling tool like
< 	  pgpool.
<
2005-02-08 03:21:02 +00:00
Neil Conway
c76ff4bc4e Better late than never: document that the GiST API changed in 8.0 in the
"incompatibilities" section of the release notes.
2005-02-06 22:31:50 +00:00
Tom Lane
e507399790 Document array behavior for out-of-range subscripts. 2005-02-06 20:59:30 +00:00
Neil Conway
ad893a361d Minor SGML improvements. 2005-02-03 07:12:37 +00:00
Bruce Momjian
b3a7e987a1 Improve wording of to_char() change in 8.1:
The 8.1 release will remove the <function>to_char()</> function
      for intervals.
2005-02-02 18:16:13 +00:00
Bruce Momjian
f69513df17 Update FAQ numbering. 2005-02-02 17:44:22 +00:00
Bruce Momjian
947ae56d80 Update RESET ALL items:
<   all temporary tables, removal of any NOTIFYs, etc.  This could be used
<   for connection pooling.  We could also change RESET ALL to have this
<   functionality.
>   all temporary tables, removal of any NOTIFYs, cursors, prepared
>   queries(?), currval()s, etc.  This could be used for connection pooling.
>   We could also change RESET ALL to have this functionality.
2005-02-02 17:26:49 +00:00
Bruce Momjian
cde6056e34 Remove pgsql_tmp directory FAQ item. 2005-02-02 13:41:18 +00:00
Neil Conway
73f630500b Add support for temporary views, including documentation and regression
tests. Contributed by Koju Iijima, review from Neil Conway, Gavin Sherry
and Tom Lane.

Also, fix error in description of WITH CHECK OPTION clause in the CREATE
VIEW reference page: it should be "CASCADED", not "CASCADE".
2005-02-02 06:36:02 +00:00
Bruce Momjian
48522fd30d Add Josh's performance page. 2005-02-01 21:11:06 +00:00
Bruce Momjian
68b0e29800 Add FETCH/MOVE:
< * Change LIMIT/OFFSET to use int8
> * Change LIMIT/OFFSET and FETCH/MOVE to use int8
2005-02-01 04:56:53 +00:00
Bruce Momjian
bb14d8becf Add:
> * Allow GRANT/REVOKE permissions to be inherited by objects based on
>   schema permissions
2005-02-01 04:54:43 +00:00
Bruce Momjian
4f63cc6a30 Final FAQ cleanups to remove information about very old releases. 2005-02-01 02:40:50 +00:00
Bruce Momjian
3c16965995 Remove outer join simulation using UNION now that we have had outer
joins for quite a long time.
2005-02-01 02:35:48 +00:00
Bruce Momjian
2de7ebe910 Remove FAQ about database terms. 2005-02-01 02:31:59 +00:00
Bruce Momjian
2ccf79a6a1 Remove FAQ mention of DROP column. 2005-02-01 01:41:37 +00:00
Bruce Momjian
25deba3141 Update LIMIT/FETCH FAQ item. 2005-02-01 01:36:13 +00:00
Bruce Momjian
14f5c84589 Update connections FAQ item. 2005-02-01 00:19:15 +00:00
Bruce Momjian
0c86f0e174 Fix markup typo. 2005-01-31 22:59:06 +00:00
Bruce Momjian
1b2ebc591c Update debeug FAQ. 2005-01-31 22:58:00 +00:00
Bruce Momjian
d96398d1eb Restructure debug FAQ entry. 2005-01-31 22:57:17 +00:00
Bruce Momjian
1f7aa643b6 Reorganize FAQ entry on performance. 2005-01-31 20:40:46 +00:00
Bruce Momjian
7069a885af Update admin tools FAQ. 2005-01-31 02:45:32 +00:00
Bruce Momjian
2149b54f1c Update PHP mention. 2005-01-31 02:43:11 +00:00
Bruce Momjian
cd63e08f86 Remove "Support" FAQ item. We now have a tab on our web site. 2005-01-31 02:40:00 +00:00
Bruce Momjian
18013e25c6 Wording improvement. 2005-01-31 02:19:23 +00:00
Bruce Momjian
131ff4e5cd Reorder support FAQ items. 2005-01-31 02:17:11 +00:00
Bruce Momjian
14f3fb610d Update section to mention developer's FAQ. 2005-01-31 02:09:34 +00:00
Bruce Momjian
83d8591081 Mention releases are every 10-12 months now. 2005-01-31 01:59:54 +00:00
Bruce Momjian
e688443cbf Simplify FAQ item about obtaining support. 2005-01-31 01:53:49 +00:00
Bruce Momjian
0a12c53385 Clarify license FAQ item. 2005-01-31 01:38:10 +00:00
Bruce Momjian
810b5072dd Modernize the FAQ item "What is PostgreSQL" to skip most historical
information.
2005-01-31 01:26:31 +00:00
Tom Lane
0c109c7187 Recommend security@postgresql.org as the contact point for security-related bugs. 2005-01-30 21:31:48 +00:00
Bruce Momjian
790c666931 Update FAQ text file. 2005-01-30 04:45:01 +00:00
Bruce Momjian
60d6f49a47 FAQ markup fixes. 2005-01-30 04:44:11 +00:00
Bruce Momjian
576853a79a Fix ampersand in URL. 2005-01-30 04:25:26 +00:00
Bruce Momjian
d79f2d4036 Remove IN/slow FAQ item because it only applies to <=7.3.X. 2005-01-30 04:20:52 +00:00
Bruce Momjian
bfc536217d Remove GEQO and Rtree FAQ items. 2005-01-30 04:16:11 +00:00
Bruce Momjian
4c8a690d54 More index item rewording.kUpdate FAQ. 2005-01-30 04:06:26 +00:00
Bruce Momjian
bbefccec09 Reword index/slow query item. 2005-01-30 04:05:15 +00:00
Bruce Momjian
97052bc9c9 Remove FAQ item about binary cursors. 2005-01-30 04:03:02 +00:00
Bruce Momjian
e136a49c5d Remove FAQ items about IPC errors. We now report the help description
right in the failure.  We can always re-add it if required.
2005-01-30 04:00:19 +00:00
Bruce Momjian
93e1795404 Merge two Interfaces FAQ items into one. 2005-01-30 03:52:46 +00:00
Bruce Momjian
a3b7d45807 Merge unix and non-unix platform faq items, and remove Y2K item. 2005-01-30 02:22:08 +00:00
Bruce Momjian
811df91340 Update OID item description. 2005-01-30 02:06:33 +00:00
Tom Lane
64428b8daf Preliminary release notes for 8.0.1, 7.4.7, 7.3.9, 7.2.7. 2005-01-30 01:26:41 +00:00
Tom Lane
5703a69003 We haven't had a fixed limit on rule recursion depth since 7.3 ...
but the documentation still said so.
2005-01-29 23:45:36 +00:00
Tom Lane
750d9171f6 Add documentation for format_type(), which somehow escaped it before. 2005-01-28 23:12:59 +00:00
Tom Lane
a9fec25df8 Add note cautioning that you can't use an encrypting IDENT server
with Postgres.
2005-01-28 22:38:37 +00:00
Tom Lane
f07b9689c9 Generalize TRUNCATE to support truncating multiple tables in one
command.  This is useful because we can allow truncation of tables
referenced by foreign keys, so long as the referencing table is
truncated in the same command.

Alvaro Herrera
2005-01-27 03:19:37 +00:00
Tom Lane
aba691b728 Close all cursors created during a failed subtransaction. This is needed
to avoid problems when a cursor depends on objects created or changed in
the same subtransaction.  We'd like to do better someday, but this seems
the only workable answer for 8.0.1.
2005-01-26 23:20:21 +00:00
Tom Lane
4de12d4470 Add docs for a couple of formerly-undocumented geometric conversion functions. 2005-01-26 20:42:19 +00:00
Bruce Momjian
d08889aa8b Add tools/find_gt_lt to find < and > in SGML source.
Lowercase some uppercase tags so tools is more reliable at finding
problems.
2005-01-23 00:30:59 +00:00
Bruce Momjian
754b5e1c42 More < and > changes to ampersands.
8.0.X and HEAD.
2005-01-22 23:22:19 +00:00
Bruce Momjian
1ced129aa3 More < and > cleanups converted to ampersands. 2005-01-22 22:56:36 +00:00
Bruce Momjian
9e292e3e48 More fixes for => and ->, use proper ampersand markups. 2005-01-22 22:31:52 +00:00
Bruce Momjian
1e5eb160d1 Change -> and <- to use proper ampersand markups.
HEAD and 8.0.X.
2005-01-22 22:06:27 +00:00
Bruce Momjian
b60a8512a0 Update count(*) discussion ideas:
<   BY col {DESC} LIMIT 1. Completing this item involves making this
>   BY col {DESC} LIMIT 1. Completing this item involves doing this
<   invalidated if anyone modifies the table.
<
>   invalidated if anyone modifies the table.  Another idea is to
>   get a count directly from a unique index, but for this to be
>   faster than a sequential scan it must avoid access to the heap
>   to obtain tuple visibility information.
>
> * Allow data to be pulled directly from indexes
>
>   Currently indexes do not have enough tuple tuple visibility
>   information to allow data to be pulled from the index without
>   also accessing the heap.  One way to allow this is to set a bit
>   to index tuples to indicate if a tuple is currently visible to
>   all transactions when the first valid heap lookup happens.  This
>   bit would have to be cleared when a heap tuple is expired.
>
2005-01-22 20:05:23 +00:00
Bruce Momjian
a73198ac17 Document that Rekall is GPL now. 2005-01-19 19:45:52 +00:00
Bruce Momjian
0d19d8b846 Add:
> * Add 'tid != tid ' operator for use in corruption recovery
2005-01-19 14:17:48 +00:00
Bruce Momjian
3fc86c0f47 Fix typo. 2005-01-19 03:13:07 +00:00
Bruce Momjian
31197bbdf5 Update version stamps for 8.1 as listed in RELEASE_CHANGES. 2005-01-18 05:00:35 +00:00
Tom Lane
0f6be37fcb Clarify that the --enable-integer-datetimes switch affects the time and
interval datatypes as well as timestamp.
2005-01-17 18:47:15 +00:00
Bruce Momjian
be105bd789 Please find enclosed another patch that now (I hope) really is
correct.  It's in addition to the previous patch.

David Fetter
2005-01-17 17:29:49 +00:00
Neil Conway
8a9cc26ee1 Fix minor thinko in pg_dump documentation of "-n" option. 2005-01-17 04:30:37 +00:00
Bruce Momjian
691bb1d247 Spelling fix. 2005-01-17 04:27:23 +00:00
Bruce Momjian
6ea9da1ee0 Please find enclosed a patch to the pl/perl documents that correctly
tells what arguments go to pl/perl triggers.

David Fetter
2005-01-17 03:04:17 +00:00
Bruce Momjian
56d982b7d4 Mention ALTER COLUMN TYPE in FAQ. 2005-01-17 03:02:56 +00:00
Bruce Momjian
5be1e13dd1 Update German FAQ.
Ian Barwick
2005-01-17 02:42:31 +00:00
Bruce Momjian
d2136690a6 Update to 8.0.0 for packaging. 2005-01-17 02:40:56 +00:00
Peter Eisentraut
637cf69b9d Update supported platforms list. 2005-01-17 02:29:23 +00:00
Tom Lane
9175d7df66 Some more copy-editing. 2005-01-17 01:29:02 +00:00
Bruce Momjian
da10a47b39 Remove </a>
Alvaro
2005-01-15 22:51:10 +00:00
Bruce Momjian
2d3746759d Update TORA item.
Euler Taveira de Oliveira
2005-01-15 22:44:18 +00:00
Bruce Momjian
6987ca78db Update Brazilian FAQ.
Euler Taveira de Oliveira
2005-01-15 22:14:08 +00:00
Tom Lane
a5645972af Some minor editing work on the release notes. 2005-01-15 21:11:46 +00:00
Tom Lane
0e3afb3277 Minor improvements in descriptions of recent changes. 2005-01-15 07:53:04 +00:00
Bruce Momjian
67c1fd1efd Update release notes for 8.0.0 final. Release date set as 2005-01-19! 2005-01-15 05:59:44 +00:00
Bruce Momjian
0b72ebdc0c Merge query of system objects FAQ items. 2005-01-15 05:19:01 +00:00
Tom Lane
893c66de69 Simplify trigger example, per Mark Kirkwood. 2005-01-15 03:38:44 +00:00
Kris Jurka
2c1abfd979 Add index entries for function volatilities. 2005-01-14 21:46:09 +00:00
Tom Lane
a294726bc1 Incorporate examples and doc patches from Mark Kirkwood and David Fetter. 2005-01-14 01:16:52 +00:00
Bruce Momjian
29e58330a6 Change Win32 client configuration files from *.txt to *.conf. 2005-01-14 00:25:56 +00:00
Peter Eisentraut
145cc515f0 Update supported platforms list. 2005-01-13 21:13:33 +00:00
Bruce Momjian
c2eef62c66 Update of Japanese FAQ.
Jun Kuwamura
2005-01-13 03:08:14 +00:00
Peter Eisentraut
89b5cbe928 Update supported platforms list. 2005-01-10 09:01:04 +00:00
Peter Eisentraut
35fde297c0 Small polishing of bug reporting template 2005-01-10 08:21:43 +00:00
Tom Lane
ab3bb9cf78 Add some real documentation about TOAST (finally). Combine this with
the old 'page' chapter and the recently added 'filelayout' chapter to
make a coherent chapter about PostgreSQL's physical storage layout.
2005-01-10 00:04:43 +00:00
Tom Lane
0471cd5f62 Clarify description of greedy and non-greedy POSIX regular expressions,
per discussion in Nov 2004 with Ken Tanzer.
2005-01-09 20:08:50 +00:00
Bruce Momjian
a9566cccca Update OS/2 URL. 2005-01-09 19:44:25 +00:00
Tom Lane
7da8623a56 Last batch of updates in response to 7.4 interactive docs comments. 2005-01-09 18:58:10 +00:00
Tom Lane
7bbdb078bd Update discussion of ALTER TABLE ADD COLUMN, per Michael Fuhr. 2005-01-09 17:47:30 +00:00
Tom Lane
b548cde1f5 Some more small improvements in response to 7.4 interactive docs comments. 2005-01-09 05:57:45 +00:00
Tom Lane
b5adf46cbd Some more small improvements in response to 7.4 interactive docs comments. 2005-01-08 22:13:38 +00:00
Peter Eisentraut
b19011e10c Update supported platforms list. 2005-01-08 09:54:47 +00:00
Tom Lane
6889537c48 Some small docs improvements motivated by reading the comments for the 7.4
7.4 interactive docs.
2005-01-08 05:19:18 +00:00
Bruce Momjian
cb6eab78b7 Remove mp3 that is now missing. 2005-01-08 03:59:04 +00:00
Tom Lane
cef2cc50b5 Some small docs improvements motivated by reading the comments for the
7.4 interactive docs.
2005-01-08 01:44:08 +00:00
Tom Lane
ffce35fe6f Add a tip showing how functions on composite types can be used to
emulate computed fields.  I suppose this is why the Berkeley boys made
it work that way in the first place, but the docs never said so anyplace.
2005-01-07 23:08:44 +00:00
Tom Lane
4e64e7f563 Improve discussion of SQL functions taking/returning row types. 2005-01-07 22:40:46 +00:00
Peter Eisentraut
7a986fb4a4 Update supported platforms list 2005-01-07 10:21:02 +00:00
Bruce Momjian
826f732562 Fix ECPGstatus() documentation of parameters.
Edmund Bacon
2005-01-07 05:43:28 +00:00
Tom Lane
41ca756386 Spell APPDATA as %APPDATA%, per recommendation from Magnus. 2005-01-06 21:20:44 +00:00
Tom Lane
7507d594d2 Adjust examples to avoid using keywords as identifiers, per Honda Shigehiro. 2005-01-06 20:53:34 +00:00
Tom Lane
a3f98d5795 Adjust lookup of client-side profile files (.pgpass and so on) as per
discussion on pgsql-hackers-win32 list.  Documentation still needs to
be tweaked --- I'm not sure how to refer to the APPDATA folder in
user documentation.
2005-01-06 18:29:11 +00:00
Peter Eisentraut
f4833cf30c Update to supported platforms list 2005-01-06 10:12:22 +00:00
Tom Lane
d6294efbec More minor updates and copy-editing. 2005-01-06 01:49:24 +00:00
Tom Lane
e0b9085074 Re-readjust synopses for CREATE/ALTER USER. 2005-01-06 00:11:14 +00:00
Tom Lane
81c41e3d0e More minor updates and copy-editing. 2005-01-05 23:42:03 +00:00
Bruce Momjian
b4b984bccf Update URL's to point to new site main location. 2005-01-05 22:37:28 +00:00
Bruce Momjian
a87f494d9c Fix example, change table name from 'array' to 'array_int'. 2005-01-05 18:03:19 +00:00
Bruce Momjian
a8d97fcded Update date stamp. 2005-01-05 17:52:28 +00:00
Bruce Momjian
a7ef12f56a Update URLs. 2005-01-05 17:42:09 +00:00
Peter Eisentraut
8c6147b911 Revert cosmetic synopsis changes that break psql translations. 2005-01-05 14:22:39 +00:00
Peter Eisentraut
10e5a759aa Add some post-processing to the man page generation to fix up external/
dangling cross-references.
2005-01-04 21:03:30 +00:00
Bruce Momjian
6ca9f46e22 Remove duplicate novell mention. 2005-01-04 14:25:16 +00:00
Tom Lane
a7abae4954 Fix subsection ordering (DISTINCT should be described before LIMIT). 2005-01-04 08:59:45 +00:00
Bruce Momjian
33a6dcfcce Update wording:
< * Allow building with directories containing spaces
> * Allow building in directories containing spaces
<   There are two capabilities here, first the ability to build from a
<   source directory that contains spaces, and second the ability to install
<   into a directory that contains spaces.  The first is probably not
<   possible because 'gmake' and other compiler tools do not fully support
<   spaces in path names.  The second is possible with proper quoting in
<   the makefiles.  Because PostgreSQL supports relocatable installs, it
<   is possible to install into a directory that doesn't contain spaces and
<   then copy the install to a directory with spaces.
>   This is probably not possible because 'gmake' and other compiler tools
>   do not fully support quoting of paths with spaces.
>
> * Allow installing to directories containing spaces
>
>   This is possible if proper quoting is added to the makefiles for the
>   install targets.  Because PostgreSQL supports relocatable installs, it
>   is already possible to install into a directory that doesn't contain
>   spaces and then copy the install to a directory with spaces.
2005-01-04 05:35:45 +00:00
Bruce Momjian
24cab1e8d1 Update item for install with spaces:
>   There are two capabilities here, first the ability to build from a
>   source directory that contains spaces, and second the ability to install
>   into a directory that contains spaces.  The first is probably not
>   possible because 'gmake' and other compiler tools do not fully support
>   spaces in path names.  The second is possible with proper quoting in
>   the makefiles.  Because PostgreSQL supports relocatable installs, it
>   is possible to install into a directory that doesn't contain spaces and
>   then copy the install to a directory with spaces.
2005-01-04 05:13:39 +00:00
Tom Lane
cc093bc3ad More minor updates and copy-editing. 2005-01-04 03:58:16 +00:00
Bruce Momjian
248d92ddf4 Update of Russian FAQ.
Viktor Vislobokov
2005-01-04 03:47:03 +00:00
Bruce Momjian
b2ccdf2a44 HTML cleanup. 2005-01-04 03:44:50 +00:00
Bruce Momjian
43eb2830eb Add OS/2 port mention. 2005-01-04 03:43:28 +00:00
Tom Lane
4e94ea9fc9 More minor updates and copy-editing. 2005-01-04 00:39:53 +00:00
Bruce Momjian
246be304a5 Add mention of performance impact on LIKE of non-C locales. 2005-01-04 00:05:45 +00:00
Bruce Momjian
11373311d0 Add:
> * Allow building with directories containing spaces
2005-01-02 21:08:14 +00:00
Tom Lane
a17e589046 Adjust a few more copyright notices to match the format expected by
the src/tools/copyright script.
2005-01-01 22:14:33 +00:00
Bruce Momjian
3ca924a9dd Update:
< 	  the Win32 wcscoll() can be used.
> 	  the Win32 wcscoll() can be used, and perhaps other functions
> 	  like towupper().
2005-01-01 17:29:17 +00:00
Bruce Momjian
bfeaefd245 Update:
< 	  the Win32 strcoll() can be used.
> 	  the Win32 wcscoll() can be used.
2005-01-01 17:25:01 +00:00
Bruce Momjian
f882247664 Update:
<         o Disallow encodings like UTF8 which which PostgreSQL supports
>         o Disallow encodings like UTF8 which PostgreSQL supports
914a915,917
>
> 	  To fix UTF8, the data needs to be converted to UTF16 and then
> 	  the Win32 strcoll() can be used.
2005-01-01 16:36:57 +00:00
PostgreSQL Daemon
2ff501590b Tag appropriate files for rc3
Also performed an initial run through of upgrading our Copyright date to
extend to 2005 ... first run here was very simple ... change everything
where: grep 1996-2004 && the word 'Copyright' ... scanned through the
generated list with 'less' first, and after, to make sure that I only
picked up the right entries ...
2004-12-31 22:04:05 +00:00
Tom Lane
883ac5ca7a More minor updates and copy-editing. 2004-12-30 21:45:37 +00:00
Tom Lane
c3d583ddce More updates and copy-editing. Rearrange order of sections a little bit
to put more widely useful info before less widely useful info.
2004-12-30 03:13:56 +00:00
Tom Lane
ec0e307596 Convert external-projects to an appendix. 2004-12-29 23:36:47 +00:00
Tom Lane
d9236a69fc Make libpq default to localhost connections on machines without Unix-domain
sockets, rather than failing as it formerly did.  Revert the
thereby-obsoleted patch to make psql supply the localhost default.
2004-12-28 23:17:54 +00:00
Tom Lane
797c2b2501 More minor updates and copy-editing. 2004-12-28 22:47:15 +00:00
Tom Lane
7737d01ece More minor updates and copy-editing. 2004-12-28 19:08:58 +00:00
Tom Lane
31cc047d94 BDST should be "British double SUMMER time", not Standard time.
Per John Smith.
2004-12-28 15:25:55 +00:00
Bruce Momjian
af71fbafd0 Add:
> * Improve the background writer
>
>   Allow the background writer to more efficiently write dirty buffers
>   from the end of the LRU cache and use a clock sweep algorithm to
>   write other dirty buffers to reduced checkpoint I/O
2004-12-27 22:44:44 +00:00
Tom Lane
008e9e452f More minor updates and copy-editing. 2004-12-27 22:30:10 +00:00
Tom Lane
39475990e0 Move info about psql console code page issues out of install-win32.sgml,
where it doesn't belong, and put it in the psql reference page.
2004-12-27 20:13:48 +00:00
Tom Lane
370f90970d Cause pg_hba.conf file inclusion (@file stuff) to behave as documented,
that is, files are sought in the same directory as the referencing file.
Also allow absolute paths in @file constructs.  Improve documentation
to actually say what is allowed in an included file.
2004-12-27 19:19:24 +00:00
Tom Lane
cdd402f8b3 More minor updates and copy-editing. 2004-12-26 23:06:56 +00:00
Bruce Momjian
e40ae565c2 Improve Win32 install instructions. 2004-12-24 19:20:18 +00:00
Tom Lane
7cc37511a2 Minor updates and copy-editing. 2004-12-24 19:12:37 +00:00
Bruce Momjian
c62465cba3 Back out Win32 changes until Tom is done. 2004-12-24 18:37:26 +00:00
Bruce Momjian
91e081d515 Adjust documention for Win32 installation options. 2004-12-24 18:32:50 +00:00
Bruce Momjian
e4ff7c5e94 Update docs for Win32 installation, per Tom. 2004-12-24 18:11:16 +00:00
Bruce Momjian
860d507b89 Updates from Ian Barwick.
Update FAQ with new URL's for site.
2004-12-24 17:19:23 +00:00
Bruce Momjian
8a10119bf3 Update FAQ. 2004-12-24 17:13:51 +00:00
Bruce Momjian
bad4897d9f Update FAQ with new URL's for site. 2004-12-24 16:02:36 +00:00
Tom Lane
0add759825 More minor updates and copy-editing. 2004-12-23 23:07:38 +00:00
Tom Lane
f8ffb60492 A small pass of docs review and copy-editing. 2004-12-23 05:37:40 +00:00
Bruce Momjian
766b0bbb4d Add mention that pg_ctl will return an accurate exit code when waiting
for startup or shutdown.  We have always done this but it wasn't documented.
2004-12-22 02:17:15 +00:00
Bruce Momjian
c20d6062a3 Add:
> *  Allow the PITR process to be debugged and data examined
2004-12-21 01:23:54 +00:00
Bruce Momjian
7f938227c5 Add:
> * Allow a warm standby system to also allow read-only queries
2004-12-21 01:21:50 +00:00
Bruce Momjian
bbb2e21e14 I was recently surprised to find that EXTRACT's day of the week
numbering is different than TO_CHAR's ditto. EXTRACT starts at 0==Sunday
while TO_CHAR starts at 1==Sunday.

A suggestion for two documentation notes is attached as a patch to
current CVS HEAD.

Troels Arvin
2004-12-21 01:02:28 +00:00
Tom Lane
b5ae0d69da Mark the TimeZone parameter as GUC_REPORT, so that JDBC can find out
when it changes.  Per request from Kris Jurka.
2004-12-20 18:15:07 +00:00
Tom Lane
59bffa3707 Adjust pg_resetxlog to handle 8.0 WAL file names properly. 2004-12-20 01:42:11 +00:00
Tom Lane
8562b032d8 Fix broken markup. 2004-12-19 22:10:41 +00:00
Bruce Momjian
cd5c7e7cbd Add:
> * Allow psql \pset boolean variables to set to fixed values, rather than toggle
2004-12-19 04:36:27 +00:00
Tom Lane
afc4ffe3c8 Add note warning that OS X updates usually overwrite /etc/rc. 2004-12-18 18:36:33 +00:00
Bruce Momjian
5dac7c73c7 Changes the doc's to reflect what the user will find as default.
Robert Treat
2004-12-18 04:21:43 +00:00
Bruce Momjian
50b1651df7 Many thanks to Joachim Wieland for a big list of corrections / updates.
Ian Barwick
2004-12-18 04:18:21 +00:00
Bruce Momjian
2f7faa5473 Update from Ian Barwick 2004-12-18 04:13:20 +00:00
Tom Lane
92c001bbaf Minor copy-editing in tutorial. 2004-12-17 04:50:32 +00:00
Neil Conway
480777e56c Allow 'ELSEIF' as an alternative to 'ELSIF' in PL/PgSQL. There have been
several reports of users being confused when they attempt to use ELSEIF
and run into trouble due to PL/PgSQL's lax parser. The parser will be
improved for 8.1, but we can fix most of the problem by allowing ELSEIF
for now.
2004-12-17 03:51:36 +00:00
Tom Lane
dfdae5d63c Hook up the plpython result-object nrows and status methods correctly.
Adjust documentation to match current reality.
2004-12-17 02:14:48 +00:00
Bruce Momjian
24658a2d53 Add Win32:
>         o Disallow encodings like UTF8 which which PostgreSQL supports
>           but the operating system does not (already disallowed by
> 	  pginstaller)
2004-12-17 00:04:30 +00:00
Peter Eisentraut
8e0598f7b1 Add port report 2004-12-16 11:23:16 +00:00
Bruce Momjian
50f1daeaaa Add French IRC channel. 2004-12-16 01:08:23 +00:00
Bruce Momjian
d78fc95bda Add Spanish IRC channel to FAQ. 2004-12-16 00:01:33 +00:00
Bruce Momjian
e61648d835 Update IRC mention. 2004-12-15 03:11:26 +00:00
Peter Eisentraut
70dc2f6abb Add port reports 2004-12-14 10:24:27 +00:00
Peter Eisentraut
374abf9178 Add more port reports. 2004-12-14 00:36:12 +00:00
Bruce Momjian
3ff0418293 Remove:
< 	o Allow the shared memory address to be configured via GUC
2004-12-13 18:40:30 +00:00
Peter Eisentraut
5ec30faee6 Spell checker run 2004-12-13 18:05:10 +00:00
Bruce Momjian
cc4f22c167 Done:
< 	o Remove per-backend parameter file and move into shared memory

Add for Win32:
> 	o Allow the shared memory address to be configured via GUC
2004-12-13 18:00:51 +00:00
Bruce Momjian
e13c5cd33b Add:
>
> * Allow the size of the buffer cache used by temporary objects to be
>   specified as a GUC variable
>
>   Larger local buffer cache sizes requires more efficient handling of
>   local cache lookups.
2004-12-13 14:21:32 +00:00
Bruce Momjian
cbc1886b30 Update FAQ.
Euler Taveira de Oliveira
2004-12-13 03:37:09 +00:00
Peter Eisentraut
fd536dd257 Added port reports 2004-12-11 20:54:14 +00:00
Peter Eisentraut
d89042b443 Patch to the pl/perl documents that clarifies the scope of global data and
gives an example of storing a code reference

by David Fetter
2004-12-11 20:03:37 +00:00
Peter Eisentraut
607154df90 Added port reports 2004-12-11 19:31:45 +00:00
Peter Eisentraut
f4451a9e59 Added port report 2004-12-11 19:13:32 +00:00
Peter Eisentraut
ed244968c0 Added port report 2004-12-11 19:01:46 +00:00
Bruce Momjian
4abfc20f09 Reorder IRC examples. 2004-12-10 18:01:59 +00:00
Peter Eisentraut
e514da649e Start filling in the supported platforms list with build farm information. 2004-12-06 23:47:08 +00:00
Tom Lane
29a26b25ba Fix several mistaken xreflabel entries, including those spotted by
Michael Fuhr.
2004-12-05 20:05:47 +00:00
Bruce Momjian
510a47a91e Properl format HTML in developer's FAQ. 2004-12-04 04:12:11 +00:00
Bruce Momjian
2254d4ef1b Back out ARRAY() patch. 2004-12-03 18:34:31 +00:00
Tom Lane
59ce952a89 Improve description of --disable-rpath workaround for regression test
problems.
2004-12-03 17:46:19 +00:00
Bruce Momjian
c1233c849b >>This patch adds another plpgsql trigger example to the chapter. It uses
>>the emp table again, but shows how to audit changes into another table
>>(emp_audit).

Mark Kirkwood
2004-12-03 17:12:09 +00:00
Bruce Momjian
cf52f83aa6 Add:
> * ANALYZE should record a pg_statistic entry for an all-NULL column
2004-12-03 17:07:50 +00:00
Bruce Momjian
4aa09c5762 Typo fixes. 2004-12-03 06:30:40 +00:00
Bruce Momjian
e5615c42a7 Fix typo. 2004-12-03 06:18:12 +00:00
Bruce Momjian
b5a6e26f3a Merge pgadmin paragraph. 2004-12-03 06:04:38 +00:00
Bruce Momjian
6b16aaa065 First version of external projects manual section. 2004-12-03 05:50:18 +00:00
Bruce Momjian
28c8c99ac6 Add:
> * Fix priority ordering of read and write light-weight locks (Neil)
2004-12-03 02:24:01 +00:00
Bruce Momjian
e5fddaa819 Remove doc changes that were in process during previous commit. 2004-12-03 01:23:38 +00:00
Bruce Momjian
08e0b34bad Back out fix for Unicode characters above 0x10000 2004-12-03 01:20:33 +00:00
Bruce Momjian
9b711e766e Add:
<
> 	o Fix problem with shared memory on the Win32 Terminal Server
2004-12-02 23:11:30 +00:00
Bruce Momjian
4af2ea329b Add documention on ARRAY() function.
David Fetter
2004-12-02 21:04:47 +00:00
Bruce Momjian
020cf90900 Add mention of using --disable-rpath with regression test. 2004-12-02 20:35:45 +00:00
Bruce Momjian
576bf2f7db Add for Win32:
> 	o Improve dlerror() reporting string
2004-12-02 19:37:58 +00:00
Bruce Momjian
be6e9f6266 Add:
> * Allow a warm standby system to also allow read-only queries
>
>   This is useful for checking PITR recovery.
>
2004-12-02 19:32:57 +00:00
Tom Lane
e9c03c3b1b Disallow the combination VACUUM FULL FREEZE for safety's sake, for the
reasons I outlined in pghackers a few days ago.

Also, undo someone's overly optimistic decision to reduce tuple state
checks from if (...) elog() to Asserts.  If I trusted this code more,
I might think it was a good idea to disable these checks in production
installations.  But I don't.
2004-12-02 19:28:49 +00:00
Bruce Momjian
bbf29949c3 Add:
> * Fix psql's display of schema information (Neil)
2004-12-02 18:13:47 +00:00
Bruce Momjian
22c21bab92 Wording improvement. 2004-12-02 17:39:54 +00:00
Bruce Momjian
91cf5ef550 Document that btrim()'s second parameter is optional, and defaults to spaces. 2004-12-02 17:14:54 +00:00
Bruce Momjian
40b6d68951 Update Brazilian FAQ.
Euler Taveira de Oliveira
2004-12-02 15:49:25 +00:00
Bruce Momjian
8408f65252 Rework libpq threaded SIGPIPE handling to avoid interference with
calling applications.  This is done by blocking sigpipe in the libpq
thread and using sigpending/sigwait to possibily discard any sigpipe we
generated.
2004-12-02 15:32:54 +00:00
Bruce Momjian
b383c1db85 Add:
>
> * Allow FOR UPDATE queries to do NOWAIT locks
>
2004-12-02 04:40:37 +00:00
Neil Conway
64b5789497 This is a little patch to correct the documentation on CVS. The URL for
downloading CVS at cyclic.com site is long defunct, and I changed the text
to not overtly recommend CVS 1.10, a now fairly old version.

Jon Jensen
2004-12-02 04:12:12 +00:00
Bruce Momjian
ec2fce1880 Update Japanese FAQ.
Jun Kuwamura
2004-12-02 03:46:47 +00:00
Bruce Momjian
eebece7d0d Update French FAQ.
Guillaume LELARGE
2004-12-01 22:17:16 +00:00
Tom Lane
4828445d3c Clarify documentation of age() functions. 2004-12-01 19:32:12 +00:00
Tom Lane
5374d097de Change planner to use the current true disk file size as its estimate of
a relation's number of blocks, rather than the possibly-obsolete value
in pg_class.relpages.  Scale the value in pg_class.reltuples correspondingly
to arrive at a hopefully more accurate number of rows.  When pg_class
contains 0/0, estimate a tuple width from the column datatypes and divide
that into current file size to estimate number of rows.  This improved
methodology allows us to jettison the ancient hacks that put bogus default
values into pg_class when a table is first created.  Also, per a suggestion
from Simon, make VACUUM (but not VACUUM FULL or ANALYZE) adjust the value
it puts into pg_class.reltuples to try to represent the mean tuple density
instead of the minimal density that actually prevails just after VACUUM.
These changes alter the plans selected for certain regression tests, so
update the expected files accordingly.  (I removed join_1.out because
it's not clear if it still applies; we can add back any variant versions
as they are shown to be needed.)
2004-12-01 19:00:56 +00:00
Bruce Momjian
b7bcea64ec Add:
> * Allow ecpg to work with MSVC and BCC
2004-12-01 17:39:18 +00:00
Bruce Momjian
7f20a59201 Update with Gavin's additions. 2004-12-01 17:21:58 +00:00
Bruce Momjian
4b9a12b1e9 Remove question mark on COPY CSV fix:
< 	  returns in data?
> 	  returns in data
2004-11-30 22:15:21 +00:00
Bruce Momjian
f02a21b19b Update Turkish FAQ.
Devrim GUNDUZ
2004-11-30 19:42:38 +00:00
Bruce Momjian
8b9a9c9a68 Removed:
< * Make log_min_duration_statement output when the duration is reached rather
<   than when the statement completes
<
<   This prints long queries while they are running, making trouble shooting
<   easier.  Also, it eliminates the need for log_statement because it
<   would now be the same as a log_min_duration_statement of zero.
2004-11-30 19:32:24 +00:00
Bruce Momjian
ff5b6c98bf Add:
> * Make log_min_duration_statement output when the duration is reached rather
>   than when the statement completes
>
>   This prints long queries while they are running, making trouble shooting
>   easier.  Also, it eliminates the need for log_statement because it
>   would now be the same as a log_min_duration_statement of zero.
2004-11-30 18:20:35 +00:00
Bruce Momjian
c3df447a03 Update wording:
< you would like to work on an item, please read the developer's FAQ
> you would like to work on an item, please read the Developer's FAQ
2004-11-30 05:06:33 +00:00
Bruce Momjian
89d922b190 Updated TODO list description:
9c5
< Last updated:		Mon Nov 29 23:33:09 EST 2004
> Last updated:		Tue Nov 30 00:03:37 EST 2004
13a10,16
> #A hyphen, "-", marks changes that will appear in the upcoming 8.1 release.#
>
> Bracketed items, "[]", have more detail.
>
> This list contains all known PostgreSQL bugs and feature requests. If
> you would like to work on an item, please read the developer's FAQ
> first.
2004-11-30 05:03:47 +00:00
Bruce Momjian
0548046e12 Add:
> * Prevent INET cast to CIDR from droping netmask, SELECT '1.1.1.1'::inet::cidr
2004-11-30 04:33:14 +00:00
Bruce Momjian
72cf815c0a Add:
> 	o Allow COPY FROM ... CVS to interpret newlines and carriage
> 	  returns in data?
>
> 	  This would require major refactoring of the copy source code.
2004-11-30 03:53:00 +00:00
Bruce Momjian
844cb60f1a Add:
> * Improve NLS maintenace of libpgport messages linked onto applications
>
2004-11-30 03:27:10 +00:00