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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
lo_truncate.patch text/plain 20.0 KB

Responses

Browse pgsql-patches by date

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