Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 54113
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: greg [...] turnstep.com
Requestors: doj [...] cubic.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.16.1
Fixed in: (no value)



Subject: Add support for lo_truncate() function
lo_truncate() was introduced with PostgreSQL 8.3 and it would be nice if it is supported via $dbh->pg_lo_truncate(). It currently works with the $dbh->func($fd, $len, 'lo_truncate') deprecated way to use large object functions.
This is surprisingly tricky to get working. All the pieces are in place, but I cannot get to work without returning -1 (an error). Maybe I'll commit what I have.
RT-Send-CC: dbd-pg [...] perl.org
(re lo_truncate support) Show quoted text
> This is surprisingly tricky to get working. All the pieces are in > place, but I cannot get to work without returning -1 (an error). Maybe > I'll commit what I have.
This is in place if someone wants to take a crack at fixing it.
Finally fixed! Just needed to re-open in write mode. :)