~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to src/backend/catalog/pg_depend.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-01 17:41:41 UTC
  • mfrom: (1.1.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20090701174141-jfmn9tt8e69m950x
Tags: 8.4.0-1
* Final 8.4.0 release. Major enhancements:
  - Windowing Functions
  - Common Table Expressions and Recursive Queries
  - Default and variadic parameters for functions
  - Parallel Restore
  - Column Permissions
  - Per-database locale settings
  - Improved hash indexes
  - Improved join performance for EXISTS and NOT EXISTS queries
  - Easier-to-use Warm Standby
  - Automatic sizing of the Free Space Map
  - Visibility Map (greatly reduces vacuum overhead for slowly-changing
    tables)
  - Version-aware psql (backslash commands work against older servers)
  - Support SSL certificates for user authentication
  - Per-function runtime statistics
  - Easy editing of functions in psql
  - New contrib modules: pg_stat_statements, auto_explain, citext,
    btree_gin 
  Upload to unstable, 8.4 is the new default. 
* debian/control: Build the versionless metapackages and have them point to
  8.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 *
9
9
 *
10
10
 * IDENTIFICATION
11
 
 *        $PostgreSQL: pgsql/src/backend/catalog/pg_depend.c,v 1.31 2009/01/01 17:23:37 momjian Exp $
 
11
 *        $PostgreSQL: pgsql/src/backend/catalog/pg_depend.c,v 1.32 2009/06/11 14:48:55 momjian Exp $
12
12
 *
13
13
 *-------------------------------------------------------------------------
14
14
 */
427
427
{
428
428
        List       *result = NIL;
429
429
        Relation        depRel;
430
 
        ScanKeyData     key[2];
431
 
        SysScanDesc     scan;
 
430
        ScanKeyData key[2];
 
431
        SysScanDesc scan;
432
432
        HeapTuple       tup;
433
433
 
434
434
        depRel = heap_open(DependRelationId, AccessShareLock);
571
571
                Form_pg_depend deprec = (Form_pg_depend) GETSTRUCT(tup);
572
572
 
573
573
                /*
574
 
                 * We assume any internal dependency on a constraint
575
 
                 * must be what we are looking for.
 
574
                 * We assume any internal dependency on a constraint must be what we
 
575
                 * are looking for.
576
576
                 */
577
577
                if (deprec->refclassid == ConstraintRelationId &&
578
578
                        deprec->refobjsubid == 0 &&