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

« back to all changes in this revision

Viewing changes to src/include/utils/typcache.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:
56
56
 
57
57
        /*
58
58
         * Pre-set-up fmgr call info for the equality operator, the btree
59
 
         * comparison function, and the hash calculation function.      These are kept
 
59
         * comparison function, and the hash calculation function.  These are kept
60
60
         * in the type cache to avoid problems with memory leaks in repeated calls
61
61
         * to functions such as array_eq, array_cmp, hash_array.  There is not
62
62
         * currently a need to maintain call info for the lt_opr or gt_opr.
73
73
        TupleDesc       tupDesc;
74
74
 
75
75
        /*
76
 
         * Fields computed when TYPECACHE_RANGE_INFO is requested.      Zeroes if not
 
76
         * Fields computed when TYPECACHE_RANGE_INFO is requested.  Zeroes if not
77
77
         * a range type or information hasn't yet been requested.  Note that
78
78
         * rng_cmp_proc_finfo could be different from the element type's default
79
79
         * btree comparison function.
88
88
        int                     flags;                  /* flags about what we've computed */
89
89
 
90
90
        /*
91
 
         * Private information about an enum type.      NULL if not enum or
 
91
         * Private information about an enum type.  NULL if not enum or
92
92
         * information hasn't been requested.
93
93
         */
94
94
        struct TypeCacheEnumData *enumData;