Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit948720e

Browse files
committed
New mdtruncate() & smgrtruncate() funcs.
1 parentb41aa39 commit948720e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/include/storage/smgr.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: smgr.h,v 1.5 1996/11/10 03:06:05 momjian Exp $
9+
* $Id: smgr.h,v 1.6 1996/11/27 07:33:42 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -38,6 +38,7 @@ extern int smgrflush(int16 which, Relation reln, BlockNumber blocknum,
3838
externintsmgrblindwrt(int16which,char*dbname,char*relname,Oiddbid,
3939
Oidrelid,BlockNumberblkno,char*buffer);
4040
externintsmgrnblocks(int16which,Relationreln);
41+
externintsmgrtruncate(int16which,Relationreln,intnblocks);
4142
externintsmgrcommit(void);
4243
externintsmgrabort(void);
4344
externboolsmgriswo(int16smgrno);
@@ -59,6 +60,7 @@ extern int mdflush(Relation reln, BlockNumber blocknum, char *buffer);
5960
externintmdblindwrt(char*dbstr,char*relstr,Oiddbid,Oidrelid,
6061
BlockNumberblkno,char*buffer);
6162
externintmdnblocks(Relationreln);
63+
externintmdtruncate(Relationreln,intnblocks);
6264
externintmdcommit(void);
6365
externintmdabort(void);
6466

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp