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

« back to all changes in this revision

Viewing changes to src/backend/access/common/tupdesc.c

  • 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:
204
204
                                if (constr->check[i].ccbin)
205
205
                                        cpy->check[i].ccbin = pstrdup(constr->check[i].ccbin);
206
206
                                cpy->check[i].ccvalid = constr->check[i].ccvalid;
 
207
                                cpy->check[i].ccnoinherit = constr->check[i].ccnoinherit;
207
208
                        }
208
209
                }
209
210
 
417
418
                        for (j = 0; j < n; check2++, j++)
418
419
                        {
419
420
                                if (strcmp(check1->ccname, check2->ccname) == 0 &&
420
 
                                        strcmp(check1->ccbin, check2->ccbin) == 0)
 
421
                                        strcmp(check1->ccbin, check2->ccbin) == 0 &&
 
422
                                        check1->ccvalid == check2->ccvalid &&
 
423
                                        check1->ccnoinherit == check2->ccnoinherit)
421
424
                                        break;
422
425
                        }
423
426
                        if (j >= n)
537
540
 * Given a relation schema (list of ColumnDef nodes), build a TupleDesc.
538
541
 *
539
542
 * Note: the default assumption is no OIDs; caller may modify the returned
540
 
 * TupleDesc if it wants OIDs.  Also, tdtypeid will need to be filled in
 
543
 * TupleDesc if it wants OIDs.  Also, tdtypeid will need to be filled in
541
544
 * later on.
542
545
 */
543
546
TupleDesc