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
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.
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).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||