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