Re: why postgresql over other RDBMS

From: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
To: "A(dot)M(dot)" <agentm(at)themactionfaction(dot)com>, pgsql-general general <pgsql-general(at)postgresql(dot)org>
Subject: Re: why postgresql over other RDBMS
Date: 2007-05-27 10:12:23
Message-ID: 200705271015.l4RAFEEY044263@smtp3.jaring.my
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 03:25 AM 5/25/2007, A.M. wrote:

>Indeed. Wouldn't it be a cool feature to persists transaction states
>across connections so that a new connection could get access to a
>sub- transaction state? That way, you could make your schema changes and
>test them with any number of test clients (which designate the state
>to connect with) and then you would commit when everything works.
>
>Unfortunately, the postgresql architecture wouldn't lend itself well
>to this. Still, it seems like a basic extension of the notion of
>sub- transactions.

I've proposed this for postgresql before (7 years ago?), but for a
different reason. Didn't seem to get much interest though.

The idea was people wouldn't have to reinvent/reimplement
transactions for stuff like webapps. Of course you might have to have
a separate database for "shopping cart" or other "persistent"
transactions, so that outstanding transactions don't cause lots of
nonrelated transient rows to be kept unreclaimable.

And also I was thinking it would be good to decouple the maximum
number of concurrent transactions supported by postgresql from the
maximum number of concurrent connections supported.

Issues: what should happen if multiple connections try to continue
the _same_ transaction.

Also should keep in mind clustering support though - this might
create interesting problems and features in a clustering scenario :).

Regards,
Link.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2007-05-27 13:06:23 Re: Problems with "anyelement" after upgrading from 8.1.4 to 8.1.9
Previous Message Rafael Martinez 2007-05-27 10:02:35 Problems with "anyelement" after upgrading from 8.1.4 to 8.1.9