Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: PostgreSQL and binary data

by Alex the Serb (Monk)
on Dec 25, 2001 at 16:33 UTC ( [id://134281]=note: print w/replies, xml ) Need Help??


in reply to PostgreSQL and binary data

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Re: PostgreSQL and binary data
by merlyn (Sage) on Dec 25, 2001 at 20:18 UTC
    Modern versions of PostgreSQL no longer need the odd "BLOB" objects. They can store large binary/text in a column (type "BYTEA" and "TEXT" respectively), and the external storage is managed directly by the backend. This is similar (from a user's perspective) to how MySQL does it. The old BLOB interface is still supported, mostly for backward compatibilty, I suspect. The Perl interface (DBD::Pg) handles the small amount of escaping necessary for arbitrary binary data, provided you use a placeholder.

    -- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://134281]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found