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

« back to all changes in this revision

Viewing changes to src/include/catalog/pg_description.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:
6
6
 * NOTE: an object is identified by the OID of the row that primarily
7
7
 * defines the object, plus the OID of the table that that row appears in.
8
8
 * For example, a function is identified by the OID of its pg_proc row
9
 
 * plus the pg_class OID of table pg_proc.      This allows unique identification
 
9
 * plus the pg_class OID of table pg_proc.  This allows unique identification
10
10
 * of objects without assuming that OIDs are unique across tables.
11
11
 *
12
12
 * Since attributes don't have OIDs of their own, we identify an attribute
13
13
 * comment by the objoid+classoid of its parent table, plus an "objsubid"
14
 
 * giving the attribute column number.  "objsubid" must be zero in a comment
 
14
 * giving the attribute column number.  "objsubid" must be zero in a comment
15
15
 * for a table itself, so that it is distinct from any column comment.
16
16
 * Currently, objsubid is unused and zero for all other kinds of objects,
17
17
 * but perhaps it might be useful someday to associate comments with
39
39
#include "catalog/genbki.h"
40
40
 
41
41
/* ----------------
42
 
 *              pg_description definition.      cpp turns this into
 
42
 *              pg_description definition.  cpp turns this into
43
43
 *              typedef struct FormData_pg_description
44
44
 * ----------------
45
45
 */