Re: Storing Perl objects - Mailing list pgsql-novice

From joseph speigle
Subject Re: Storing Perl objects
Date
Msg-id 20040209000331.GA31711@www.sirfsup.com
Whole thread Raw
In response to Storing Perl objects  (<kynn@panix.com>)
List pgsql-novice
Hi,

maybe SPOPS will work, which is an acronym for Simple Perl Object Persistence with Security
which wraps calls like 'fetch' and 'store', and the real code lies in your subclassing SPOPS implementing DBI specific
methodsfor the Postgres DBI (i'd imagine).  There are a few other modules on CPAN which you would probably also inherit
fromand override methods to get them to work.   

Unfortunately, I don't know what OO capabilities PostgreSQL has on its own.  I suppose that's what you're asking,
though.

On Sun, Feb 08, 2004 at 12:07:30PM -0500, kynn@panix.com wrote:
>
>
>
> I understand that PostgreSQL has OO capabilities.  Is it possible to
> store full-blown Perl objects in a PostgreSQL table?  (I suppose that
> one can always serialize Perl objects and store the serialized text,
> but this is hardly OO.)
>
> Thanks,
>
> kynn
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

--
joe speigle

pgsql-novice by date:

Previous
From:
Date:
Subject: Re: How to read data from a file?
Next
From: Josh Berkus
Date:
Subject: Re: Storing Perl objects