Re: 7.4 Wishlist

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Kevin Brown <kevin(at)sysexperts(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.4 Wishlist
Date: 2002-12-05 06:21:12
Message-ID: 200212050621.gB56LCJ29961@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers

Kevin Brown wrote:
> Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> wrote:
> > Hi guys,
> >
> > Just out of interest, if someone was going to pay you to hack on Postgres
> > for 6 months, what would you like to code for 7.4?
>
> Well, on top of the oft-requested replication support and savepoint
> support, I'd like to see UPDATE, er, updated to be able to make use of
> cursors.

I think this could be easily done by using the tid of the cursor row for
the update, assuming there is a clear tid for the SELECT. Jan has
talked about doing that.

> I'd also like to see (if this is even possible) a transaction
> isolation mode that would make it possible for multiple concurrent
> updates to the same row to happen without blocking each other (I
> imagine one way to make this possible would be for the last
> transaction to commit to be the one that "wins". Each transaction
> that commits gets its updates written so that other transactions that
> begin after they commit will see them, of course). Neither "read
> committed" nor "serialized" modes offer this. Don't know if it's
> possible, but it would be nice (such that a transaction sees the
> database as if it has it all to itself and doesn't block on
> updates)...

How would you do the update if you don't know of the transaction commits
or aborts?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Scott Lamb 2002-12-05 06:37:09 Re: [GENERAL] PostgreSQL Global Development Group
Previous Message Christopher Kings-Lynne 2002-12-05 05:38:08 Re: Links to all these news articles?

Browse pgsql-general by date

  From Date Subject
Next Message Hiroshi Inoue 2002-12-05 06:22:56 Re: passwords in pg_shadow (duplicate).
Previous Message David Garamond 2002-12-05 06:01:07 Re: Postgresql -- initial impressions and comments

Browse pgsql-hackers by date

  From Date Subject
Next Message Horacio Miranda 2002-12-05 06:36:58 about one query.
Previous Message Bruce Momjian 2002-12-05 06:18:46 Re: Patch to make Turks happy.