I am using Postgres 8.1 where truncate feature is not supported. Can you
pls confirm this ? This is src code in 8.3-605 AbstractJdbc2BlobClob
class and I do get the exception:
public synchronized void truncate(long len) throws SQLException
{
checkFreed();
if (!conn.haveMinimumServerVersion("8.3"))
throw new PSQLException(GT.tr("Truncation of large objects
is only implemented in 8.3 and later servers."),
PSQLState.NOT_IMPLEMENTED);
assertPosition(len);
lo.truncate((int)len);
}
-Satish