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

« back to all changes in this revision

Viewing changes to src/backend/executor/nodeTidscan.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 *
9
9
 *
10
10
 * IDENTIFICATION
11
 
 *        $PostgreSQL: pgsql/src/backend/executor/nodeTidscan.c,v 1.61 2009/01/01 17:23:42 momjian Exp $
 
11
 *        $PostgreSQL: pgsql/src/backend/executor/nodeTidscan.c,v 1.62 2009/06/11 14:48:57 momjian Exp $
12
12
 *
13
13
 *-------------------------------------------------------------------------
14
14
 */
63
63
        ListCell   *l;
64
64
 
65
65
        /*
66
 
         * We silently discard any TIDs that are out of range at the time of
67
 
         * scan start.  (Since we hold at least AccessShareLock on the table,
68
 
         * it won't be possible for someone to truncate away the blocks we
69
 
         * intend to visit.)
 
66
         * We silently discard any TIDs that are out of range at the time of scan
 
67
         * start.  (Since we hold at least AccessShareLock on the table, it won't
 
68
         * be possible for someone to truncate away the blocks we intend to
 
69
         * visit.)
70
70
         */
71
71
        nblocks = RelationGetNumberOfBlocks(tidstate->ss.ss_currentRelation);
72
72