Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C6A0D9FB9CE for ; Tue, 6 Mar 2007 14:14:39 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 88798-03 for ; Tue, 6 Mar 2007 14:14:27 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id 84A669FBAA4 for ; Tue, 6 Mar 2007 14:14:26 -0400 (AST) Received: from server3.office.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id B47001445C0; Tue, 6 Mar 2007 18:08:29 +0000 (GMT) Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 8E2B92740CA; Tue, 6 Mar 2007 18:08:29 +0000 (GMT) Message-ID: <45EDAE1D.30306@archonet.com> Date: Tue, 06 Mar 2007 18:08:29 +0000 From: Richard Huxton User-Agent: IceDove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Ezequias Rodrigues da Rocha Cc: PostgreSQL Subject: Re: Inc References: <55c095e90703060855o228c0d0bm4b021826e3899ba5@mail.gmail.com> <45EDA139.6070103@archonet.com> <55c095e90703060929w745cd560g12426c986b75e430@mail.gmail.com> In-Reply-To: <55c095e90703060929w745cd560g12426c986b75e430@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.21 tagged_above=0 required=5 tests=AWL, BAYES_50, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200703/59 X-Sequence-Number: 27697 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