1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-24 14:22:24 +03:00
Commit Graph

6362 Commits

Author SHA1 Message Date
23092b9928 Correct documentation error: in 8.1 and 8.2, %p in archive and restore
command strings inserts relative not absolute path of file to process.
This is a side-effect of 2005-07-04 change that makes the server use
relative paths in general.  Noted by Bernd Helmle.
2006-11-04 18:20:40 +00:00
09b98773ab Update Japanese FAQ.
Jun Kuwamura
2006-10-13 17:30:13 +00:00
91ddf5b548 Fix typo in version number. 2006-10-13 15:25:09 +00:00
9d457ea802 Update release notes for SQL functions vs triggers fix. 2006-10-12 19:25:22 +00:00
23c64e18ec A bit of copy-editing on back-branch release notes. 2006-10-11 20:56:01 +00:00
34cd09fdd0 Restore HPUX FAQ entry that talked about working around regression
script problems, because in 8.1.X, the regression test is still a
script.  Patch to 8.1.X only.
2006-10-10 20:11:44 +00:00
61c91fd2d2 Backpatch FAQs to 8.1.X. 2006-10-10 00:29:15 +00:00
7cec8b4e4a Stamp releases 7.3.16, 7.4.14, 8.0.9, and 8.1.5. 2006-10-09 23:39:03 +00:00
5c13747ac9 Update release notes for releases 7.3.16, 7.4.14, 8.0.9, and 8.1.5. 2006-10-09 23:24:06 +00:00
4af74cc007 date_trunc also accepts 'quarter'. Noted by Yoshihisa Nakano. 2006-10-01 18:54:40 +00:00
574878f110 Remove obsolete tip about casting bool to int, per Taiki Yamaguchi. 2006-08-21 16:24:02 +00:00
dc84334f1e Fix documentation error: GRANT/REVOKE for roles only accept role names
as grantees, not PUBLIC ... and you can't say GROUP either.  Noted by
Brian Hurt.
2006-08-02 16:30:00 +00:00
8aa826a965 Fix confusion between COPY FROM and COPY TO, per Gavin Sharry and Arul Shaji. 2006-07-31 01:13:58 +00:00
271852a021 Fix table title. 2006-07-28 16:22:02 +00:00
87953b3d60 Make it clearer that not every Postgres character set can be used as a
server-side character set.
2006-07-28 15:33:28 +00:00
0c1db67f6a Correct the description of the pg_get_viewdef() function. Do some nearby
SGML cleanup: sort table entries alphabetically.
2006-07-11 19:11:27 +00:00
33e125cc0b Clean up after someone's curious idea that it'd be good to strip
leading zeroes from the SQLSTATE codes.  They're strings, people,
not numbers.
2006-06-16 22:41:50 +00:00
f44391b0a0 Document issues with non-default tablespaces and pg_dumpall restores.
Backpatch documentation addition to 8.1.X.
2006-06-16 22:01:22 +00:00
401ffe0555 Backpatch documentation additions for PL language choice and
regex_replace() to 8.1.X.
2006-05-30 12:32:37 +00:00
8a507aeaeb Rename in release notes: Mac -> OS/X, Intel to x86:
Fix for OS/X Bonjour on x86 systems (Ashley Clark)
2006-05-23 20:22:02 +00:00
3f6b5e21c8 Update release notes for upcoming releases. 2006-05-21 21:49:38 +00:00
7f615cab57 Modify libpq's string-escaping routines to be aware of encoding considerations
and standard_conforming_strings.  The encoding changes are needed for proper
escaping in multibyte encodings, as per the SQL-injection vulnerabilities
noted in CVE-2006-2313 and CVE-2006-2314.  Concurrent fixes are being applied
to the server to ensure that it rejects queries that may have been corrupted
by attempted SQL injection, but this merely guarantees that unpatched clients
will fail rather than allow injection.  An actual fix requires changing the
client-side code.  While at it we have also fixed these routines to understand
about standard_conforming_strings, so that the upcoming changeover to SQL-spec
string syntax can be somewhat transparent to client code.

Since the existing API of PQescapeString and PQescapeBytea provides no way to
inform them which settings are in use, these functions are now deprecated in
favor of new functions PQescapeStringConn and PQescapeByteaConn.  The new
functions take the PGconn to which the string will be sent as an additional
parameter, and look inside the connection structure to determine what to do.
So as to provide some functionality for clients using the old functions,
libpq stores the latest encoding and standard_conforming_strings values
received from the backend in static variables, and the old functions consult
these variables.  This will work reliably in clients using only one Postgres
connection at a time, or even multiple connections if they all use the same
encoding and string syntax settings; which should cover many practical
scenarios.

