1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-17 01:02:17 +03:00
Commit Graph

3629 Commits

Author SHA1 Message Date
Tom Lane
3d5f28671a Links to GUC variables from HISTORY don't work in back branches... 2007-01-06 06:01:48 +00:00
Bruce Momjian
a05e93ed52 Fix markup because older releases couldn't link to the reference section. 2007-01-06 04:17:33 +00:00
Tom Lane
ccd743ef5d Minor copy-editing for release note updates. 2007-01-05 22:35:04 +00:00
Bruce Momjian
e0f20bbe44 Stamp release 8.0.10. 2007-01-05 20:53:30 +00:00
Bruce Momjian
1f503f27d5 Create release notes for 8.0.10. 2007-01-05 20:03:19 +00:00
Tom Lane
1eaf9ef62a Document the recently-understood hazard that a rollback can release row-level
locks that logically should not be released, because when a subtransaction
overwrites XMAX all knowledge of the previous lock state is lost.  It seems
unlikely that we will be able to fix this before 8.3...
2006-12-01 20:50:06 +00:00
Tom Lane
db9ebafca1 Update release notes for SQL functions vs triggers fix. 2006-10-12 19:25:32 +00:00
Tom Lane
b6a71905d3 A bit of copy-editing on back-branch release notes. 2006-10-11 20:56:10 +00:00
Bruce Momjian
bc0fa10440 Stamp releases 7.3.16, 7.4.14, 8.0.9, and 8.1.5. 2006-10-09 23:38:46 +00:00
Bruce Momjian
b07bda6312 Update release notes for releases 7.3.16, 7.4.14, 8.0.9, and 8.1.5. 2006-10-09 23:23:29 +00:00
Tom Lane
4d3760f674 date_trunc also accepts 'quarter'. Noted by Yoshihisa Nakano. 2006-10-01 18:54:48 +00:00
Alvaro Herrera
632db651cb Fix confusion between COPY FROM and COPY TO, per Gavin Sharry and Arul Shaji. 2006-07-31 01:09:48 +00:00
Tom Lane
e35c0aee33 Update release notes for upcoming releases. 2006-05-21 21:49:50 +00:00
Bruce Momjian
29dd673a94 Stamp releases 7.3.15, 7.4.13, and 8.0.8. 2006-05-21 20:28:35 +00:00
Tom Lane
94dec9114b 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:20:05 +00:00
Tom Lane
9bc62ddd5f 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:25 +00:00
Tom Lane
2d584b5c1b Update release notes. 2006-02-12 22:35:52 +00:00
Bruce Momjian
9bb401cd73 Update FAQ latest version 2006-02-12 18:50:45 +00:00
Bruce Momjian
dfa879bc98 Update release notes for 2006-02-14 release 2006-02-12 18:23:46 +00:00
Tom Lane
a14302080f Reject out-of-range dates in date_in().
Kris Jurka
2006-02-09 03:40:42 +00:00
Tom Lane
e82858f013 Release-note updates and copy editing. 2006-01-06 03:00:20 +00:00
Bruce Momjian
0add52b4f6 New pgcrypto item wording. 2006-01-05 15:18:29 +00:00
Bruce Momjian
240fb6dd4f Wording improvements. 2006-01-05 15:12:03 +00:00
Bruce Momjian
4011909a02 Improve markup. 2006-01-05 14:53:18 +00:00
Bruce Momjian
748a71fbff Update release notes. 2006-01-05 05:23:09 +00:00
Bruce Momjian
2a35aedd97 Stamp relesae 8.0.6. 2006-01-05 04:00:29 +00:00
Tom Lane
9e127658f2 Add release notes for back branches (7.3 and up).
Also minor improvements to 8.1.1 release notes.
2005-12-09 20:40:38 +00:00
Peter Eisentraut
bd760bf800 Documentation fix: s/event_object_name/event_object_table/g 2005-12-08 20:45:26 +00:00
Tom Lane
b0be56634b Fix obsolete description of -h option, per Andreas Schmidt. 2005-12-02 23:14:02 +00:00
Bruce Momjian
f583cbc8a0 Properly document return value of strpos(). 2005-11-16 03:56:08 +00:00
Bruce Momjian
56f68ed907 Backpatch FAQ's for 8.0.X. 2005-11-05 01:36:42 +00:00
Neil Conway
20f5a328e5 Backpatch merge_db() example for PL/PgSQL to 8.0. Patch from David
Fetter, fixes by Neil Conway.
2005-10-06 21:21:27 +00:00
Bruce Momjian
ce150c4a8b Update Japanese FAQ.
Jun Kuwamura
2005-10-05 11:51:27 +00:00
Bruce Momjian
b0db380b09 Update version number in faq. 2005-10-05 11:27:10 +00:00
Bruce Momjian
2a3f44b769 Update FAQ's in 8.0.X branch. (very small changes) 2005-10-04 14:18:43 +00:00
Bruce Momjian
610a7c6fdc Add FAQ_hungarian.html to 8.0.X branch. 2005-10-04 14:17:44 +00:00
Tom Lane
3dfec7f73e COPY's test for read-only transaction was backward; it prohibited COPY TO
where it should prohibit COPY FROM.  Found by Alon Goldshuv.
2005-10-03 23:43:29 +00:00
Tom Lane
65ae842791 Update release notes for pending back-branch releases. 2005-10-03 16:04:51 +00:00
Bruce Momjian
0326d705ab Update Russian FAQ.
Victor Vislobokov
2005-09-28 11:33:42 +00:00
Bruce Momjian
9516724bd7 Update FAQ's in 8.0.X branch. 2005-09-22 22:14:11 +00:00
Neil Conway
3926b6e9c3 Fix a mistake in the documentation for SPI_getbinval(), per Michael Fuhr. 2005-09-12 18:49:08 +00:00
Bruce Momjian
9a6f3630cf Fix typo:
sql_information_info -> sql_implementation_info

Robert Treat
2005-08-27 14:13:31 +00:00
Bruce Momjian
18e615979e Backpatch new CVS home page URL. 2005-08-11 13:54:10 +00:00
Tom Lane
894889ecc4 Force a checkpoint before committing a CREATE DATABASE command. This
should fix the recent reports of "index is not a btree" failures,
as well as preventing a more obscure race condition involving changes
to a template database just after copying it with CREATE DATABASE.
2005-06-25 22:47:49 +00:00
Bruce Momjian
9f64e10225 NetBSD uses "options" not "option". 2005-06-17 16:46:45 +00:00
Tom Lane
887a7255d1 Repair error in description of nonblocking usage of PQgetCopyData().
Per Volkan Yazici.
2005-06-09 19:08:36 +00:00
Bruce Momjian
272f23c814 Update Chinese FAQ to fix XHTML format.
Weiping (Laser)
2005-06-04 03:33:25 +00:00
Bruce Momjian
1d03f3f027 Update Russian FAQ.
Viktor Vislobokov
2005-06-03 18:17:54 +00:00
Bruce Momjian
1b46bcc0c3 Update Farsi FAQ.
Mahmoud Taghizadeh
2005-05-27 22:10:20 +00:00
Bruce Momjian
29167dd3d7 Update Japanese FAQ.
Jun Kuwamura
2005-05-20 15:53:52 +00:00