summaryrefslogtreecommitdiff
path: root/src/include/storage
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2007-03-03 19:52:47 +0000
committerBruce Momjian <bruce@momjian.us>2007-03-03 19:52:47 +0000
commit0763a5650147a5573a5a4b81de5dd819f010f8e8 (patch)
treef2190486ccd631f016f4451f238d6383b7d1b10e /src/include/storage
parent90d76525c5cc2f3f4781351a1d99be839dfa2874 (diff)
downloadpostgresql-0763a5650147a5573a5a4b81de5dd819f010f8e8.tar.gz
Add lo_truncate() to backend and libpq for large object truncation.
Kris Jurka
Diffstat (limited to 'src/include/storage')
-rw-r--r--src/include/storage/large_object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/storage/large_object.h b/src/include/storage/large_object.h
index c987362817..a04b1f876a 100644
--- a/src/include/storage/large_object.h
+++ b/src/include/storage/large_object.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/large_object.h,v 1.36 2007/01/05 22:19:58 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/large_object.h,v 1.37 2007/03/03 19:52:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -78,5 +78,6 @@ extern int inv_seek(LargeObjectDesc *obj_desc, int offset, int whence);
extern int inv_tell(LargeObjectDesc *obj_desc);
extern int inv_read(LargeObjectDesc *obj_desc, char *buf, int nbytes);
extern int inv_write(LargeObjectDesc *obj_desc, const char *buf, int nbytes);
+extern void inv_truncate(LargeObjectDesc *obj_desc, int len);
#endif /* LARGE_OBJECT_H */