That's a PostgreSQL thing. If you instert a large object into the database you get a OID identifier. It refer to this later you need to stash the OID somewhere and that is exactly what the original poster is doing. OIDs look like integers but aren't exactly that hence my explicit cast to the oid type. Of course, the original poster should be dumping the insert statements somewhere so the syntax can be verified.
In reply to Re^2: DBI and BLOBs
by diotalevi
in thread DBI and BLOBs
by Improv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |