X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7253CD8AF0 for ; Thu, 8 Sep 2005 19:04:32 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38217-10 for ; Thu, 8 Sep 2005 22:04:29 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 87917D8A73 for ; Thu, 8 Sep 2005 19:04:29 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j88M4SKK037927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 8 Sep 2005 16:04:30 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j88M4S2O054921; Thu, 8 Sep 2005 16:04:28 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j88M4RI4054920; Thu, 8 Sep 2005 16:04:27 -0600 (MDT) (envelope-from mfuhr) Date: Thu, 8 Sep 2005 16:04:27 -0600 From: Michael Fuhr To: =?iso-8859-1?Q?Jo=FFffffffffffe3o?= Carvalho Cc: pgsql-sql@postgresql.org Subject: Re: Statistics from Sequences Message-ID: <20050908220427.GA54848@winnie.fuhr.org> Reply-To: psql-sql@fuhr.org References: <20050907032648.GA10037@winnie.fuhr.org> <20050908212533.34273.qmail@web50601.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050908212533.34273.qmail@web50601.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 required=5 tests=[AWL=0.005] X-Spam-Level: X-Archive-Number: 200509/94 X-Sequence-Number: 22641 [Again, please copy the mailing list on replies so others can participate in and learn from the discussion.] On Thu, Sep 08, 2005 at 06:25:33PM -0300, Jo˙ffffffffffe3o Carvalho wrote: > There's one thing. If the sequence name was fooseq in uppercase > (FOOSEQ) it does not work. In that case it returns the error: ERROR: > relation "fooseq" does not exist. This isn't a sequence issue, it's an identifier issue. See "Why are my table and column names not recognized in my query?" in the FAQ and "Identifiers and Key Words" in the documentation: http://www.postgresql.org/docs/faqs.FAQ.html#4.20 http://www.postgresql.org/docs/8.0/static/sql-syntax.html#SQL-SYNTAX-IDENTIFIERS -- Michael Fuhr