~ubuntu-branches/ubuntu/trusty/postgresql-9.3/trusty-proposed

« back to all changes in this revision

Viewing changes to src/include/pg_config_manual.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-07-24 16:13:59 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20140724161359-uk325qfv03euxuuh
Tags: 9.3.5-0ubuntu0.14.04.1
* New upstream bug fix release: (LP: #1348176)
  - pg_upgrade: Users who upgraded to version 9.3 using pg_upgrade may have
    an issue with transaction information which causes VACUUM to eventually
    fail. These users should run the script provided in the release notes to
    determine if their installation is affected, and then take the remedy
    steps outlined there.
  - Various data integrity and other bug fixes.
  - Secure Unix-domain sockets of temporary postmasters started during make
    check.
    Any local user able to access the socket file could connect as the
    server's bootstrap superuser, then proceed to execute arbitrary code as
    the operating-system user running the test, as we previously noted in
    CVE-2014-0067. This change defends against that risk by placing the
    server's socket in a temporary, mode 0700 subdirectory of /tmp.
  - See release notes for details:
    http://www.postgresql.org/about/news/1534/
* Remove pg_regress patches to support --host=/path, obsolete with above
  upstream changes and not applicable any more.
* Drop tcl8.6 patch, applied upstream.
* Add missing logrotate test dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *
4
4
 * This file contains various configuration symbols and limits.  In
5
5
 * all cases, changing them is only useful in very rare situations or
6
 
 * for developers.      If you edit any of these, be sure to do a *full*
 
6
 * for developers.  If you edit any of these, be sure to do a *full*
7
7
 * rebuild (and an initdb if noted).
8
8
 *
9
9
 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
58
58
 
59
59
/*
60
60
 * Define this if you want to allow the lo_import and lo_export SQL
61
 
 * functions to be executed by ordinary users.  By default these
62
 
 * functions are only available to the Postgres superuser.      CAUTION:
 
61
 * functions to be executed by ordinary users.  By default these
 
62
 * functions are only available to the Postgres superuser.  CAUTION:
63
63
 * These functions are SECURITY HOLES since they can read and write
64
64
 * any file that the PostgreSQL server has permission to access.  If
65
65
 * you turn this on, don't say we didn't warn you.
138
138
 
139
139
/*
140
140
 * This is the default directory in which AF_UNIX socket files are
141
 
 * placed.      Caution: changing this risks breaking your existing client
 
141
 * placed.  Caution: changing this risks breaking your existing client
142
142
 * applications, which are likely to continue to look in the old
143
143
 * directory.  But if you just hate the idea of sockets in /tmp,
144
144
 * here's where to twiddle it.  You can also override this at runtime
151
151
 * MAX_RANDOM_VALUE.  Currently, all known implementations yield
152
152
 * 0..2^31-1, so we just hardwire this constant.  We could do a
153
153
 * configure test if it proves to be necessary.  CAUTION: Think not to
154
 
 * replace this with RAND_MAX.  RAND_MAX defines the maximum value of
 
154
 * replace this with RAND_MAX.  RAND_MAX defines the maximum value of
155
155
 * the older rand() function, which is often different from --- and
156
156
 * considerably inferior to --- random().
157
157
 */
190
190
 
191
191
/*
192
192
 * On PPC machines, decide whether to use LWSYNC instructions in place of
193
 
 * ISYNC and SYNC.      This provides slightly better performance, but will
 
193
 * ISYNC and SYNC.  This provides slightly better performance, but will
194
194
 * result in illegal-instruction failures on some pre-POWER4 machines.
195
195
 * By default we use LWSYNC when building for 64-bit PPC, which should be
196
196
 * safe in nearly all cases.
217
217
 
218
218
/*
219
219
 * Define this to check memory allocation errors (scribbling on more
220
 
 * bytes than were allocated).  Right now, this gets defined
 
220
 * bytes than were allocated).  Right now, this gets defined
221
221
 * automatically if --enable-cassert.
222
222
 */
223
223
#ifdef USE_ASSERT_CHECKING
227
227
/*
228
228
 * Define this to cause palloc()'d memory to be filled with random data, to
229
229
 * facilitate catching code that depends on the contents of uninitialized
230
 
 * memory.      Caution: this is horrendously expensive.
 
230
 * memory.  Caution: this is horrendously expensive.
231
231
 */
232
232
/* #define RANDOMIZE_ALLOCATED_MEMORY */
233
233