postgresql/src/include
Tom Lane b3eb4ea5d8 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:10:42 +00:00
..
access Simplify gistSplit() and some refactoring related code. 2006-05-19 16:15:17 +00:00
bootstrap Make all our flex and bison files use %option prefix or %name-prefix 2006-03-07 01:03:12 +00:00
catalog Add last-vacuum/analyze-time columns to the stats collector, both manual and 2006-05-19 19:08:27 +00:00
commands Back out RESET CONNECTION until there is more discussion. 2006-04-25 14:11:59 +00:00
executor Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
lib Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
libpq Rename macro parameter, for clarity. 2006-05-17 01:44:24 +00:00
mb Change the backend to reject strings containing invalidly-encoded multibyte 2006-05-21 20:05:21 +00:00
nodes Improve the representation of FOR UPDATE/FOR SHARE so that we can 2006-04-30 18:30:40 +00:00
optimizer Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
parser Add a new GUC parameter backslash_quote, which determines whether the SQL 2006-05-21 20:10:42 +00:00
port Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
postmaster Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
regex Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
rewrite Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
storage Fix Solaris/ASM test for x86. 2006-05-19 13:10:11 +00:00
tcop Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
utils Code review for standard_conforming_strings patch. Fix it so it does not 2006-05-11 19:15:36 +00:00
c.h Repair a low-probability race condition identified by Qingqing Zhou. 2006-04-14 03:38:56 +00:00
fmgr.h Modify all callers of datatype input and receive functions so that if these 2006-04-04 19:35:37 +00:00
funcapi.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
getaddrinfo.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
getopt_long.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
Makefile Allow installation into directories containing spaces in the name. 2005-12-09 21:19:36 +00:00
miscadmin.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
pg_config.h.in Rearrange some configure.in comments for better readability. 2006-04-29 20:47:31 +00:00
pg_config.h.win32 Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
pg_config_manual.h Define a separately configurable XLOG_BLCKSZ symbol for the page size 2006-04-03 23:35:05 +00:00
pgstat.h Add last-vacuum/analyze-time columns to the stats collector, both manual and 2006-05-19 19:08:27 +00:00
pgtime.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
port.h Fixes for BCC 5.5 compile of libpq. Backpatch to 8.1.X. 2006-04-24 04:03:25 +00:00
postgres.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
postgres_ext.h Pgindent run for 8.0. 2004-08-29 05:07:03 +00:00
postgres_fe.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
rusagestub.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
strdup.h Fix an obsolete file path mentioned in a comment. 2004-01-25 22:19:42 +00:00