Re: Inc - Mailing list pgsql-sql

From Richard Huxton
Subject Re: Inc
Date
Msg-id 45EDAE1D.30306@archonet.com
Whole thread Raw
In response to Re: Inc  ("Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>)
Responses Re: Inc  ("Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>)
List pgsql-sql
Ezequias Rodrigues da Rocha wrote:
> Thank you but I must inc an specific row. How to do that ?

I'm not sure I understand. A row in a different table?

...
BEGIN    UPDATE some_table SET counter = counter + 1;
END;
...

--   Richard Huxton  Archonet Ltd


pgsql-sql by date:

Previous
From: Stefan Becker
Date:
Subject: Re: Selecting exactly one row for each column value
Next
From: Oleg Bartunov
Date:
Subject: Re: GiST index question: performance