X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 565898B9D3B for ; Tue, 22 Feb 2005 19:32:29 +0000 (GMT) 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 81055-10 for ; Tue, 22 Feb 2005 19:32:23 +0000 (GMT) Received: from web41012.mail.yahoo.com (web41012.mail.yahoo.com [66.218.93.11]) by svr1.postgresql.org (Postfix) with SMTP id 8EB398B9BCD for ; Tue, 22 Feb 2005 19:32:23 +0000 (GMT) Received: (qmail 53956 invoked by uid 60001); 22 Feb 2005 19:32:21 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Qv5t1QpqxlXUodMUDaKSxNAqnLjOYBOFzYugNnNHtC9+1IHQbUrXNlRR/i/v+ZxAz77NzG5yv1gR9XZW5ERFDsWdEAwtw3+rarRROD1b8tcDzmXDdW8VXekxNOaBA1Nv8sJ0Vk5JGrruXPIrcKMrYI9CGIMYPuQISfXR9KZaryc= ; Message-ID: <20050222193221.53954.qmail@web41012.mail.yahoo.com> Received: from [151.204.106.102] by web41012.mail.yahoo.com via HTTP; Tue, 22 Feb 2005 11:32:21 PST Date: Tue, 22 Feb 2005 11:32:21 -0800 (PST) From: Theodore Petrosky Subject: Re: schemas and paths with the alter statement To: Tom Lane Cc: pgsql-sql@postgresql.org In-Reply-To: <11540.1109099765@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.254 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200502/251 X-Sequence-Number: 20362 Wow...in less than 5 minutes.... Thanks Ted --- Tom Lane wrote: > Theodore Petrosky writes: > > ALTER TABLE public.test ADD CONSTRAINT > public.test_PK > > PRIMARY KEY (test); > > Constraints don't have schema-qualified names. Try > > ALTER TABLE public.test ADD CONSTRAINT test_PK > PRIMARY KEY (test); > > The error message was pointing to the correct place > BTW. > > regards, tom lane > __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo