Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id BCEF06344EC for ; Tue, 10 Mar 2009 09:01:13 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 22467-04 for ; Tue, 10 Mar 2009 09:01:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f135.google.com (mail-qy0-f135.google.com [209.85.221.135]) by mail.postgresql.org (Postfix) with ESMTP id 78FBB6327B7 for ; Tue, 10 Mar 2009 09:00:18 -0300 (ADT) Received: by qyk41 with SMTP id 41so1551509qyk.15 for ; Tue, 10 Mar 2009 05:00:16 -0700 (PDT) Received: by 10.224.14.205 with SMTP id h13mr9039678qaa.203.1236686415973; Tue, 10 Mar 2009 05:00:15 -0700 (PDT) Received: from ?10.90.2.103? ([189.31.65.14]) by mx.google.com with ESMTPS id 30sm4547456yxk.42.2009.03.10.05.00.14 (version=SSLv3 cipher=RC4-MD5); Tue, 10 Mar 2009 05:00:15 -0700 (PDT) Subject: Re: Renaming sequence auto generated by SERIAL type don't update pg_attrdef From: "Dickson S. Guedes" To: Tom Lane Cc: pgsql-jdbc In-Reply-To: <20795.1236655715@sss.pgh.pa.us> References: <1236650119.6410.73.camel@guedes-laptop> <20795.1236655715@sss.pgh.pa.us> Content-Type: text/plain; charset=iso-8859-1 Organization: GuedeSoft Date: Tue, 10 Mar 2009 09:00:08 -0300 Message-Id: <1236686408.7858.17.camel@analise3.cresoltec.com.br> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/52 X-Sequence-Number: 19382 Em Seg, 2009-03-09 ās 23:28 -0400, Tom Lane escreveu: > But maybe it's only being used to check if the column > has a default, in which case the possible staleness of the string > value isn't important. Some Java programs (as DBVis and Aqua for example), are using it to get column default value, but are showing an old information after we rename the sequence. Regards, Dickson S. Guedes mail/xmpp: guedes@guedesoft.net - skype: guediz http://guedesoft.net - http://planeta.postgresql.org.br