Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 6DD3C9FBA52 for ; Tue, 6 Mar 2007 12:55:51 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 51526-07 for ; Tue, 6 Mar 2007 12:55:36 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by postgresql.org (Postfix) with ESMTP id A1EC19FB9BD for ; Tue, 6 Mar 2007 12:55:36 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so236327ugf for ; Tue, 06 Mar 2007 08:55:35 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jiKM5yJwPuHh8DXfIj6ht0F5WoQyg3fLP+jDCElnCRtUgPiLrGRPSoa0Cdc1OWmixAtnztJTxaqMNPmOXUD5nnp6pgKxg0u+TiYqY1M47q07myx2ht/vlcs0Z/bWhLYjgdNkGKHkfCbfP8srAtkRRA7tU2zsgu/5VvQXYugAGLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dDYa6OrhdBJVKo0b7dPdP9thk6IFvpt4U8VIhUNsMeRMJJb/UeU7eNWDCcrmyd3oK5cKyg6KPwIbpa1+Sr4D9yfAuuvjp+pHgxjXqmaPeOZa88x5pyofbd/TII3cksi632AKcSgcPXbNJvoI00eBt7enwv1TTNmQOy5Ds2DvVQg= Received: by 10.67.99.1 with SMTP id b1mr2045734ugm.1173200135602; Tue, 06 Mar 2007 08:55:35 -0800 (PST) Received: by 10.67.94.13 with HTTP; Tue, 6 Mar 2007 08:55:35 -0800 (PST) Message-ID: <55c095e90703060855o228c0d0bm4b021826e3899ba5@mail.gmail.com> Date: Tue, 6 Mar 2007 13:55:35 -0300 From: "Ezequias Rodrigues da Rocha" To: PostgreSQL Subject: Inc MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/50 X-Sequence-Number: 27688 Hi list, There is any function to increment with 1 some field. For example. I have a table with a field that on each update it incrementes a field that is allways configured to 0 before the starting of updates. Regards -- Ezequias Rodrigues da Rocha http://ezequiasrocha.blogspot.com/ use Mozilla Firefox:http://br.mozdev.org/firefox/