~ubuntu-branches/ubuntu/hardy/postgresql-8.4/hardy-backports

« back to all changes in this revision

Viewing changes to src/include/access/visibilitymap.h

  • Committer: Bazaar Package Importer
  • Author(s): Ubuntu Archive Backport
  • Date: 2009-11-09 13:46:16 UTC
  • mfrom: (5.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091109134616-ae14l9tr3g7p2t9y
Tags: 8.4.1-1~hardy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*-------------------------------------------------------------------------
2
2
 *
3
3
 * visibilitymap.h
4
 
 *      visibility map interface
 
4
 *              visibility map interface
5
5
 *
6
6
 *
7
7
 * Portions Copyright (c) 2007-2009, PostgreSQL Global Development Group
8
8
 * Portions Copyright (c) 1994, Regents of the University of California
9
9
 *
10
 
 * $PostgreSQL: pgsql/src/include/access/visibilitymap.h,v 1.3 2009/01/01 17:23:56 momjian Exp $
 
10
 * $PostgreSQL: pgsql/src/include/access/visibilitymap.h,v 1.4.2.1 2009/08/24 02:18:40 tgl Exp $
11
11
 *
12
12
 *-------------------------------------------------------------------------
13
13
 */
14
14
#ifndef VISIBILITYMAP_H
15
15
#define VISIBILITYMAP_H
16
16
 
 
17
#include "access/xlogdefs.h"
 
18
#include "storage/block.h"
 
19
#include "storage/buf.h"
17
20
#include "utils/relcache.h"
18
 
#include "storage/buf.h"
19
 
#include "storage/itemptr.h"
20
 
#include "access/xlogdefs.h"
21
21
 
22
22
extern void visibilitymap_clear(Relation rel, BlockNumber heapBlk);
23
23
extern void visibilitymap_pin(Relation rel, BlockNumber heapBlk,
24
 
                                                          Buffer *vmbuf);
 
24
                                  Buffer *vmbuf);
25
25
extern void visibilitymap_set(Relation rel, BlockNumber heapBlk,
26
 
                                                          XLogRecPtr recptr, Buffer *vmbuf);
 
26
                                  XLogRecPtr recptr, Buffer *vmbuf);
27
27
extern bool visibilitymap_test(Relation rel, BlockNumber heapBlk, Buffer *vmbuf);
28
28
extern void visibilitymap_truncate(Relation rel, BlockNumber heapblk);
29
29