Clients that use homebrew escaping methods, such as PHP's addslashes()
function or even hardwired regexp substitution, will require extra effort
to fix :-(.  It is strongly recommended that such code be replaced by use of
PQescapeStringConn/PQescapeByteaConn if at all feasible.
2006-05-21 20:19:44 +00:00
3d4dc1acf5 Add a new GUC parameter backslash_quote, which determines whether the SQL
parser will allow "\'" to be used to represent a literal quote mark.  The
"\'" representation has been deprecated for some time in favor of the
SQL-standard representation "''" (two single quote marks), but it has been
used often enough that just disallowing it immediately won't do.  Hence
backslash_quote allows the settings "on", "off", and "safe_encoding",
the last meaning to allow "\'" only if client_encoding is a valid server
encoding.  That is now the default, and the reason is that in encodings
such as SJIS that allow 0x5c (ASCII backslash) to be the last byte of a
multibyte character, accepting "\'" allows SQL-injection attacks as per
CVE-2006-2314 (further details will be published after release).  The
"on" setting is available for backward compatibility, but it must not be
used with clients that are exposed to untrusted input.

Thanks to Akio Ishida and Yasuo Ohgaki for identifying this security issue.
2006-05-21 20:11:02 +00:00
e720382441 Stamp 8.1.4, except configure/configure.in. 2006-05-19 03:57:17 +00:00
289f10c809 Update release notes for 8.1.4. 2006-05-19 03:50:07 +00:00
95d8b6a7b4 Backpatch FAQs to 8.1.X. 2006-05-19 03:34:49 +00:00
4aec5303f0 Update pg_dump version wording. 2006-05-13 17:11:02 +00:00
dfc2fc2522 Mention version portability of pg_dump. 2006-05-13 16:20:21 +00:00
21138b5e59 Suggest Win32 users user E'' strings and double backslashes used for
patch separators in COPY.

Backpatch doubleing backslashes suggestion to 8.1.
2006-04-22 03:03:19 +00:00
6b46ec2707 Mention "syntax" error as not logged by log_statement.
Backpatch.
2006-04-18 12:41:29 +00:00
65f1a7a8dc Document that errors are not output by log_statement (was they were in
8.0), and add as suggestion to use log_min_error_statement for this
purpose.  I also fixed the code so the first EXECUTE has it's prepare,
rather than the last which is what was in the current code.  Also remove
"protocol" prefix for SQL EXECUTE output because it is not accurate.

Backpatch to 8.1.X.
2006-04-18 00:52:41 +00:00
dd8d1b1fbd Document that pg_dump -d/-D prevents invalid data from canceling the
entire table load.
2006-04-15 18:11:48 +00:00
9b83454f7f Update AIX FAQ:
At any rate, here's a revision to CVS HEAD to reflect some changes by
myself and by Seneca Cunningham for the AIX FAQ.  It touches on the
following issues:

1.  memcpy pointer patch for dynahash.c

2.  AIX memory management, which can, for 32 bit cases, bite people
    quite unexpectedly...

Chris Browne
2006-04-13 11:42:35 +00:00
a5884d5dc8 Updated Japanese FAQ, version 2.
J.Kuwamura
2006-04-11 21:23:28 +00:00
5052aa2edb Update Japanese FAQ, backpatch.
J.Kuwamura
2006-04-11 21:19:05 +00:00
cc1b59c951 Oops, sysctl, not sysconf, for FreeBSD. 2006-04-11 21:06:19 +00:00
e860973aed More FreeBSD jail wording improvements. 2006-04-11 19:46:48 +00:00
493eea649c Add documentation about running postmasters in FreeBSD jails (use
separate users).
2006-04-11 19:28:03 +00:00
36d5976f9e There is updated Russian translation of the FAQ in the attachment.
Victor Vislobokov
2006-04-11 15:49:04 +00:00
69ab90c775 Update AIX FAQ to show readline options more clearly.
Backpatch FAQ's to 8.1.X.
2006-04-05 22:56:12 +00:00
fdc28fdcfa Disable full_page_writes, because turning it off risks causing crash-recovery
failures even when the hardware and OS did nothing wrong.  Per recent analysis
of a problem report from Alex Bahdushka.

For the moment I've just diked out the test of the parameter, rather than
removing the GUC infrastructure and documentation, in case we conclude that
there's something salvageable there.  There seems no chance of it being
resurrected in the 8.1 branch though.
2006-03-28 22:01:25 +00:00
0a5c6fadf4 Remove somebody's flight of fancy about an UPDATE with ORDER BY and LIMIT. 2006-03-08 22:59:17 +00:00
2c620740bd Appended is a small documentation patch that adds a note to the CREATE
ROLE page, based on what Tom Lane told me here:

	http://archives.postgresql.org/pgsql-general/2005-11/msg00998.php


Joachim Wieland
2006-03-03 03:06:17 +00:00
69f69808c5 Fix ancient error in large objects usage example: overwrite() subroutine
was opening with INV_READ flag and then writing.  Prior to 8.1 the backend
did not reject this, but now it does.
2006-03-02 21:49:19 +00:00
5e4bf929b3 Update OS X shared memory documentation for 10.3.9 and later to use
/etc/sysctl.conf.

Chris Campbell
2006-03-02 20:30:33 +00:00
006bd450fe Mark tsearch2 item as Tom's, not Teodor's. 2006-03-02 19:35:14 +00:00
15516c5f0b Update FAQ_DEV text file. 2006-03-01 22:25:36 +00:00
88a4314bb1 Update patch generation instructions.
Robert Treat
2006-03-01 22:23:49 +00:00
e559dba846 Update Japanese FAQ, backpatched to 8.1.X. 2006-03-01 20:31:56 +00:00
6853e34132 Add pg_service.conf documentation for libpq. 2006-03-01 00:23:33 +00:00