safely increase a single column integer value - Mailing list pgsql-general

From Anton Andreev
Subject safely increase a single column integer value
Date
Msg-id 472FA536.9040600@fmi.uni-sofia.bg
Whole thread Raw
Responses for libpq which include defines the type oids  (Samantha Atkins <sjatkins@mac.com>)
List pgsql-general
Hi,

What is the best way from concurrency point of view to increase a
integer value from a table?

Suppose you count every postback from all the users that are currently
browsing your web-site.

Cheers,
Anton


pgsql-general by date:

Previous
From: Tom Hart
Date:
Subject: Re: php and postgres - too many queries too fast?
Next
From: Samantha Atkins
Date:
Subject: for libpq which include defines the type oids