Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

RE: Re: Difficulty inserting a large object using DBD::Pg (kudra: info on Postgre OIDs)

by kudra (Vicar)
on Jun 29, 2000 at 19:53 UTC ( #20411=note: print w/replies, xml ) Need Help??


in reply to Re: Difficulty inserting a large object using DBD::Pg
in thread Difficulty inserting a large object using DBD::Pg

I think I'm getting a bit lost, too--that last post reads like a children's song: "OID kudra had a db, OI-OI-D!"

Yes, there is an OID which Postgre assigns to each row.
Yes, there is also an OID type which you can assign to a column.

If you look in a table containing an OID column, you will see a number which was created by pg, which lets it know how to find the large object data. You don't create the number, you just give it the data and it uses the number for itself. My problem is with inserting the data.

Update: Just a few details from various chatterbox discussions:
I'm using OID because that's the postgres implementation of BLOB. I can't use TEXT, which is limited by pagesize (as far as I know, and I have looked).

  • Comment on RE: Re: Difficulty inserting a large object using DBD::Pg (kudra: info on Postgre OIDs)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://20411]
help
Chatterbox?
[marto]: where are you based robby_dobby?
[robby_dobby]: marto: Oh, I see you're from an even colder north :-)
[robby_dobby]: marto: Ldn, right now
[marto]: icy here today, snow on the hills
[Corion]: Oh yes, Friday!
[Corion]: Last day at $work before 3 weeks of vacation (well, not that I'd be really travelling, but no-work-time ;) )
[robby_dobby]: marto: yeah, I'd eventually visit Glasgow some day - just to visit the home town of GHC :-)
[robby_dobby]: Corion: Oh, that's awesome! Your timing is perfect enough to see all hell break loose when you get back at work :P

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-12-15 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (430 votes). Check out past polls.

    Notices?