"Expiring" transactions?

From: "Egor Shipovalov" <pgsql_list(at)eonline(dot)ru>
To: "Pgsql-General" <pgsql-general(at)postgresql(dot)org>
Subject: "Expiring" transactions?
Date: 2003-09-24 01:53:49
Message-ID: AKEFIKCGEAEFBICLBFBMAEKBCIAA.pgsql_list@eonline.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a way to make transaction automatically COMMIT or ROLLBACK after
certain period of time?
I want website visitors to be able to page through search results using
single cursor. Since users can leave the site at any time, I can't know when
to end their transaction.

I guess I can write a broker that gives each user a connection and tracks
when he's gone, performing necessaty cleanup, but isn't there a simplier
way?

Best regards,
Egor Shipovalov.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Kirkwood 2003-09-24 02:10:50 Re: "Expiring" transactions?
Previous Message Williams, Travis L, NEO 2003-09-23 23:24:18 Re: Problem with ORDER BY and random() ?