lo_open() - truncate a large object? - Mailing list pgsql-interfaces

From Gregory W Burnham
Subject lo_open() - truncate a large object?
Date
Msg-id 008301be70c8$dbb69a20$3d063a8e@educ.sfu.ca
Whole thread Raw
List pgsql-interfaces
RedHat 5.1
Kernel 2.0.35 (i686)
Postgresql 6.3.2

I'd like to be able to open a large object and have it truncated,
something like this:

    int fd = lo_open(conn, oid, INV_READ | INV_WRITE | O_TRUNC);

But of course that doesn't work.  Is there a way to do this
with postgresql?

Gregory W Burnham
Software Engineer
Excite Labs
Simon Fraser University
Vancouver, BC
V5A 1S6
604 291 3615 ph
604 291 5679 fx



pgsql-interfaces by date:

Previous
From: pacilli
Date:
Subject: My problem with iODBC->psqlodbc
Next
From: "Postgres mailing lists"
Date:
Subject: JDBC Query performance