Skip Menu |
 

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

Report information
The Basics
Id: 54113
Status: open
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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 227
Download (untitled) / with headers
text/plain 227b
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.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-32680-1382373367-1814.54113-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 161
Download (untitled) / with headers
text/plain 161b
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.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.16-32680-1382373367-1814.54113-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.16-32680-1382373367-1814.54113-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-679-1382383090-1334.54113-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
RT-Send-CC: dbd-pg [...] perl.org
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 259
Download (untitled) / with headers
text/plain 259b
(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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.