Skip site navigation (1) Skip section navigation (2)

lo_truncate

From: Kris Jurka <books(at)ejurka(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: lo_truncate
Date: 2007-02-22 20:50:49
Message-ID: Pine.BSO.4.64.0702221544580.3311@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-patches
The attached patch implements lo_truncate for truncating large objects to 
a given length.  This is required for implementing Blob.truncate in the 
JDBC driver[1] and rounds out filesystem like functionality for large 
objects.

Kris Jurka

[1] http://java.sun.com/javase/6/docs/api/java/sql/Blob.html#truncate(long)

Attachment: lo_truncate.patch
Description: text/plain (20.0 KB)

Responses

pgsql-patches by date

Next:From: Guillaume SmetDate: 2007-02-22 22:17:45
Subject: Re: First implementation of GIN for pg_trgm
Previous:From: Gregory StarkDate: 2007-02-22 17:59:37
Subject: Short varlena headers

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group