Re: Storing Perl objects

Поиск
Список
Период
Сортировка
От joseph speigle
Тема Re: Storing Perl objects
Дата
Msg-id 20040209000331.GA31711@www.sirfsup.com
обсуждение исходный текст
Ответ на Storing Perl objects  (<kynn@panix.com>)
Список 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 по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Re: How to read data from a file?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Storing Perl objects